Skip to content
Route only specified subnet to VPN
Got a problem with Viscosity or need help? Ask here!
Here's my setup.
Got a vpn server setup at the office so I can connect from home.
How can I setup viscosity to use vpn tunnel only for our office subnet?
Office private subnet is 192.168.1.0/24.
In other words, route everything to my default gateway (my router), except for 192.168.1.0/24?
Got a vpn server setup at the office so I can connect from home.
How can I setup viscosity to use vpn tunnel only for our office subnet?
Office private subnet is 192.168.1.0/24.
In other words, route everything to my default gateway (my router), except for 192.168.1.0/24?
Hi Per,
Please see the following article for details how to specify routes in Viscosity to use the VPN tunnel or normal network gateway:
http://www.sparklabs.com/support/kb/art ... lications/
If the OpenVPN server is pushing the "redirect-gateway" command all traffic will be using the VPN tunnel by default. You can either remove this command from being pushed to prevent this, or there are some posts on this forum discussing adding the "route-nopull" command to your Viscosity connection so it is ignored.
Cheers,
James
Please see the following article for details how to specify routes in Viscosity to use the VPN tunnel or normal network gateway:
http://www.sparklabs.com/support/kb/art ... lications/
If the OpenVPN server is pushing the "redirect-gateway" command all traffic will be using the VPN tunnel by default. You can either remove this command from being pushed to prevent this, or there are some posts on this forum discussing adding the "route-nopull" command to your Viscosity connection so it is ignored.
Cheers,
James
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
2 posts
Page 1 of 1