tags:

views:

11

answers:

0

The following entries are used to flush the iptable rules:

/sbin/iptables --policy INPUT ACCEPT

/sbin/iptables --policy OUTPUT ACCEPT

/sbin/iptables --policy FORWARD ACCEPT

/sbin/iptables -F

Is it possible to place the above in any file(/etc/iptables.rules) so that I can use

iptables-apply -t 60 /etc/iptables.rules

to avoid misconfiguration?.