mirror of https://github.com/bol-van/zapret/
committed by
GitHub
1 changed files with 12 additions and 0 deletions
@ -0,0 +1,12 @@ |
|||||
|
#!/bin/sh |
||||
|
echo "Flushing iptables rules..." |
||||
|
sleep 1 |
||||
|
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 |
||||
Loading…
Reference in new issue