Created
December 8, 2017 16:33
-
-
Save paveljurca/6dd74024604e251d961d78a2c791b6ee to your computer and use it in GitHub Desktop.
iptables
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
iptables-save > ~/firewall_ipv4.txt | |
iptables -F | |
iptables -P INPUT ACCEPT | |
iptables -P FORWARD ACCEPT | |
iptables -P OUTPUT ACCEPT | |
# see also iptables-restore | |
#iptables-apply -t 10 ~/firewall_ipv4.xml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment