Disclaimer: I have no experience with Linux or networking whatsoever.I want to block all non-vpn traffic on my Fedora 25 PC. That means, only my VPN provider's IPs should ever be allowed for any internet traffic. I also want to use only their DNS server.Is there a simple way to do this?
block all non-vpn traffic
linux;networking;fedora;iptables;vpn