|
broadband router behind a proxy/firewall
Hello
here is my project,
I have always have had a small Ethernet broadband router d-link, to share an cable internet connection. the cable modem is connected to the router wan port. then the lan port for each of the computer of the home network.
I would like do the following; I have set up squid with web filtering and i plan to setup iptables but how do I do to put it in front of the router, the router itself has a firewall.
the machine where I plan to install the proxy/firewall is using currently a Debian stable which has been running flawlessly for almost two years. never a problem.
I have thought maybe to put two network cards in the debian machine and do forwarding? from eth0 is an interface connected to the router and an interface connected to the cable modem.
will my debian machine have internet? or just do the forwarding... how to force the other machines to use the proxy..
the machine using Debian has apache. is it 'wise to set up a reverse proxy to accelerate the web server. a proxy and a reverse proxy on the same machine? is it a good thing to do?
thank you for your input.
|