firewall stop scriptje
This commit is contained in:
parent
be0b6b73bf
commit
3a5c6a4708
13
iptables-stop
Normal file
13
iptables-stop
Normal 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
|
Loading…
Reference in New Issue
Block a user