Diff for scripts/shell/firewall/fw-off.sh between version 1.2 and 1.3
| version 1.2, 2006/08/09 11:50:19 |
version 1.3, 2026/11/05 22:09:17 |
|
|
| # 09/08/2006 - enhanced by Lubomir Host 'rajo' <rajo AT platon.sk> - simplification of rules removal |
# 09/08/2006 - enhanced by Lubomir Host 'rajo' <rajo AT platon.sk> - simplification of rules removal |
| # |
# |
| |
|
| # $Platon: scripts/shell/firewall/fw-off.sh,v 1.1 2003/08/03 14:11:32 nepto Exp $ |
# $Platon: scripts/shell/firewall/fw-off.sh,v 1.2 2006-08-09 11:50:19 rajo Exp $ |
| |
|
| IPTABLES="/sbin/iptables" |
# iptables is in /sbin or /usr/sbin depending on merged /usr |
| |
PATH=/sbin:/bin:/usr/sbin:/usr/bin |
| |
IPTABLES="iptables" |
| |
|
| for chain in INPUT OUTPUT FORWARD; do |
for chain in INPUT OUTPUT FORWARD; do |
| $IPTABLES -t filter -P $chain ACCEPT |
$IPTABLES -t filter -P $chain ACCEPT |
Platon Group <platon@platon.org> http://platon.org/
|
|