Diff for scripts/shell/firewall/fw-universal.sh between version 2.8 and 2.9
version 2.8, 2005/01/04 19:57:14 |
version 2.9, 2005/01/04 19:58:42 |
|
|
# 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.7 2005/01/02 13:31:46 rajo Exp $ |
# $Platon: scripts/shell/firewall/fw-universal.sh,v 2.8 2005/01/04 19:57:14 rajo Exp $ |
# |
# |
# Changelog: |
# Changelog: |
# 2004-11-14 - created |
# 2004-11-14 - created |
|
|
for iface in $IFACE_ACCEPT_ALL; do |
for iface in $IFACE_ACCEPT_ALL; do |
echo -en " $iface" |
echo -en " $iface" |
$IPTABLES -A INPUT -i $iface -j ACCEPT |
$IPTABLES -A INPUT -i $iface -j ACCEPT |
$IPTABLES -A OUTPUT -i $iface -j ACCEPT |
|
$IPTABLES -A FORWARD -i $iface -j ACCEPT |
$IPTABLES -A FORWARD -i $iface -j ACCEPT |
|
$IPTABLES -A OUTPUT -o $iface -j ACCEPT |
done |
done |
echo " done." |
echo " done." |
fi |
fi |
Platon Group <platon@platon.org> http://platon.org/
|
|