Quote:
Originally Posted by abiye
Hi guys hope soemone can help me with this. I want to put a firewall that does NAT and also acts as a proxy. Behind the firewall I have two servers. an exchange server and a webserver.These are the two i want to nat for. I also want to have internet access 4 the other machines on my LAN. Problem is since squid uses port 80 as well as my webserver how do i split the traffic going to the web sever and the one to my lan? Here is the firewall script I have written so far.
|
You clients can access your webserver via its LAN ip & the issue of differentiating packets b/w squid & webserver (both dport 80) can be sorted out with
-source ! LAN &
-source LAN for the above conditions.