DO NOT Route all IPv4 traffic through the VPN

1,769 views
Skip to first unread message

thierry....@gmail.com

unread,
Jan 13, 2016, 9:02:48 AM1/13/16
to tunnelblick-discuss
Hi,
I want only requests to IPs within the VPN to be routed through the VPN. I would like all the rest of the traffic NOT to go through the slower VPN.

Although I UNCHECKED "Route all IPv4 traffic through the VPN", it seems that my regular http traffic still go through the VPN as my public IP on whatismyip.com is the VPN IP, not my local IP.

I read the help text in Tunnelblick:
When checked, a '--redirect-gateway def1' option is sent to OpenVPN, causing routing to be set up to route all IPv4 traffic through the VPN. If this is not checked, all IPv4 traffic may still be sent through the VPN because the OpenVPN configuration file may contain the option, or the option may be "pushed" from the VPN server

It states that although unchecked, the OpenVPN configuration file may contain the option and the traffic routed through the VPN.

How can I change this?
Not sure where this setup is made... 
Any guide?

Thanks!

jkbull...gmail.com

unread,
Jan 13, 2016, 9:18:50 AM1/13/16
to tunnelblick-discuss
You can look at the configuration file by selecting the configuration in the list on the left side of the "VPN Details" window, then clicking the little "gear" icon at the bottom of the list and clicking "Edit OpenVPN Configuration File" (or "Examine OpenVPN Configuration File", if the configuration is "Shared" instead of "Private").

If the file has "redirect-gateway", you can force OpenVPN to ignore it by putting a semicolon (";") character at the start of the line.

If the file doesn't have "redirect-gateway", the OpenVPN server must be "pushing" it to your computer. You will need to contact the person or organization that maintains the OpenVPN server. Some organizations require you to have everything go through the VPN for security reasons.

Note: you can only edit "Private" configurations, not "Shared" configurations, so to edit a Shared configuration you must change it to be Private, edit it, and then change it back to "Shared". You can change back and forth between Private and Shared using the corresponding command that is displayed when you click the little "gear" icon.
Reply all
Reply to author
Forward
0 new messages