docs/iptables-stop

14 lines
193 B
Plaintext
Raw Normal View History

2018-03-22 20:33:22 +01:00
#!/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