added fireback.sh script

This commit is contained in:
jules 2020-11-01 12:30:35 +01:00
parent c8d6386dd4
commit 6ed1d68852

10
scripts/fireback.sh Normal file
View File

@ -0,0 +1,10 @@
#!/bin/sh
/sbin/iptables -X
/sbin/iptables -t nat -F
/sbin/iptables -t nat -X
/sbin/iptables -t mangle -F
/sbin/iptables -t mangle -X
/sbin/iptables -P INPUT ACCEPT
/sbin/iptables -P FORWARD ACCEPT
/sbin/iptables -P OUTPUT ACCEPT