Tricky routing attempt to send all traffic over OVPN Client
-
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.
-
@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.
-
@viragomann I tried that.
Then ran a tracert to google.com
Still exited via 172.16.101.1 >> 192.168.1.1
Thanks
-
@deanfourie
So there might be something other wrong in your OpenVPN client settings.
Post the configuration, please. -
@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