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

    Pfsense openvpn lan access no wan (internet) access

    OpenVPN
    4
    5
    3626
    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.
    • G
      glstud
      last edited by

      I can't figure out what's wrong here - I've used the wizard to create an openvpn server and firewall rules.  I can access my lan just fine but no wan (internet) access.  I've checked the box to redirect all traffic to the tunnel from the client which seems to be the issue.  It works without this checked of course.  Any thoughts as to what is going on?

      1 Reply Last reply Reply Quote 0
      • P
        phil.davis
        last edited by

        I am assuming you are connecting from an outside "road warrior" client to the OpenVPN server on the pfSense. You see the LAN behind the pfSense fine. Now you want your general internet access to go from the outside client, across the OpenVPN link to pfSense, then out to the internet. For that, the traffic coming off the OpenVPN server end and going to WAN and thus to the internet will need to have NAT applied (otherwise it will go out with the source IP of some internal private OpenVPN tunnel IP).
        I think you need to enable Manual Outbound NAT and add rules to NAT traffic - source OpenVPN tunnel subnet, destination !LANnet, NAT to WANaddress.

        As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
        If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

        1 Reply Last reply Reply Quote 0
        • G
          glstud
          last edited by

          OF COURSE!!!! I enabled AON a few months ago and forgot!  Adding the outbound NAT rule fixed the issue.  THANK YOU!

          1 Reply Last reply Reply Quote 0
          • R
            robtj26
            last edited by robtj26

            I have this issue, but I have created an Outbound NAT rule for the VPN. I still cannot access the internet. I'm sure I the issue is right in my face, but can't seem to figure it out. Any assistance is greatly appreciated.

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

              Please create a new thread for your issue. This one is 5 years old.

              Chattanooga, Tennessee, USA
              The pfSense Book is free of charge!
              DO NOT set a source 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