On 07.03.2012 11:00, pplive wrote:
Dear Amos,
Finally I have solved the problem!
The thing is, when I redirect the http.alt packet from the switch, I
need to modify the dst mac address as the mac address of the squid3
machine.
After doing this, a simple command works as follows:
yeung@nodec1:/var/log/squid3$ sudo iptables -t nat -A PREROUTING -p
tcp --dport 8080 -j REDIRECT --to-port 3128
THanks a lot for your strong help!
Best,
Alex
Wow. What an obscure problem.
Thanks for the feedback about what the cause was.
Amos