[squid-users] make large amount of IPv6 IPs for use?

Amos Jeffries squid3 at treenet.co.nz
Thu Sep 28 01:47:02 UTC 2017


On 28/09/17 12:19, xpro6000 wrote:
> Right now I have a config file that enables Squid to have an incoming 
> connection based on an IPv4 address and based on the connection port a 
> IPv6 address is used. Below is the relevant part of the config file.
> 
> 
> ## designate acl based on inbound connection name
> acl user1 myportname 3100
> acl user2 myportname 3101
> acl user3 myportname 3102
> 
> ## define outgoing IPv6 per user
> tcp_outgoing_address 2001:19f0:9014:073e:0000:0000:0000:0000 user1
> tcp_outgoing_address 2001:19f0:9014:073e:0000:0000:0000:0001 user2
> tcp_outgoing_address 2001:19f0:9014:073e:0000:0000:0000:0002 user3
> 
> 
> 
> I want to add thousands of IPs like this and it would take too much time 
> and it would be error prone. Is there any better way of achieving this? 
> By giving ranges maybe?

No, this was a bad config hack to begin with and all you are doing by 
trying to scale it up is making the problems worse. Squid is an HTTP 
proxy, not a NAT implementation.

*why* are you trying so hard to break how the HTTP side of the Internet 
works?


Amos


More information about the squid-users mailing list