firewall stop scriptje

This commit is contained in:
G.J.C. Strikwerda 2018-03-22 20:33:22 +01:00
parent be0b6b73bf
commit 3a5c6a4708

13
iptables-stop Normal file
View File

@ -0,0 +1,13 @@
#!/bin/bash
# firewall stop scriptje
# reset all:
iptables -F
iptables -X
iptables -Z
# set policies wide-open:
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT