From: David T. T. M.D. <da...@su...> - 2006-01-10 20:28:27
|
Hi all, I have a server running Shorewall 3.0.4 with two network cards. One has = public ip 80.x.x.1 and the other 172.16.0.1. This server also has squid = proxy on port 3128. I have another server in the network, 172.16.0.100, which will run my ma= il and web server. My domain name resolves to 80.x.x.1 for external and LAN users. I would like to have all web traffic originating from the LAN to be tran= sparently routed to squid. Also, I need all trafic directed to 80.x.x.1 = and 172.16.0.1 ports 80 8383 25 110 to be directed to 172.16.0.100 Here are the firewall rules I have created: DNAT=09Net=09LAN:172.16.0.100 tcp=0980 DNAT=09Net=09LAN:172.16.0.100 tcp=098383 DNAT=09Net=09LAN:172.16.0.100 tcp=0925 DNAT=09Net=09LAN:172.16.0.100 tcp=09110 REDIRECT LAN 3128 tcp 80 - !172.16.0.1 Is this correct/do I need any additions=3F David. |