On 08/18/2012 08:02 AM, Robert Collins wrote:
On Sat, Aug 18, 2012 at 2:51 PM, Bennett Haselton <benn...@peacefire.org> wrote:
I installed squid 3.1.10 on CentOS 6.3 with the default squid.conf.
When I test it out from localhost:
The following error was encountered while trying to retrieve the URL:
http://www.google.com/
Connection to 2607:f8b0:4004:800::1014 failed.
The system returned: (110) Connection timed out
If you have IPv6 configured on your machine but don't have IPv6
connectivity to the rest of the world, I would expect this symptom.
Solutions:
- don't have IPv6 configured
- or have connectivity.
Sometimes that's not fully in your control. One machine I have doesn't
have a global IPv6 address, or any IPv6 routes, yet still tries to use
IPv6 addresses when reaching servers. I'll admit I spent no time
investigating as I already knew how to force squid to use IPv4:
tcp_outgoing_address <ipv4 addr> <acl>
I have multiple outgoing IPs, so mine are usually of the form:
acl out0 myport 80
tcp_outgoing_address <ip> out0
--Will