Shorewall configuration help required
I have 2 dsl connections each connected to 2 different routers 10.0.0.1 and 10.0.0.2 and both the routers are connected to a switch , the second dsl connection was added recently, I have a linux firewall which uses shorewall which is also connected to the switch at 10.0.0.3 and the lan interface which is conneted to ay internal switch at 192.168.0.1. The users on the lan where using the 192.168.0.1 as thier gateway and dns. I have masq lan interface 192.168.0.1 to the net interface on 10.0.0.3 and also forwarded dns request to the internet to router 10.0.0.1.
Now I want my users to use the 10.0.0.2 for web browsing and I have installed a proxy server at 10.0.0.5:8118 and connected it to the switch. On the firewall I have set a rule
DNAT loc:eth1:192.168.0.0/24 net:10.0.0.5:8118 tcp 80 - !10.0.0.5
I cant browse any websites as an when I type the address the status shows done
Can any one guide me !!! Also how can I forward request to that 2 router without a proxy server.
|