Page 1 of 1

How to DON't route all traffic over VPN

Posted: Wed Jan 22, 2020 10:14 am
by planettt
Hello,

I'm using PiVPN as a VPN server and OpenVPN client on MacOSX.
By default all traffic is routed over VPN, but i don't want that. Was trying to read forums, search on internet but could not find a simple solution for that. All i found that i need to remove the line "redirect-gateway" from my client configuration file, but in my configuration file there is no such line :|

Any other suggestions?
Thank you.



Sample of my file:
Client config

client
dev tun
proto udp
remote my.server.address 11111
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
tls-version-min 1.2
verify-x309-name server_wsHHE4ZFVA4FU name
cipher AES-256-CBC
auth SHA256
auth-nocache
verb 3
<ca>
-----BEGIN CERTIFICATE-----
..

Re: How to DON't route all traffic over VPN

Posted: Mon Feb 17, 2020 11:57 pm
by Za didi!