diff options
author | Jan Wagner <mail@jwagner.eu> | 2016-03-06 10:55:03 +0100 |
---|---|---|
committer | Jan Wagner <mail@jwagner.eu> | 2016-03-06 10:55:03 +0100 |
commit | 58eaf5383a31138af369e2fbe29fdff8b4857306 (patch) | |
tree | 50065ae7e80e37d1ea303c36b46b4d000e98910a /files/iptables/flush-iptables.sh | |
parent | a03e217233d19052cc24f51e8ed4efcd78c6aafd (diff) | |
parent | c8a035bfc03fabf4384f4e207571d2c81e028b65 (diff) | |
download | rpi2-gen-image-58eaf5383a31138af369e2fbe29fdff8b4857306.tar.gz rpi2-gen-image-58eaf5383a31138af369e2fbe29fdff8b4857306.tar.bz2 rpi2-gen-image-58eaf5383a31138af369e2fbe29fdff8b4857306.zip |
Merge branch 'master' of https://github.com/fpytloun/rpi2-gen-image into fpytloun-master
Diffstat (limited to 'files/iptables/flush-iptables.sh')
-rw-r--r-- | files/iptables/flush-iptables.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/files/iptables/flush-iptables.sh b/files/iptables/flush-iptables.sh new file mode 100644 index 0000000..6336455 --- /dev/null +++ b/files/iptables/flush-iptables.sh @@ -0,0 +1,10 @@ +#!/bin/sh +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 FORWARD ACCEPT +iptables -P OUTPUT ACCEPT |