I am redirecting packets on the router to squid-box by changing the destination MAC address and destination IP and port address. I am able to see the packets reaching the squid-box and in squid log I am seeing many
On Friday 27 January 2017 at 05:17:28, John Pearson wrote:
> hi all, my current setup: laptop(10.0.1.10) and squid-box(10.0.1.11) and
> debian router(10.0.1.1).
> I am doing wget on laptop
> wget squid-cache.org
> I am redirecting packets on the router to squid-box by changing the
> destination MAC address
Well, that's a novel way of doing policy routiong...
> and destination IP and port address.
> I am able to see the packets reaching the squid-box and in squid log I am
> seeing many
> 10.0.1.11 TCP_MISS/503 47502 GET http://squid-cache.org/ - ORIGINAL_DST/
> 10.0.1.11 text/html
> The log stream is really fast. All I see on laptop is “HTTP request sent,
> awaiting response …" Any advice? thanks!
Yes, do NOT change the destination IP address on ANY machine except the one
which Squid is running on.