Wysłany: Pon Wrz 23, 2002 9:49 am Temat postu:
--------------------------------------------------------------------------------
!/bin/sh
#
# User startup/shutdown and firewall script.
. /etc/system.cfg
. /etc/live.cfg
. /etc/chat.pwd
if [ "$1" = firewall ]; then
# Add your custom firewall rules here. Warning, incorrect rules could
# leave your system insecure. $INET always represents the internet
# interface. These rules come before standard system rules. Example:
# reject incomming tcp connections to port 22 from the internet and log
#ipfwadm -I -a reject -P tcp -W $INET -D 0.0.0.0/0 22 -y -o
ipautofw -A -r tcp 1500 1600 -h 192.168.0.2
Twoje regułki powinny byc tu a nie na koncu, i zdecyduj się albo -i albo -a
(to dla porządku.
podeslij jeszcze plik wydruk i /mnt/router/rc/rc_user . by nie zasmiecac grupy na moj adres . zapuszce u siebie i zobacze.
Jescze jedno, co to jest i co robi ?
ipportfw -A -t 213.25.52.143/1550 -R 217.17.41.82:8074/1550
masz w lokalnej sieci 217.17.41.82?
217.17.41.82:8074/1550 taki zapis jest bledny !!
Jesli już to:
217.17.41.82/1550
bo to moze generowac blad i konczyc dzialanie skryptu !!! A twoje reguly są dalej

(((