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

    [SOLVED] Can't connect to OpenVPN server from LAN, how to fix?

    OpenVPN
    2
    3
    680
    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
      PatPend
      last edited by

      I recently moved my OpenVPN server from a Raspberry Pi to pfSense.  Originally port 1194 was forwarded to the Pi and NAT reflection was enabled, so I could connect from the outside world or from inside the LAN.  This was handy since I could leave OpenVPN connected all the time, and everything worked whether I was home or away.  Now, with the pfSense OpenVPN server, it works fine from WAN connections but no longer works when I'm in the LAN.  I'm guessing NAT reflection isn't working here since the OpenVPN server is not truly NATted but bound to the WAN interface in pfSense.  I'm new to pfSense and firewall rules in general so not sure what to try next.  How can I get OpenVPN working from inside the LAN?

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

        • Change the OpenVPN server to listen on LAN address.

        • Forward port 1194 from WAN to LAN address with NAT reflection.

        Now, NAT reflection should work again.

        1 Reply Last reply Reply Quote 1
        • P
          PatPend
          last edited by

          Thanks viragomann!

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