Re: [squid-users] setup problem : squid-2.5.STABLE1-20021215 on a multi homed linux 2.4.18 box.

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 21 Dec 2002 22:20:31 +0100

NAT sometimes can have unexpected effects. Try disabling your iptables
ruleset for a short period to see if your problem is from iptables or
from Squid.

Note: squidclient really expects a full URL, not only a hostname. But
in any event you should receive a response from Squid.

Squid has absolutely no opinion of what is your "inside" or "outside"
lan. To Squid all is just IP addresses somewhere on the network.

Regards
Henrik

On Saturday 21 December 2002 16.55, SCOTT LAUDER wrote:
> I'm using squid-2.5.STABLE1-20021215 on a multi homed linux 2.4.18
> box.
>
>
> Works fine for inside the local lan, but not able use from outside
> the lan.
>
> ./squidclient -h myname.com -p 3128 w3.org
>
> just hangs until ctrl-c.
>
> I do have iptables installed too (for nat), but don't see that as a
> problem.
>
> Squid.config is simple now.
>
> scott@scott:/etc$ cat /usr/local/squid/etc/squid.conf
> http_port 3128
> icp_port 0
> acl QUERY urlpath_regex cgi-bin \?
> no_cache deny QUERY
> cache_mem 16 MB
> redirect_rewrites_host_header off
> replacement_policy GDSF
> acl myothernet2 src 12.39.0.0/255.255.0.0
> acl myothernet src 64.23.0.0/255.255.0.0
> acl localnet src 192.168.10.0/255.255.255.0
> acl localhost src 127.0.0.1/255.255.255.255
> acl Safe_ports port 80 443 210 119 70 21 1025-65535
> acl CONNECT method CONNECT
> acl all src 0.0.0.0/0.0.0.0
> http_access allow myothernet2
> http_access allow myothernet
> http_access allow localnet
> http_access allow localhost
> http_access deny !Safe_ports
> http_access deny CONNECT
> http_access deny all
> cache_effective_user squid
> cache_effective_group squid
> log_icp_queries off
> buffered_logs on
>
>
>
> Thanks,
>
> Scott Lauder
Received on Sat Dec 21 2002 - 14:20:10 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:12:10 MST