![]() If you are using OpenVPN and TUN as network adapter (you most probably are) then we call the network interface as tun0.Īllow outgoing traffic on tun0: sudo ufw allow out on tun0 from any to any Now we want to make it so there is an exception for VPN. sudo ufw default deny outgoingĭo this for incoming also: sudo ufw default deny incoming Now we are going to block all traffic on the computer. ) you'll need to resolve the URL to find IP address (since we are going to block DNS requests that don't go over VPN). ovpn for the PureVPN server you want to add find the IP address of the server you are connecting to. ![]() UFW is the default firewall in Ubuntu, so it is already installed, no need doing that, and should already be set to launch at startup. Ignore IP tables makes things complicated.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |