![]() To do this, open a new terminal and enter: curl Activate the Kill Switchįirst, you need to get the IP address of the VPN server to which you are connected. Press Ctrl+X on your keyboard to save the changes and then enter y.įor now, you need to disable the UFW by entering: sudo ufw disableĬonnect to the VPN using the OpenVPN protocol. Now replace “ yes” with “ no” next to IPv6 as shown in the screenshot. To stop the firewall (UFW) from automatically creating IPv6 rules, you need to edit the file /etc/default/ufw. In case its output is 1, that means the IPv6 has been successfully disabled. To verify if the IPv6 is disabled, you can run the following command. ![]() Sudo echo '.disable_ipv6=1' | sudo tee -a /etc/nf Open the terminal and enter these commands: sudo echo '.disable_ipv6=1' | sudo tee -a /etc/nf If you are sure that your internet provider does not provide IPv6, you can skip this step. Install the UFW (Uncomplicated Firewall) by entering: sudo ufw enable 2. It is recommended to update the outdated packages on your system by running the sudo apt update & sudo apt upgrade command. ![]() In this setup, you’ll add rules to the firewall to halt the internet traffic when your VPN is disconnected either by you or accidentally. This guide is applicable to Debian-based Linux operating systems (Debian, Ubuntu, Mint, Kali, MX, Deepin, etc.) This tutorial explains how to set up an internet kill switch on a Linux operating system. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |