Help on client-to-client server config

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • linuxisthebom
    Junior Member
    • Nov 2024
    • 2

    Help on client-to-client server config

    Below is my server configuration file for openvpn. I would like to see all my LAN IP Address remotely, just like how PPTP would setup IP Address's on VPN.

    mode server
    port 1194

    # TCP or UDP server?
    proto udp4
    ;proto tcp-server
    dev tun
    ca /etc/openvpn/servers/ca.crt
    cert /etc/openvpn/servers/server.crt
    key /etc/openvpn/servers/server.key # This file should be kept secret
    dh /etc/openvpn/keys/powerpc/dh2048.pem
    topology subnet
    server 10.10.1.0 255.255.255.0
    ifconfig-pool-persist ipp.txt
    ;push "route 192.168.143.0 255.255.255.0"
    ;client-config-dir ccd
    ;route 192.168.40.128 255.255.255.248
    push "redirect-gateway def1 bypass-dhcp"
    ;push "dhcp-option DNS 208.67.222.222"
    ;push "dhcp-option DNS 208.67.220.220"
    client-to-client
    push "route 10.10.1.0 255.255.255.0"
    ;ifconfig 10.10.1.2 255.255.255.0
    ;ifconfig-pool 192.168.0.70 192.168.0.100
    Last edited by linuxisthebom; 2024-11-08, 01:47 AM.
  • linuxisthebom
    Junior Member
    • Nov 2024
    • 2

    #2
    Below is my server configuration file for openvpn. I would like to see all my LAN IP Address remotely, just like how PPTP would setup IP Address's on VPN.

    mode server
    port 1194

    # TCP or UDP server?
    proto udp4
    ;proto tcp-server
    dev tun
    ca /etc/openvpn/servers/ca.crt
    cert /etc/openvpn/servers/server.crt
    key /etc/openvpn/servers/server.key # This file should be kept secret
    dh /etc/openvpn/keys/powerpc/dh2048.pem
    topology subnet
    server 10.10.1.0 255.255.255.0
    ifconfig-pool-persist ipp.txt
    ;push "route 192.168.143.0 255.255.255.0"
    ;client-config-dir ccd
    ;route 192.168.40.128 255.255.255.248
    push "redirect-gateway def1 bypass-dhcp"
    ;push "dhcp-option DNS 208.67.222.222"
    ;push "dhcp-option DNS 208.67.220.220"
    client-to-client
    ;ifconfig 10.10.1.2 255.255.255.0
    ;ifconfig-pool 192.168.0.70 192.168.0.100
    keepalive 10 120
    tls-auth /etc/openvpn/keys/powerpc/ta.key 0 # This file is secret
    cipher AES-256-GCM
    tun-mtu 1521
    user nobody
    group nobody
    persist-key
    persist-tun
    verb 3
    explicit-exit-notify 1

    Comment

    Working...
    😀
    😂
    🥰
    😘
    🤢
    😎
    😞
    😡
    👍
    👎