[Solved]Cannot connect to second LAN OpenVPN Peer-toPeer Shared



  • Hi All,

    I'm configuring Openvpn peer to peer as shown in the attachment, everything seem fine from Site A10.10.10.0 to Site B 172.16.25.0 but I still cant connect 10.10.10.0 from site to 172.16.30.0 at site B and vice versa. Is there any additional setting that I missed?



  • post your server and client configs



  • Server config  (172.16.25.0/24)

    Server Mode: Peer to Peer (Shared Key)
    Protocol  : UDP
    Device Mode : tun
    Local Port : 1196

    IPv4 Tunnel Network  : 10.0.10.0/24
    IPv4 Remote network(s)  : 10.10.10.0/24

    Client Config (10.10.10.0/24)
    Server Mode: Peer to Peer (Shared Key)
    Protocol  : UDP
    Device Mode : tun
    Server host or address : Site B Public IP
    Local Port : 1196

    IPv4 Tunnel Network  : 10.0.10.0/24
    IPv4 Remote network(s)  : 172.16.25.0/27, 172.16.30.0/26



  • Woopss.. suddenly the I able to ping to 172.16.30.0 local network. I dont know what have i done, as far as I know I change the IPv4 Remote network(s)  : 172.16.25.0/27, 172.16.30.0/26 to IPv4 Remote network(s)  : 172.16.25.0/24, 172.16.30.0/24.

    Thanks.



  • Yes, 172.16.30.0/26 and 172.16.30.0/24 are different networks.

    Glad it's working.