minus-squareTorro@programming.devtolinux4noobs@programming.dev•How can I prevent my PC from connecting to the internet without a VPN connection?linkfedilinkEnglisharrow-up2arrow-down1·6 months agoiptables -I OUTPUT -o $NIC_IF ! -d $VPN_REMOTE -j DROP linkfedilink
iptables -I OUTPUT -o $NIC_IF ! -d $VPN_REMOTE -j DROP