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

    OpenVPN peer to peer shared key not pushing local network

    OpenVPN
    5
    6
    2.3k
    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.
    • Q
      QRBSAdmin
      last edited by

      Hello,

      I am perplexed, I have an OpenVPN server in our office doing a peer to peer shared key with 2 remote offices joining, I used to be able to see the remote internal IP's for file sharing and RDP but first one stopped working and then the other… There are no errors and they show connected in the OpenVPN status, firewall is set on the OpenVPN tab.

      I reinstalled one of the offices from a saved config file from when it was all good and did the same with the local office server. everything look fine to me but I cant access local IP's...

      Local office 192.168.63.0/24
      1 remote 10.0.0.0/24
      2 remote 192.168.1.0/24

      I've uploaded screen shots of the server and one client...

      Any help is appreciated.
      server.jpg
      server.jpg_thumb
      clientTO.jpg_thumb
      clientTO.jpg

      1 Reply Last reply Reply Quote 0
      • P
        phil.davis
        last edited by

        Server is listening on port 1195, client is connecting to port 1196
        Server tunnel network is 10.0.8.0/24, client tunnel network is 10.0.9.0/24
        Those mismatches stand out for a start - I can't see how it would even connect like this.

        As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
        If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

        1 Reply Last reply Reply Quote 0
        • Q
          QRBSAdmin
          last edited by

          I have 2 client locations and 2 servers, there they match now.

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

            Post network map.

            Post the server.conf from server and client.conf from client.

            Post firewall rules from openvpn tab on both sides.

            1 Reply Last reply Reply Quote 0
            • C
              cmb
              last edited by

              your shared keys shouldn't have that "openvpn –genkey" line at the top. It's probably ignoring it if it shows status as connected but should be removed regardless.

              1 Reply Last reply Reply Quote 0
              • K
                keysers0ze
                last edited by

                • U cannot 'push' settings to client over peer-to-peer vpn.

                • If you want have routes over openvpn -> use ospf (more than 1 network wich is configured on openvpn settings.. or use 'redirect-gateway def1' to route all traffic via tun)

                br.
                .k

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