Initial commit
This commit is contained in:
15
files/iptables/flush-ip6tables.sh
Normal file
15
files/iptables/flush-ip6tables.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
ip6tables -F
|
||||
ip6tables -X
|
||||
ip6tables -Z
|
||||
|
||||
for table in $(</proc/net/ip6_tables_names)
|
||||
do
|
||||
ip6tables -t \$table -F
|
||||
ip6tables -t \$table -X
|
||||
ip6tables -t \$table -Z
|
||||
done
|
||||
|
||||
ip6tables -P INPUT ACCEPT
|
||||
ip6tables -P OUTPUT ACCEPT
|
||||
ip6tables -P FORWARD ACCEPT
|
||||
Reference in New Issue
Block a user