vpnkillswitch-off 206 Bytes
Newer Older
Jay Ta'ala's avatar
Jay Ta'ala committed
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

sudo ufw --force reset

# delete back rules from reset
sudo rm /etc/ufw/*.rules.*

# reset to defaults and enable
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw enable