vpnkillswitch-off 206 Bytes
Newer Older
Jay Ta'ala's avatar
Jay Ta'ala committed
1
2
3
#!/bin/bash

sudo ufw --force reset
4
sudo ufw enable
Jay Ta'ala's avatar
Jay Ta'ala committed
5
6
7
8
9
10
11

# 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