iptables 초기화

Oct 1, 2016



Rule Save

iptables-save > /etc/sysconfig/iptables

Rule Reset

iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -t nat -F
iptables -t mangle -F
iptables -F
iptables -X

Rule Load

iptables-restore < /etc/sysconfig/iptables