mmkkka 0 Posted ... Is it possible on Linux using OpenVPN to only allow VPN traffic and disallow non-VPN traffic, in case the VPN disconnects? Quote Share this post Link to post
zhang888 1066 Posted ... https://airvpn.org/faq/software_lock/https://airvpn.org/topic/16697-force-all-traffic-through-vpn-on-linux-killswitch/https://airvpn.org/topic/9139-prevent-leaks-with-linux-iptables/ 1 kipperflemming reacted to this Quote Hide zhang888's signature Hide all signatures Occasional moderator, sometimes BOFH. Opinions are my own, except when my wife disagrees. Share this post Link to post
mmkkka 0 Posted ... https://airvpn.org/faq/software_lock/https://airvpn.org/topic/16697-force-all-traffic-through-vpn-on-linux-killswitch/https://airvpn.org/topic/9139-prevent-leaks-with-linux-iptables/Thanks. I'm still not sure what exactly to do. I'm running the latest Debian stable and have never done anything with iptables. Your first link includes the iptables rules for a (hopefully) working firewall that will only allow VPN traffic, but how do I do this exactly? I have the iptables package installed, but I can't find an "iptables.dat" file to backup in case this would go wrong. I'm quite new to Linux so if you or anyone else could explain this to me step by step it would be a big help. Quote Share this post Link to post
mmkkka 0 Posted ... Ok, I think I found out how to do this. Unfortunately, it doesn't work. I've copy / pasted all the iptable rules from the first link and the internet stopped working completely until I restarted my PC. Any ideas? Quote Share this post Link to post