Block traffic when Viscosity is connecting to the VPN?

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

bribri

Posts: 13
Joined: Fri Jan 11, 2019 6:57 am

Post by bribri » Fri Jan 11, 2019 7:05 am
My internet connection is somewhat unstable, which means that every now and then my connection to my VPN will drop and Viscosity will have to reconnect. While it's connecting any outgoing traffic is not tunneled. I'd much rather have all outgoing traffic be blocked / fail to connect while the VPN is reconnecting to ensure that all of my traffic is tunneled. Is there any way to accomplish that with Viscosity?

James

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

Post by James » Mon Jan 14, 2019 5:51 pm
Hi bribri,

Please refer to the following article for more information:
https://www.sparklabs.com/support/kb/ar ... fic-leaks/

If you’re concerned about traffic leaks during the connection process I’d recommend considering adding outbound firewall rules to block unencrypted traffic on your normal network interface (i.e. anything not to your VPN server’s IP and port). You can do this to macOS’s inbuilt firewall (using pf rules), or by using a third-party tool like LuLu or Little Snitch.

Cheers,
James
James Bekkema
Viscosity Developer

Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs

bribri

Posts: 13
Joined: Fri Jan 11, 2019 6:57 am

Post by bribri » Sat Jan 19, 2019 5:38 am
Thanks! That tells me what I need to know.
3 posts Page 1 of 1