How to redirect http port 80 from slackware gateway to redhat proxy
I have a small network (around 25 computers), that is connected to Internet through a gateway that is implemented on a Linux Slackware 10.
I wannt to use a proxy for limiting Internet access. So I bought a new computer on wich I wannt to install a Linux RedHat 9.0, and to use on it squid. Is this possible? And how? |
yes, you can do it... here's one way:
Code:
iptables -t nat -A PREROUTING -i $LAN_IFACE -p TCP --dport 3128 \ are you asking about a transparent setup?? if so, then it would probably look *somewhat* like this: Code:
iptables -P FORWARD DROP Code:
httpd_accel_host virtual |
All times are GMT -5. The time now is 02:59 AM. |