Created
January 28, 2016 09:38
-
-
Save bugyt/ecdc61ca9f1f25e155ee to your computer and use it in GitHub Desktop.
IPTABLES : Flush All Rules, Delete All Chains, and Accept All
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 | |
iptables -P INPUT ACCEPT | |
iptables -P FORWARD ACCEPT | |
iptables -P OUTPUT ACCEPT | |
echo "Flush All Rules, Delete All Chains, and Accept All [OK]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment