Blocking Specific MAC & Blocking Multiple MAC

Blocking Specific MAC:

acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
acl bad_MAC arp 192.168.200.100/32
acl our_network src 192.168.200.0/24
http_access deny bad_MAC
http_access allow our_network
http_access deny all


Blocking Multiple MAC:

We could write down the MACs one by one separated with ‘spaces’. Or we could create a file (in this case /etc/squid/invalid_MAC_file) containing the MACs.

48:5B:39:0C:CE:10
00:1F:D0:63:A3:03

acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
acl invalid_MAC src 48:5B:39:0C:CE:10 00:1F:D0:63:A3:03
acl invalid_MAC src “/etc/squid/invalid_MAC_file”
acl our_network src 192.168.200.0/24
OR
http_access deny invalid_MAC
http_access allow our_network
http_access deny all

Comments

Popular posts from this blog

Squid Configuration

Squint Configure

Postfix SASL authentication with SMTP port 465:

How to Change the Logo from Zimbra Admin Console