squid configuration : ACL's based on MAC address
Posted by
DevOps
There are many times that client are having dynamic ip address (assigned by DHCP server) and in this cases it's hard to set any rules on bases of ip address as, you would not know what ip address the client machine be getting, in such case we could use mac based ACL's to set up any rules on that particular machine.
# vi /etc/squid/squid.conf
Look for acl section and append ACL as follows:
acl mac1 arp 00:11:22:70:44:90
acl mac2 arp 00:11:22:33:44:55
http_access allow mac1
http_access allow mac2
http_access deny all
Save and close the file. Restart squid server:
# /etc/init.d/squid restart
Subscribe to:
Post Comments (Atom)
2 comments:
Yeah but realistically (apart from maybe SOHO) would you really have browsers and your proxy server on the same segment?
Knowledge giving Article! I appreciate you. I completely agree with you. If we talk about current scenario then it is must be update. I enjoyed reading. I would like to visit more for more queries.
MAC Address Spoof
Post a Comment