Yes, FortiGate firewalls support MAC address filtering through access control policies and device identification features, allowing administrators to permit or deny traffic based on Layer 2 hardware addresses. This capability is primarily used for device-level access control in wired or wireless networks, though it has important limitations compared to IP-based filtering. MAC filtering is not a standalone security feature in FortiOS—it must be configured as part of firewall policies, authentication schemes, or wireless LAN controller settings.

Background & Purpose

MAC address filtering on FortiGate devices serves several specific operational purposes, though it’s often misunderstood in the context of modern network security. Historically, MAC filtering was more common in small office or home networks where devices were static and few, and where Wi-Fi access points lacked robust authentication. In enterprise environments, FortiGate’s MAC filtering is typically used for:

  • Allowing only known IoT or embedded devices (e.g., printers, scanners, medical equipment) that cannot authenticate via 802.1X
  • Implementing basic guest access restrictions where devices are registered in advance
  • Supplementing identity-based authentication (e.g., MAC-based RADIUS) in hybrid authentication scenarios
  • Blocking known malicious or unauthorized devices at the network edge
It’s important to note that MAC addresses are not encrypted and can be easily spoofed, so MAC filtering should never be relied on as a primary security control. Instead, it functions best as a secondary, low-level enforcement layer—similar to how a bouncer checks an ID at the door before handing it to security cameras for verification.

How FortiGate MAC Filtering Works

FortiGate does not have a dedicated “MAC filter table” like older consumer routers. Instead, MAC-based decisions are made during policy evaluation in the firewall engine. When a packet arrives, FortiGate evaluates the source MAC address against configured matching rules in the context of the active security policy (e.g., firewall policy, wireless LAN controller profile, or captive portal settings). The process involves:

  1. Packet ingress at a physical or virtual interface
  2. MAC address extraction (source and/or destination)
  3. Comparison against any configured MAC lists (e.g., in firewall policies with “MAC address” constraints)
  4. Policy enforcement: allow, deny, or redirect (e.g., to captive portal)
MAC filtering is most commonly applied in wireless LAN controller (WLC) profiles under Security > Wireless LAN Controller, where you can specify allowed or blocked MAC addresses per SSID. It can also be used in Policy & Objects > Firewall Policy by enabling “MAC Address” in the policy’s source/destination constraints—but this only works for traffic entering/exiting interfaces where MAC addresses are preserved (e.g., not routed through NAT or Layer 3 gateways).

Configuration Methods & Examples

There are three primary ways to configure MAC address filtering on FortiGate, each suited to different use cases:

1. Wireless LAN Controller Profiles

Under Security > Wireless LAN Controller > SSID Profiles, you can enable MAC filtering for a specific SSID. Steps:

  1. Navigate to Security > Wireless LAN Controller > SSID Profiles
  2. Edit the target SSID profile
  3. Under Security, set MAC Address Filtering to either Allow or Block
  4. Click MAC Address List and add entries (one per line)
  5. Save and apply the profile to an AP group
Example: An “IoT-Devices” SSID only allows devices with MAC addresses ending in A1:B2:C3 or 00:1A:2B to connect.

2. Firewall Policy Constraints

For wired traffic, use the Source MAC Address or Destination MAC Address fields in a firewall policy. Note: This only applies to traffic where the MAC header is visible—i.e., within the same broadcast domain (Layer 2). Once traffic is routed (Layer 3), MAC addresses change. Steps:

  1. Go to Policy & Objects > Firewall Policy
  2. Create or edit a policy (e.g., internal → DMZ)
  3. Scroll to Source/Destination section
  4. Enable Source MAC Address and enter one or more addresses (comma-separated)
  5. Set action (Allow/Deny) as needed
Example: A policy denying all traffic from 00:11:22:33:44:55 to the internal server VLAN.

3. MAC-Based Authentication (RADIUS/TACACS+)

FortiGate can integrate with external RADIUS servers to authenticate devices by MAC address (commonly used as a username). This requires:

  1. Configuring a RADIUS server with MAC addresses as usernames (e.g., 00:11:22:33:44:55) and pre-shared passwords
  2. In FortiGate: Policy & Objects > Authentication > RADIUS, add the server
  3. Create an authentication profile (e.g., System > Object > Authentication Profile) referencing the RADIUS server
  4. Assign the profile to a wireless or captive portal policy
This method provides more granular control and logging than static MAC lists.

Common Pitfalls & Limitations

While useful in specific cases, MAC filtering on FortiGate has critical limitations that often lead to misconfiguration:

  • Routing breaks MAC visibility: Once traffic passes through a Layer 3 interface (e.g., a firewall rule with NAT), the original source MAC is replaced by the FortiGate’s interface MAC. Filtering on source MAC only works for local traffic (same subnet).
  • No IPv6 support in MAC filtering: IPv6 Neighbor Discovery uses link-layer addresses differently, and MAC filtering does not apply to IPv6 RA or DHCPv6 traffic by default.
  • MAC spoofing is trivial: An attacker can change their device’s MAC to match an allowed one in seconds using built-in OS tools—no technical skill required.
  • No real-time updates: MAC lists in SSID profiles are static; changes require reapplying the profile to APs and may require client reconnection.
  • Performance impact: Large MAC lists (>1,000 entries) can slow policy evaluation, especially on lower-end models like the FortiGate 60F.
