How to block specific pc's in squid proxy -


I want to block specific PCs like Windows and Macintosh using ACL in squid proxy.

The sample log of the squid proxy is below

Mozilla / 5.0 (Macintosh; U. Intel Mac OS X10_6_4; nu) Apple WebKat / 533.18.1 (KHTHML, Gecko ) Version 5.0.2 Safari / 533.18.5 Mozilla / 5.0 (Windows NT 6.3; WOW64; rv: 35.0) Geck / 20100101 Firefox / 35.0

I can block UISNACLS browser in Swiss proxy. But I have to block the PC so that there is no way to complete squid proxy using ACL.

You can block the PC's Mac address to block your access. For example, their PC's MAC address is: C0-18-85-C1-46-87 Then just add: -

  ALL banned ARP C0: 18: 85: C1 : 46: 87  


  restrict http_access restrictions  

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -