Created
April 13, 2014 02:07
-
-
Save adrelanos/10565852 to your computer and use it in GitHub Desktop.
deactivate vpn firewall
This file contains 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 | |
set -x | |
iptables -F | |
iptables -X | |
iptables -t nat -F | |
iptables -t nat -X | |
iptables -t mangle -F | |
iptables -t mangle -X | |
iptables -P INPUT ACCEPT | |
iptables -P OUTPUT ACCEPT | |
iptables -P FORWARD ACCEPT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Create a file ~/home/user/deactivate_vpn_firewall.
Make it executable.
Run it.