[squid-dev] how i can make each user to use only specify port in squid proxy
WoWProxy
8lbiuae at gmail.com
Tue Nov 20 11:55:21 UTC 2018
I am starting to tunneling IPv6 with IPv4
so when I use my proxy in this way user:pass at IP:4040
it will let the user use the associated IPv6 with port 4040
which is working good
I do add different users
user1:pass user2:pass user3:pass user4:pass
by using /etc/squid/passwd
http_access allow localhost manager
http_access deny manager
http_access allow localhost
auth_param basic program /usr/lib/squid/basic_ncsa_auth /etc/squid/passwd
auth_param basic children 5
auth_param basic realm Proxy server provided by Market-Area
acl password proxy_auth REQUIRED
http_access allow password
this is what I add in my conf file
and then I add the list of Ports
http_port 4040
http_port 4041
http_port 4042
http_port 4043
http_port 4044
i do acl with port 4040 to port name user1
acl user1 myportname 4040
then
outgoing address is ::IPv6:: user1
so now if i use
user1:pass at ipv4:4040
and use google to show my ip address it will show the correct ipv6 ip
same with all ports
now the issue
if i have 5 users and 5 ports and 5 ipv6
each user can assess all the ips
I mean
user1 can access >>> ipv4:4040 / ipv4:4041 etc... same with user2
what I am trying to do is
limit each user to one port
so user1 can only access ipv4:4040 and cant user ipv4:4041
--
Sent from: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-Development-f1042840.html
More information about the squid-dev
mailing list