Hi,

I've set-up LRP on a sysem.. All the routing is ok when I don't run
firewalling rules. But when I run firewalling rules nobody could use
internet anymore what'swrong with these rules?

I am including rules below..

#
# Firewall Rules  1999
# LM: 15/03/99
#
#
# By default DENY all services
ipfwadm -F -p deny

# Flush all commands
ipfwadm -F -f
ipfwadm -I -f
ipfwadm -O -f

# Forward email to mail server
ipfwadm -F -a accept -b -P tcp -S 0.0.0.0/0 1024:65535 -D X.X.X.253 25

# Forward email connections to outside email servers
ipfwadm -F -a accept -b -P tcp -S X.X.X.253 25 -D 0.0.0.0/0 1024:65535

# Forward Web connections to your Web Server
ipfwadm -F -a accept -b -P tcp -S 0.0.0.0/0 1024:65535 -D X.X.X.253 80

# Forward Web connections to outside Web Server
ipfwadm -F -a accept -b -P tcp -S X.X.X.* 80 -D 0.0.0.0/0 1024:65535

# Forward DNS traffic
ipfwadm -F -a accept -b -P udp -S 0.0.0.0/0 53 -D X.X.X.0/24


# Flush the current accounting rules
ipfwadm -A -f

# Accounting
ipfwadm -A -f
ipfwadm -A out -i -S X.X.X.0/24 -D 0.0.0.0/0
ipfwadm -A out -i -S 0.0.0.0/0 -D X.X.X.0/24
ipfwadm -A in -i -S X.X.X.0/24 -D 0.0.0.0/0
ipfwadm -A in -i -S 0.0.0.0/0 -D X.X.X.0/24

+----------------------------------------------------
Kerem ERSOY / Genel Mudur
Sibernet Bilgi Islem Otomasyon ve Danismanlik Ltd. Sti.
And sokak 8/1 Cankaya Ankara Turkiye 06680
tel : +90-312-4670198 (pbx)      fax: +90-312-4670199

http://www.sibernet.com.tr/
e-mail: [EMAIL PROTECTED]


-
[To unsubscribe, send mail to [EMAIL PROTECTED] with
"unsubscribe firewalls" in the body of the message.]

Reply via email to