Search squid archive

Re: How to use ipv6 address to send requests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/11/17 17:23, dinoop wrote:
I have installed Squid in one digital ocean ubuntu machine.

What I want to do is: I will send a ipv4 address to this proxy server and I
need to pick up and use a iPv6 address configured in the squid.conf. I have
added 2 ipv6 addresses in the conf file.

If I try the following command by specifying address as ipv6, it works fine.

curl -H 'Cache-Control: no-cache' --proxy localhost:3128
[2400:xxx:x:xx::xxx:a001]
ie, it will pick a random ipv6 address from the conf file and send the
request through that ip address.

If i try the following command by specifying address as ipv4, its not
working

curl -H 'Cache-Control: no-cache' --proxy localhost:3128 34.xxx.xxx.148
ie, Its not picking the ipv6 address specified in the conf file. Instead its
using the server public ip .

Of course. You cannot open an IPv6 connection to an IPv4 server address.

Amos
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux