[CentOS] centos5 iptables expert needed

Tue Aug 28 20:48:56 UTC 2007
Jagi Sarcilla <jagi_sarcilla at hotmail.com>

/sbin/iptables -t nat -A PREROUTING -p tcp -i eth0     -d 192.168.0.1 --destination-port 80 -j DNAT --to 192.168.0.2:80/sbin/iptables -A FORWARD -p tcp -i eth0 -d 192.168.0.2 --destination-port 80 -j ACCEPT> From: dmehler26 at woh.rr.com> To: centos at centos.org> Date: Tue, 28 Aug 2007 12:27:08 -0400> Subject: [CentOS] centos5 iptables expert needed> > Hello,>     I'm setting up a centos5 router for a friend. It will direct traffic to > an internal webserver, already in place, as well as run squid proxy. It > should do nat and have a firewall with iptables. I've set up routers before > for this purpose but always of the bsd type and using their firewalls. I > understand the concepts, nat, packet filtering, etc. but i'm not getting > iptales at all. If anyone is an expert on this i'd appreciate hearing from > you. I have what are probably basic questions, i've read the docs, but i am > lost.> Thanks.> Dave.> > _______________________________________________> CentOS mailing list> CentOS at centos.org> http://lists.centos.org/mailman/listinfo/centos
_________________________________________________________________
Did you know you can now customize your mailbox with different colours to suit your mood with Windows Live Hotmail?
http://get.live.com/mail/features
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20070828/f4d4fe12/attachment-0004.html>