Portal Home > Knowledgebase > Articles Database > squid how to restrict user to the specfic ip i give


squid how to restrict user to the specfic ip i give




Posted by erhard, 04-14-2010, 11:15 AM
Hi, i would like to ask anyone here if they know what should be configure to allow this situation. i have 2 dedicated ips and 2 users. current with the ncsaauth, it allows user1 and user2 to use both of the ips. however i would like it in such a way that user1 only get to use ip1 and user2 gets to use ip2. i do not want to bind them to their own computer's ip, instead they would still have to type out their username and password. i googled and found something like this but i don't get it why it is not working. 1) Edit ACL Remove below line acl ncsaauth proxy_auth REQUIRED http_access allow ncsaauth and enter acl user1 proxy_auth demo acl user2 proxy_auth test http_access allow user1 http_access allow user2 in tcp_outgoing_address define user acl after ip acl like this acl ip1 myip 192.168.0.1 tcp_outgoing_address 192.168.0.1 ip1 user1 and so on.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
install ntop (Views: 679)


Language: