Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

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

    Scheduled Pinned Locked Moved OpenVPN
    5 Posts 2 Posters 1.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      hazly92
      last edited by

      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?
      openvpnp2p.JPG
      openvpnp2p.JPG_thumb

      1 Reply Last reply Reply Quote 0
      • M
        marvosa
        last edited by

        post your server and client configs

        1 Reply Last reply Reply Quote 0
        • H
          hazly92
          last edited by

          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

          1 Reply Last reply Reply Quote 0
          • H
            hazly92
            last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • M
              marvosa
              last edited by

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

              Glad it's working.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.