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

Aaron Turner synfinatic at gmail.com
Thu Sep 28 01:12:22 UTC 2017


Write a small shell script to generate it for you?  I don't think
squid supports ranges or mapping of this sort.
--
Aaron Turner
https://synfin.net/         Twitter: @synfinatic
My father once told me that respect for the truth comes close to being
the basis for all morality.  "Something cannot emerge from nothing,"
he said.  This is profound thinking if you understand how unstable
"the truth" can be.  -- Frank Herbert, Dune


On Wed, Sep 27, 2017 at 4:19 PM, xpro6000 <xpro6000 at gmail.com> 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?
>
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
>


More information about the squid-users mailing list