hi i have a linux box as a firewall and i would like to forward port
80 of my webserver.  my webserver is behind the firewall.  i've tried
adding the following rules pero it's not working:

/sbin/iptables -A FORWARD -i eth0 -d 192.168.0.234 -p tcp --dport 80 -j ACCEPT


/sbin/iptables -A PREROUTING -i eth0 -t nat -p tcp -d 202.133.195.150
--dport 80 -j DNAT -
-to-destination 192.168.0.234:80

i'll clarify that port 80 in the firewall is NOT used.  can you
someone help me please.... or share their iptables script sa
pag-foforward ng port 80?  thanks.

carlos
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to