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

    Open VPN over cell connection - should web traffic work?

    OpenVPN
    3
    5
    892
    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.
    • R
      richtj99
      last edited by

      Hi,

      i am using OpenVPN & thanks to this forum it works great.  The only issue I have is that web traffic seems not to work over my Verizon LTE Nexus when dialed into the VPN.

      I am able to access my home network (VPN) devices, but not anything external.  Is there a setting or something I need to do?  A dns or something that might not be correct?

      THanks,
      Rich

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        Well are you setting default gateway out your vpn?  Ie forcing traffic down the vpn?  I take it you mean internet still works when your on your vpn, just that your not going through the vpn and your ip shows up as your cell IP.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

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

          In my openVpn settings i do not have "Redirect Gateway Force all client generated traffic through the tunnel." checked.  I believe everything as left as defaults.

          While using cell phones:

          I do not have any internet access when connected to the VPN beyond anything internal on my home network.  So I can view internal webservers & other internal services but noting external.

          So if I am connected via VPN & want to browse reddit, imjur or facebook it wont load, if I disconnect the VPN it works fine - but of course I lose my internal items.

          Thanks,
          Rich

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            Why would your phone use your vpn connection for internet, if only route you gave it was your home network.

            So on my phone using the openvpn connect app, I just set the config to direct default gateway out the vpn.. So attached you will see on my phone going to internet my IP is 17.52.x.x, I then connect to my vpn.  And now my phone shows me my IP of my home connection that I vpn'd too.

            If you want your vpn client to use the vpn for "internet' then you have to tell the vpn client to use that as its default gateway.  Or its just going to use that connection to get to networks that you told it were on the other side via the route statements you sent it.

            internetvpn.png
            internetvpn.png_thumb

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.7.2, 24.11

            1 Reply Last reply Reply Quote 0
            • A
              AndrewZ
              last edited by

              One more thing to mention - if you assign your VPN clients IPs from subnet which is different from your LAN - you will need a separate NAT rule to allow this traffic to leave your pfSense box.

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