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

    Accessing OpenVPN client from different LAN subnet.

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 3 Posters 504 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.
    • J
      JJ5588
      last edited by JJ5588

      I've setup an OpenVPN Server with the idea of being able to to 'locally' screenshare with family members. The clients can connect no problem, but I cannot seem to vnc or even ping their machines.

      LAN: 192.168.1.0/24
      OpenVPN Client net: 192.168.5.0/24

      The client gets an IP. I have a rule to allow specific LAN computers to access the entire client net. Do I need to add any specific push routes to the openvpn server configuration or something else?

      O V 2 Replies Last reply Reply Quote 0
      • O
        Owen82 @JJ5588
        last edited by

        @jj5588 Yes, i believe so. Did you see the OVPN doc on this?
        OpenVPN Docs (Find the section that applies to you, I think it is: "Including multiple machines on the client side when using a routed VPN (dev tun)")

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

          @jj5588
          Basically you can access any client by its virtual IP. However, you have to allow the access on the clients firewall.

          But for your purposes you can savely circumvent this with a masquerading rule on pfSense.

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