Rozdiely pre scripts/shell/firewall/fw-universal.sh medzi verziami 2.16 a 2.17
| verzia 2.16, 2005/01/16 15:27:15 |
verzia 2.17, 2005/01/16 17:24:23 |
|
|
| # Licensed under terms of GNU General Public License. |
# Licensed under terms of GNU General Public License. |
| # All rights reserved. |
# All rights reserved. |
| # |
# |
| # $Platon: scripts/shell/firewall/fw-universal.sh,v 2.15 2005/01/16 12:13:32 rajo Exp $ |
# $Platon: scripts/shell/firewall/fw-universal.sh,v 2.16 2005/01/16 15:27:15 rajo Exp $ |
| # |
# |
| # Changelog: |
# Changelog: |
| # 2003-10-24 - created |
# 2003-10-24 - created |
| Riadok 125 remove_chains() |
|
| Riadok 125 remove_chains() |
|
| for table in filter nat mangle; do |
for table in filter nat mangle; do |
| $IPTABLES -t $table -F # clear all chains |
$IPTABLES -t $table -F # clear all chains |
| $IPTABLES -t $table -X # remove all chains |
$IPTABLES -t $table -X # remove all chains |
| |
$IPTABLES -t $table -Z # zero counts |
| done |
done |
| |
|
| } # }}} |
} # }}} |
Platon Group <platon@platon.sk> http://platon.sk/
|
|