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

    Need a How-To

    Scheduled Pinned Locked Moved OpenVPN
    8 Posts 3 Posters 2.4k 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.
    • imWACCoI
      imWACCo
      last edited by

      I need the Coffee Shop thing… I don't even know what to call it.

      Device –> openVPN --> WWW/internet/WAN

      When I'm out and about, if I get online with unsecured WiFi, I what a [tunnel?] secure connection to the home network that will put me thru to the WAN (and only that)

      <$signature>

      1 Reply Last reply Reply Quote 0
      • imWACCoI
        imWACCo
        last edited by

        P.S. What I have

        Latest pfSense (on a Dual 1.8Mhz, 2Gb RAM, 60Gb HDD)
        60down/10up with 5 static IPs (only using one right now)
        1 Domain name
        3 NIC
        Assorted systems that I can add for server and what not.

        <$signature>

        1 Reply Last reply Reply Quote 0
        • M
          marvosa
          last edited by

          What you want to configure is a full tunnel OpenVPN Remote Access Server.  Here is a link to the wiki:

          https://doc.pfsense.org/index.php/OpenVPN_Remote_Access_Server

          When you're going through the wizard, just verify that the "Redirect Gateway" box is checked.

          1 Reply Last reply Reply Quote 0
          • imWACCoI
            imWACCo
            last edited by

            Ok, I've read that, and quite a few other things for the last two hours. I don't see where it's pushing it back out the WAN, stopping it from logging into pfSense, or blocking the LAN

            <$signature>

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

              When you check the redirect gateway you will push a default gateway to the mobile client causing all internet traffic from that host to be sent up the VPN. From there it will hit the routing table and be sent out WAN. If you have automatic outbound NAT enabled it should all just work.

              Connect to the OpenVPN from an outside location, go to www.wimi.com and it should look like you're browsing from home.

              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
              • imWACCoI
                imWACCo
                last edited by

                @Derelict:

                From there it will hit the routing table and be sent out WAN.

                So, I need to set this up in the routing table also?

                <$signature>

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

                  No. In general it should work as long as you have automatic outbound NAT enabled.

                  Is something not working?

                  If not, post your config.

                  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
                  • imWACCoI
                    imWACCo
                    last edited by

                    @Derelict:

                    Is something not working?

                    No, I just want to understand the settings before I implement them. I've had to Restore-To-Default once because of the major update to Snort, and me not understanding settings.

                    <$signature>

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