[squid-users] How to select parent proxy based on user password

Amos Jeffries squid3 at treenet.co.nz
Thu Sep 24 02:38:15 UTC 2020

On 24/09/20 4:14 am, Ajb B wrote:
> Hey Anthony,
> I see you're point. It makes sense to have multiple usernames if I want
> a user to access multiple proxies. But I'm trying to create a "reseller"
> proxy service, so multiple usernames for a single user won't really make
> sense. I can just give users different passwords to access different
> proxies.

I don't see the connection being a reseller service has to do with
routing to specific proxies.

Surely the routing is based on something entirely different - such as
the users credit balance with services, or which packages they have
bought from you, which region(s) they are trying to access etc.

That type of info is traditionally managed via assigning users to
groups. In modern Squid it is more efficiently done with annotations and
"note" ACL as mentioned by Eliezer already.

> Also, I know PacketStream (https://packetstream.io/) does this and I'm
> pretty sure they use Squid.

There is nothing in the PacketStream documentation or FAQ that indicates
routing to specific proxies based on user/password details.

Their on-sellers simply add/remove login accounts and payments to the
main system.


More information about the squid-users mailing list