How to DON't route all traffic over VPN

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
planettt
OpenVpn Newbie
Posts: 2
Joined: Wed Jan 22, 2020 9:38 am

How to DON't route all traffic over VPN

Post by planettt » Wed Jan 22, 2020 10:14 am

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-----
..
Last edited by Pippin on Tue Feb 18, 2020 1:57 pm, edited 2 times in total.
Reason: Formatting

Za didi!
OpenVpn Newbie
Posts: 3
Joined: Mon Feb 17, 2020 11:57 pm

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

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


Post Reply