Created by Justin C 2017-12-21 View revision File shields-down.sh Added Side-by-side diff More Ignore whitespace Hide word diff +#!/bin/sh +echo "Flushing firewall rules..." +iptables -F +iptables -X +iptables -t nat -F +iptables -t nat -X +iptables -t mangle -F +iptables -t mangle -X +iptables -P INPUT ACCEPT +iptables -P FORWARD ACCEPT +iptables -P OUTPUT ACCEPT