foward all request for one web page through tranparent proxy
"Jacob D. Myers" <[email protected]> Sun, 23 Sep 2007 15:12:04 -0500
| Newsgroups | gmane.linux.network.bridge.ebtables.user |
|---|---|
| Message-ID | <[email protected]> |
Hello all, I have set up a script to create a transparent proxy using ebtables: ifconfig eth0 0.0.0.0 promisc up ifconfig eth1 0.0.0.0 promisc up brctl addbr br0 brctl addif br0 eth0 brctl addif br0 eth1 ifconfig br0 10.0.75.2 netmask 255.255.255.0 up route add default gw 10.0.75.1 dev br0 ebtables -t broute -A BROUTING -p IPv4 --ip-protocol 6 --ip-destination-port 80 -j redirect --redirect-target ACCEPT iptables -t nat -A PREROUTING -i br0 -p tcp --dport 80 -j REDIRECT --to-port 3128 For some reason, squid always messes up a webpage that my users are trying to get to. I just want to add a line before the redirect to make the machine pass all requests for www.fnams.com straight through without being redirected to squid. Can anyone help me with this? Thank you, Jacob D Myers ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/