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

    OpenVPN client unable to reach LAN

    Scheduled Pinned Locked Moved OpenVPN
    5 Posts 3 Posters 650 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.
    • P
      paulnye
      last edited by

      I setup OpenVPN server, did the client export for windows, and was successfully able to connect from the client. I used this video as a reference - https://www.youtube.com/watch?v=PgielyUFGeQ
      However I am not able to ping devices on the LAN
      Here is the route print info...
      1c7f0be5-60e9-471d-94df-ce866c8afa26-image.png

      Here is ipconfig:

      4db11db3-9f03-43fd-b0a5-6937e2338627-image.png

      Whats strange is there is no 'gateway IP' for the OpenVPN adapter IP info
      Not sure if this is the cause, or if its normal

      V 1 Reply Last reply Reply Quote 0
      • V
        viragomann @paulnye
        last edited by

        @paulnye said in OpenVPN client unable to reach LAN:

        Whats strange is there is no 'gateway IP' for the OpenVPN adapter IP info

        The parameter is called "default gateway". None means nothing else than that there is no default gateway assigned to this network interface.
        If you only want to route the remotes LAN over the VPN, there is no default gateway necessary at all.

        Ensure that the remote devices allow access from outside of their local network. Probably you have to configure its firewall to allow it.

        Urbaman75U 1 Reply Last reply Reply Quote 0
        • Urbaman75U
          Urbaman75 @viragomann
          last edited by

          Hi

          I seem to have the same problem: can't access the devices on the subnetworks defined in openvpn server settings.

          Thing is, if I close and re-open the connection, sometimes the subnets are accessible, sometimes not... can't work out if it's a windows or a openvpn/pfsense problem...

          Urbaman75U 1 Reply Last reply Reply Quote 0
          • Urbaman75U
            Urbaman75 @Urbaman75
            last edited by

            Hi again,

            I actually resolved just (re)downlaoding the client configuration from pfsense. Don't know what actually changed from the previous one (I didn't change the server config in a substantial way, and the connection worked out, just the subnetworks/vlans were unreachable), but this is working perfeclty.

            Thank you.

            1 Reply Last reply Reply Quote 0
            • P
              paulnye
              last edited by

              Solved it, and now I can ping LAN IPs and do RDP etc. It was the devices on my LAN were not using the pfsense IP as their gateway, but a different gateway device. I didnt think all the target devices on the inside of the network needed the pfsence box as their gateway. It makes sence now.
              Also, a gateway IP is still not present for the openVPN connection, but connection to LAN devices and to the internet is working normally despite this.

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