Traffic not flowing through openvpn connection
-
Hi,
I want to be able to remotely connect to my openvpn server and have the traffic forwarded to the internet. I.e. when I want to do internet banking in some untrusted vacation location, I connect to my openvpn server running on my pfsense router.
I went through these steps:
-
I used the wizard to create the openvpn server. pfSense tells my its status is running and I can detect the port as open with an nmap scan from the outside.
-
I exported the client installer from within pfSense(in "Client Export" tab)
-
I ran the exported file from the previous step in a local windows VM
-
I successfully created a connection from the VM to the openvpn server on the external ip address, no issues here.
The problem is, that the vpn connection in the VM shows up "alongside" the usual lan connection and all browser traffic is sent through the lan connection instead of through the vpn connection.
What am I doing wrong?
Thx -
-
I added the custom option "redirect-gateway def1;" to OpenVPN -> Client Export Utility -> Additional configuration options(see screenshot)
Now it seems to be working just fine. Need more testing though.
-