Re: Strange problem in Squid bridge box [SOS]

Nick Fedchik <nick-UvdXiu2sajOKBXSJ/[email protected]>
Newsgroups gmane.linux.network.bridge.ebtables.user
Message-ID <[email protected]>
Hello yalei,
Thursday, September 22, 2005, 4:37:03 PM, you wrote:

y> route add default 192.168.123.254 dev br0  ###192.168.123.254 is the router ip

y> ##tables config:
y> ebtables -t broute -A BROUTING -p IPv4 --ip-proto TCP
y> --ip-destination-port 80  -j redirect --redirect-target ACCEPT
Hmm, not sure about the line above. Does it match something?

y> iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 3128

y> ##Problem:
y> When I visiting any web site, I got a squid ERROR pages(Access Denied....).
y> Directly pointing a workstation at the squid port also get squid Error pages.
What is about inside of Squid logs?

y> If I remove ebtables and iptables rules like this iptable -t nat -F;ebtables -t nat -F;
y> Directly pointing a workstation at the squid port works fine.

-- 
Best regards, Nick Fedchik



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.