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

    Unable to connect to OpenVPN from within the LAN

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 3 Posters 502 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.
    • W
      worthmining
      last edited by

      I know this is not a must have, but I used to be able to connect OpenVPN on my pfsense 2.4.2 from LAN or from internet.  It's good to have this for testing.  I simply toggle my iphone's wifi switch between Wifi or LTE to connect to VPN.

      After I resintall the pfsense last night, and I'm pretty sure I copied over all the settings and reconfigured the OpenVPN, now I can connect from internet but within LAN the connection hit a wall.

      What are some of the settings that may prevent reaching to the OpenVPN from within the LAN.  I've looked all the firewall rules and found no clue.

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

        Set your OpenVPN server to listen on the LAN interface.
        Add a port forwarding of the OpenVPN protocol from WAN to LAN address.

        1 Reply Last reply Reply Quote 0
        • DerelictD
          Derelict LAYER 8 Netgate
          last edited by

          It's a VPN. Connect from the outside.

          When you connect from the inside from an address that is in the subnet that is supposed to be routed over the VPN it is not going to work.

          Chattanooga, Tennessee, USA
          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
          Do Not Chat For Help! NO_WAN_EGRESS(TM)

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