[squid-users] Deny ports to users

Yuri yvoinov at gmail.com
Thu Nov 16 19:42:58 UTC 2017


You choose not appropriate tool for you task.

Squid is a proxy, not a firewall.


17.11.2017 1:40, Jonathan thomas Cho пишет:
> Hello, I was curious how to restrict users from accessing ports . 
>
> I have 4 workers and need them to have their own ports and not able to
> use the other 3.  
>
> I currently use :
>
> http_port 3128 name=ip2
> http_port 3129 name=ip3
> http_port 3130 name=ip4
>
> acl ip2 myip x.x.x.2
> acl ip3 myip x.x.x.3
> acl ip4 myip x.x.x.4
> tcp_outgoing_address x.x.x.2 ip2
> tcp_outgoing_address x.x.x.3 ip3
> tcp_outgoing_address x.x.x.4 ip4
>
> However 3129 still work on all 4 ports.
>
>
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users

-- 
**************************
* C++: Bug to the future *
**************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20171117/36439100/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 648 bytes
Desc: OpenPGP digital signature
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20171117/36439100/attachment.sig>


More information about the squid-users mailing list