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

    OpenVPN accessing LAN systems

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 863 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.
    • B
      border
      last edited by

      Hi,

      Many discussions on this topic (how to access LAN systems through OpenVPN) but no clear step-by-step guide. Unfortunately none of the discussions provides a solution.

      What I would like to achieve is that my pfSense box runs an OpenVPN server through which road warriors can connect and have access to the LAN systems. While setting up the OpenVPN server works and accessing the pfSense box is possible, none of the LAN systems can be reached.

      Current settings:

      • OpenVPN is running (tun device) on tunnel network 10.0.8.0/24
      • IPv4 Local network is set to 192.168.2.0/24 (the LAN)
      • custom option: push "route 192.168.2.0 255.255.255.0"

      In the Firewall -> NAT -> Outbound:

      • WAN 127.0.0.0/8 192.168.2.0/24 10.0.8.0/24 * * 500 WAN address * Auto created rule for ISAKMP
      • WAN 127.0.0.0/8 192.168.2.0/24 10.0.8.0/24 * * * WAN address * Auto created rule

      Would be great to get this working so if anybody has a pointer to a step-by-step guide that would be very helpful!

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

        That's a straight forward setup with the wizard and should work out of the box.
        If it doesn't, there is mostly something other divergent in the network setup.
        So the questions to be asked here are also always the same:

        How have you tried to reach the LAN devices?

        Is the pfSense the default gateway in the LAN?

        Do computers firewalls block the access?

        1 Reply Last reply Reply Quote 0
        • B
          border
          last edited by

          Hi,

          Thanks for the reply.

          You are correct: it does work out of the box. T

          he probleem seems to be just ONE system (and that happened to be the one I was using as a reference to check if it works) that cannot be reached. I will further investigate the problem with this one system but it is probably not of interest to the community what the problem is so we can close this thread.

          regards.

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