Re: Kill switch for firefox portable
You can set up a Kill Switch through Netsh commands... Altho I havent tried to figure it out yet because the way your doing it has always worked for me... (I use VMware not Portable Browsers).
In Linux with iptables rules it would look like this:
iptables -P INPUT DROP
iptables -P FORWARD DROP
iptables -P OUTPUT DROP
iptables -A INPUT -i lo -j ACCEPT
iptables -A INPUT -s 55.55.55.55 -j ACCEPT
iptables -A INPUT -i tun0 -j ACCEPT
iptables -A INPUT -j DROP
iptables -A OUTPUT -o lo -j ACCEPT
iptables -A OUTPUT -d 55.55.55.55 -j ACCEPT
iptables -A OUTPUT -o tun0 -j ACCEPT
iptables -A OUTPUT -j DROP
Where 55.55.55.55 = your VPN servers public IP address
You should be able to run and kill the Windows Netsh VPN Killswitch rules using a .bat file once you figure out how to structure the Netsh commands. (the rules will be the same as Linux just structured differently).
If I have time one of these days I'll figure it out and make a batch file to use.
Last edited by nate; 04-16-2018 at 10:20 AM.
|