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

    Tricky routing attempt to send all traffic over OVPN Client

    Scheduled Pinned Locked Moved OpenVPN
    5 Posts 2 Posters 753 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.
    • D
      deanfourie
      last edited by

      So, i'm banging my head hard against my keyboard and its starting to hurt!

      I am trying to send ALL WAN traffic through my OVPN Cloud Client connection. What I have.

      I have a active OVPN Cloud client connection to my OVPN cloud connector. I have enabled Split Tunnel on the cloud connector and have Internet Access (Egress) enabled. My issue is this.

      I am using a 4G Router as my primary internet connection. This router does not support bridged mode so is setup as a upstream gateway.

      INTERNET >> 4GRouter 192.168.1.1 >> pfSense WAN 192.168.1.2

      172.16.101.0/24 pfSense LAN

      I am trying to route all my external WAN traffic from LAN (172.16.101.0/24) through my OVPN Client tunnel.

      I have created a new interface binding for the OVPN client. I now have a WAN, LAN, and OVPN interface.

      I have tried to set System >> Routing >> Default Gateway >> Default Gateway IPV4 to the OVPN interface, however because this interface does not actually have "internet" and the upstream gateway is still required for actual internet access, the OVPN gateway goes offline.

      Basically, I need to somehow direct all traffic from LAN to 0.0.0.0/0 to my OVPN gateway. I also cant seem to add a next hop static route like this one.

      Is this possible? It seems like all other information out there are more related to OVPN in the server sense rather then the client sense, so they don't help me much.

      How can I direct all my outbound traffic through the OVPN interface?

      Thanks in advance.

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

        @deanfourie said in Tricky routing attempt to send all traffic over OVPN Client:

        I have enabled Split Tunnel on the cloud connector

        Why?

        I am trying to route all my external WAN traffic from LAN (172.16.101.0/24) through my OVPN Client tunnel.

        So enter "0.0.0.0/0" into the clients "Remote Networks" box.

        D 1 Reply Last reply Reply Quote 0
        • D
          deanfourie @viragomann
          last edited by

          @viragomann I tried that.

          Then ran a tracert to google.com

          Still exited via 172.16.101.1 >> 192.168.1.1

          Thanks

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

            @deanfourie
            So there might be something other wrong in your OpenVPN client settings.
            Post the configuration, please.

            D 1 Reply Last reply Reply Quote 0
            • D
              deanfourie @viragomann
              last edited by

              @viragomann sorry how do I do that? How do I get to the configuration file?

              Basically, when doing a whatmyip, I want a WAN address of my VPN endpoint, not my actual IP address at home.

              Also, I would expect to see the VPN route reflected in a tracert if I'm not mistaken.

              Thanks

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