Comments on: Configuring Squid Proxy Server with Restricted Access and Setting Up Clients to Use Proxy – Part 5 https://www.tecmint.com/configure-squid-server-in-linux/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Thu, 19 Nov 2020 02:00:31 +0000 hourly 1 By: Arpit Gupta https://www.tecmint.com/configure-squid-server-in-linux/comment-page-1/#comment-1391825 Thu, 19 Nov 2020 02:00:31 +0000 http://www.tecmint.com/?p=10180#comment-1391825 I want to separate out the destination URLs based on source IPs.

Below is my configuration:-

Its not working as expected as I am able to access whitelist.txt URLs from IPs in 10.0.8.0/24.

acl allowed_http_sites dstdomain “/etc/squid/whitelist.txt”
acl allowed_http_sites dstdomain “/etc/squid/whitelist2.txt”
http_access allow allowed_http_sites
acl “/etc/squid/whitelist.txt” src 10.0.1.8/32
acl “/etc/squid/whitelist.txt” src 10.0.2.9/32
acl “/etc/squid/whitelist.txt” src 10.0.3.10/32
acl “/etc/squid/whitelist.txt” src 10.0.4.11/32
acl “/etc/squid/whitelist.txt” src 10.0.5.12/32
acl “/etc/squid/whitelist.txt” src 10.0.6.13/32
acl “/etc/squid/whitelist.txt” src 10.0.7.14/32
acl “/etc/squid/whitelist2.txt” src 10.0.8.0/24

Can someone help me in verifying the same and let me know what’s wrong with the config?

]]>
By: Sebastian annett https://www.tecmint.com/configure-squid-server-in-linux/comment-page-1/#comment-1336633 Fri, 05 Jun 2020 14:00:14 +0000 http://www.tecmint.com/?p=10180#comment-1336633 Hey,

Thanks for the great tutorial. I’m able to have 1 user with a password on the subnet but was wondering what the command is to activate more users at the same time.

So for example, from IP 20 to 40 have s1:s2 for user 1 and then 41 to 250 have d1:d2 for user 2.

I hope this makes sense.

]]>
By: Tom https://www.tecmint.com/configure-squid-server-in-linux/comment-page-1/#comment-1254430 Wed, 25 Sep 2019 02:43:29 +0000 http://www.tecmint.com/?p=10180#comment-1254430 In reply to Joao Ferreira.

Yes, it is possible.

acl user1port myport 3128
acl user2port myport 3129
acl user1ip src 192.168.1.2/32
acl user2ip src 192.168.1.3/32
http_access allow user1ip user1port
http_access allow user2ip user2port
]]>
By: Joao Ferreira https://www.tecmint.com/configure-squid-server-in-linux/comment-page-1/#comment-1233893 Thu, 29 Aug 2019 09:56:04 +0000 http://www.tecmint.com/?p=10180#comment-1233893 Hi. Nice tutorial. I wonder if its possible to have user permissions for each port on the proxy.

ex: user1 can only connect to port 3128 and user2 can only connect to port 3129.

Is this possible ?

Thank you so much in advance.

]]>
By: yanis https://www.tecmint.com/configure-squid-server-in-linux/comment-page-1/#comment-1210463 Thu, 25 Jul 2019 09:48:34 +0000 http://www.tecmint.com/?p=10180#comment-1210463 I am using squid proxy setup, but I have a problem that my clients VPN unblock the proxy settings. Could you help me?

]]>