Last active
August 12, 2018 13:48
-
-
Save Swipe650/8f412e6906bfb1cd0a72c481d6df2bbb to your computer and use it in GitHub Desktop.
Disable VPN kill switch
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
#!/bin/bash | |
sudo ufw reset | |
sudo ufw default deny incoming | |
sudo ufw default allow outgoing | |
sudo ufw allow 1714:1764/udp | |
sudo ufw allow 1714:1764/tcp | |
sudo ufw allow 22/tcp | |
sudo ufw allow in 139,445/tcp | |
sudo ufw allow in 137,138/tcp | |
sudo ufw allow in 5556/tcp | |
sudo ufw allow in 5558/tcp | |
sudo ufw enable | |
if [ -e /home/swipe/.conky/fwon.png ] | |
then | |
mv /home/swipe/.conky/fwon.png /home/swipe/.conky/fwoff.png | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment