how to limit VPN to only one IP?

Got a problem with Viscosity or need help? Ask here!


Posts: 1
Joined: Sun Aug 16, 2020 5:44 am

Post by dkremer » Sun Aug 16, 2020 5:48 am
The reason I'm using a VPN at all is to permit access to a special remote IP, for one user, for one application. Unfortunately, once I run Viscosity, it forces macOS to use the VPN for all IPs, for all users, for all applications.

I understand that I can limit a Viscosity connection to only use the VPN for a specific IP or IP range. However, there are no instructions for this, and all the online help I've found doesn't work.

What do I fill in for the attached Preferences menu?
Screen Shot 2020-08-15 at 12.45.49 PM.jpg
Screen Shot 2020-08-15 at 12.45.49 PM.jpg (171.88 KiB) Viewed 893 times


User avatar
Posts: 1994
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Mon Aug 17, 2020 10:37 pm
Hi dkremer,

The OpenVPN server you're connecting to is likely pushing the "redirect-gateway" command, which routes all network traffic into the VPN connection by default. You can find some information on how to ignore this on Viscosity's end (so your normal network connection will be used by default while connected) at: ... connection

You can then just route your desired destination IP address through the VPN connection. Documentation for using Viscosity's routing functionality can be found at: ... lications/

James Bekkema
Viscosity Developer

2 posts Page 1 of 1