on How can I prevent my PC from connecting to the internet without a VPN connection? · c/linux4noobs · 1 pts · 2yiptables -I OUTPUT -o $NIC_IF ! -d $VPN_REMOTE -j DROP
iptables -I OUTPUT -o $NIC_IF ! -d $VPN_REMOTE -j DROP