This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Always allow outgoing network connections through the VPN | |
sudo ufw allow out on tun0 | |
# When you connect to the VPN, run this command: it disables outgoing network traffic (but we had the exception for the VPN earlier) | |
sudo ufw default deny outgoing | |
# When you disconnect from the VPN, run this command to re-enable network traffic (make sure to close any devious programs ;) : | |
sudo ufw default allow outgoing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# (Following this guide pretty much: https://wiki.archlinux.org/index.php/Dm-crypt/Encrypting_an_entire_system#LVM_on_LUKS) | |
# This guide won't encrypt your boot partition, because it takes longer to setup, and the author sees 0 point in doing so. | |
# Check that we booted into UEFI mode | |
ls /sys/firmware/efi/efivars | |
# Get internet | |
wifi-menu | |
ping google.com |