docs/iptables-stop

14 lines
193 B
Bash

#!/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