shorewall-maclist (5) - Linux Manuals

shorewall-maclist: Shorewall MAC Verification file

NAME

maclist - Shorewall MAC Verification file

SYNOPSIS

/etc/shorewall/maclist

DESCRIPTION

This file is used to define the MAC addresses and optionally their associated IP addresses to be allowed to use the specified interface. The feature is enabled by using the maclist option in the m[blue]shorewall-interfacesm[][1](5) or m[blue]shorewall-hostsm[][2](5) configuration file.

The columns in the file are as follows (where the column name is followed by a different name in parentheses, the different name is used in the alternate specification syntax).

DISPOSITION - {ACCEPT|DROP|REJECT}[:log-level]

ACCEPT or DROP (if MACLIST_TABLE=filter in m[blue]shorewall.confm[][3](5), then REJECT is also allowed). If specified, the log-level causes packets matching the rule to be logged at that level.

INTERFACE - interface

Network interface to a host.

MAC - address

MAC address of the host -- you do not need to use the Shorewall format for MAC addresses here. If IP ADDRESSES is supplied then MAC can be supplied as a dash (-)

IP ADDRESSES (addresses) - [address[,address]...]

Optional - if specified, both the MAC and IP address must match. This column can contain a comma-separated list of host and/or subnet addresses. If your kernel and iptables have iprange match support then IP address ranges are also allowed. Similarly, if your kernel and iptables include ipset support than set names (prefixed by "+") are also allowed.

FILES

/etc/shorewall/maclist

NOTES

1.
shorewall-interfaces
http://www.shorewall.net/manpages/shorewall-interfaces.html
2.
shorewall-hosts
http://www.shorewall.net/manpages/shorewall-hosts.html
3.
shorewall.conf
http://www.shorewall.net/manpages/shorewall.conf.html
4.
http://www.shorewall.net/MAC_Validation.html
http://www.shorewall.net/MAC_Validation.html
5.
http://www.shorewall.net/configuration_file_basics.htm#Pairs
http://www.shorewall.net/configuration_file_basics.htm#Pairs