You can do MAC filtering by using the CLI command " ipmacbinding" . See the CLI Guide for details. The reasoning is:
- you enter pairs of IP address and MAC address into the FGT (via CLI)
- you configure that IP/MAC pairs should be checked when passing the FGT (not: when accessing the FGT)
- if a packet arrives at the FGT, these checks are made:
- if the MAC address is unknown, traffic is blocked
- if the MAC is known, and the IP matches, traffic passes
- if the MAC is known, and the IP does not match, traffic is blocked
So far in theory. Keep in mind that a stateful firewall usually cannot check MAC addresses, it will deal with layer 3 traffic upwards much more efficiently.
For every local list there is space allocated in FortiOS. So there is a set limit for the MAC/IP list as well. I doubt that it is as high as 270. The limit depends on the model and the FortiOS version and is documented in the ' Maximum Values Matrix' , available on docs.fortinet.com .
And given that your FGT is one of the older and smaller models it' s even more doubtful that you can realize your plan. Good luck, though.
Ede Kernel panic: Aiee, killing interrupt handler!