Page 1 of 1

Block traffic when Viscosity is connecting to the VPN?

Posted: Fri Jan 11, 2019 7:05 am
by bribri
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?

Re: Block traffic when Viscosity is connecting to the VPN?

Posted: Mon Jan 14, 2019 5:51 pm
by James
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

Re: Block traffic when Viscosity is connecting to the VPN?

Posted: Sat Jan 19, 2019 5:38 am
by bribri
Thanks! That tells me what I need to know.