I have a lan 192.168.45.0 with a default gw (where installed shorewall
and squid) 192.168.45.1
In shorewall I have classic zones: loc for client of lan and net for
internet.
In rules I added this (like in example):
REDIRECT loc 3128 tcp www
to redirect all connection request from clients to port 80 to my squid
on firewall.
Testing this configuration, if I request http://www.mozilla.org, I
receive this error from browser:
Invalid URL
and in the error message the url is "/" and not
"www.mozilla.org"
This is what I see in my squid access log:
1056298655.802 3 192.168.45.32 NONE/400 1090 GET / - NONE/- -
If I request www.google.com/linux, this is the squid access log:
1056298818.088 6 192.168.45.32 NONE/400 1100 GET /linux - NONE/- -
If I set in my browser proxy to 192.168.45.1:3128, Squid works well.
Where''s the error?
Thanks.
tarAnta