flushing and deleting chains when shut corrected
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_iptables@5948 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
parent
42b9518200
commit
0078819fec
|
@ -389,8 +389,12 @@ if [ -f "$CFGFILE" ]; then
|
|||
evaluate_retval
|
||||
;;
|
||||
stop)
|
||||
for i in filter nat mangle raw; do
|
||||
$DEBUG $IPTABLES -t $i -F
|
||||
$DEBUG $IPTABLES -t $i -X
|
||||
done
|
||||
|
||||
for i in INPUT FORWARD OUTPUT; do
|
||||
$DEBUG $IPTABLES -F $i
|
||||
$DEBUG $IPTABLES -P $i ACCEPT
|
||||
done
|
||||
if [ "$ACCOUNTING" == "yes" ]; then
|
||||
|
|
Loading…
Reference in New Issue
Block a user