Moreover, MAC filtering does not replace encryption (WPA3), identity-based authentication, or endpoint security tools. It’s purely an access-control mechanism—not a threat mitigation feature.

When to Use MAC Filtering vs. Alternatives

MAC filtering is appropriate only in narrow scenarios. Consider these alternatives based on your goal:

  • Device identification without MAC: Use FortiGate’s Endpoint Control (for FortiClient) or FortiNAC for automatic device fingerprinting using DHCP fingerprints, HTTP user agents, or 802.1X.
  • Strong authentication: Prefer WPA2-Enterprise or WPA3-Enterprise with 802.1X and EAP-TLS, which binds user/device identity to certificates—not MAC addresses.
  • MAC spoofing resistance: Combine MAC filtering with DHCP snooping (on switches) and ARP inspection, or use FortiSwitch’s secure MAC learning features.
  • Guest access control: Use Captive Portal with MAC-based registration (where the portal stores the MAC and auto-approves future connections).
  • IoT device segmentation: Prefer VLAN segmentation + application-aware policies over MAC lists, especially for devices that only use HTTP or DNS.
Example: A hospital might allow MRI machines on a dedicated SSID using MAC filtering—but also uses VLANs, firewall policies, and endpoint control to restrict their network access to only imaging servers.

Performance & Scalability Considerations

FortiGate handles MAC filtering efficiently for small to medium lists (up to ~500 entries), but performance degrades with very large lists due to linear matching in policy evaluation. Key thresholds:

  • FortiGate-60F/100F: ~200 MAC entries recommended per SSID profile before latency increases
  • FortiGate-100F/200F: ~500 entries with minimal impact
  • FortiGate-3000D+ or SD-WAN appliances: Can handle 1,000+ entries, but testing is advised
Best practices for scalability:
  1. Avoid per-device policies—use groups (e.g., “Printers” group in address objects)
  2. Prefer RADIUS authentication over static lists for dynamic environments
  3. Use DHCP reservations + address-based policies instead of MAC where possible
  4. Monitor System > FortiView > Security for policy hits to identify unused MAC rules
Also note: MAC filtering does not affect firewall throughput (packets aren’t inspected at L2 for filtering—only matched against lists during policy resolution), but large lists can increase policy compilation time during config commits.

Safety & Security Recommendations

MAC filtering introduces minimal risk if used correctly, but misuse can create false confidence. Never use it as your only control. Follow these guidelines:

  • Always pair with encryption: Use WPA3-Personal or WPA3-Enterprise—even with MAC filtering, unencrypted traffic exposes the network.
  • Log MAC filter events: Enable logging on MAC-filtered policies to detect spoofing attempts (check logs for “MAC not in list” entries).
  • Audit regularly: Run diag firewall mac-list list to view active MAC entries in SSID profiles.
  • Do not rely on MAC for compliance: Standards like HIPAA or PCI-DSS require identity-based controls, not MAC-based ones.
  • Test failover scenarios: Verify MAC lists persist after HA failover or firmware upgrades.
Finally, remember: FortiGate’s primary strength is deep packet inspection and application control. MAC filtering is a legacy tool—use it sparingly and only where it solves a specific, verifiable problem.

Frequently Asked Questions

Can FortiGate filter MAC addresses for Wi-Fi guests automatically?

Yes, using captive portal with MAC registration. When a guest connects, FortiGate redirects them to a login page. If they enter their MAC (or it’s auto-detected), you can register it and allow future connections without re-registration. This is configured under Security > Wireless LAN Controller > Captive Portal > MAC Registration.

Why doesn’t MAC filtering work on my VLAN traffic?

Because once traffic crosses a Layer 3 interface (e.g., VLANIF), the source MAC address changes to the FortiGate’s interface MAC. MAC filtering only applies to traffic on the same broadcast domain (e.g., between devices on the same switch port or AP). To filter VLAN traffic, use address objects or security policies based on IP addresses instead.

Does MAC filtering work with FortiSwitch integration?

Partially. FortiGate can push MAC-based security policies to integrated FortiSwitch ports (e.g., enabling MAC-based port security), but this requires the FortiSwitch to support the feature and be managed by the FortiGate. The MAC list is stored on the FortiGate and synchronized—limit is typically 500 per switch port.

Can I block devices by MAC without denying them at the firewall?

No—not directly. FortiGate doesn’t have a standalone “blacklist” that drops packets at Layer 2. MAC-based blocking must be implemented via firewall policies (deny action) or wireless profiles (block list). However, you can use Application Control or Web Filter with MAC-based policies for more granular actions (e.g., redirect to quarantine VLAN).

Is MAC filtering affected by FortiGate HA (high availability)?

No—if you use state-synced HA (active-passive), MAC lists in SSID profiles or firewall policies are synchronized automatically. However, if you manually edit the list on the slave unit, changes won’t persist after sync. Always configure MAC lists on the master unit only.

What happens if I use both MAC filtering and 802.1X on the same SSID?

The 802.1X authentication occurs first. If it succeeds, the MAC is already authenticated and no MAC filter check is performed. If 802.1X fails, FortiGate falls back to MAC filtering (if enabled) as a secondary method. This hybrid mode is useful for legacy devices that can’t support 802.1X but can authenticate via MAC-RADIUS.