| Example(s) | |
| (1) To allow http_access for only one machine with MAC Address 00:08:c7:9f:34:41
To use MAC address in ACL rules. Configure with option -enable-arp-acl. acl all src 0.0.0.0/0.0.0.0
acl pl800_arp arp 00:08:c7:9f:34:41 http_access allow pl800_arp http_access deny all (2) To restrict access to work hours (9am – 5pm, Monday to Friday) from IP 192.168.2/24
acl ip_acl src 192.168.2.0/24
acl time_acl time M T W H F 9:00-17:00 http_access allow ip_acl time_acl http_access deny all
Acl Defnitions, acl abc src 172.161.163.85
acl xyz src 172.161.163.86 acl asd src 172.161.163.87 acl morning time 06:00-11:00 acl lunch time 14:00-14:30 acl evening time 16:25-23:59 Access Controls, http_access allow abc morning
http_access allow xyz morning lunch http_access allow asd lunch This is wrong. The description follows: http_access RULE statement1 AND statement2 AND statement3 OR
http_access ACTION statement1 AND statement2 AND statement3 OR ……..
That’s because this line is in two. If now read, http_access allow xyz AND morning OR
http_access allow xyz lunch
Finally Access Control looks… http_access allow abc morning
http_access allow xyz morning http_access allow xyz lunch http_access allow asd lunch http_access deny all
http_access allow xyz morning
http_access deny xyz http_access allow xyz lunch
|