shorewall-maclist (5) Linux Manual Page
maclist – Shorewall MAC Verification file
Synopsis
-
/etc/shorewall/maclist
Description
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]
ACCEPTorDROP(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 ADDRESSESis supplied thenMACcan 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
See Also
m[blue]http://www.shorewall.net/MAC_Validation.htmlm[][4]
m[blue]http://www.shorewall.net/configuration_file_basics.htm#Pairsm[][5]
shorewall(8), shorewall-accounting(5), shorewall-actions(5), shorewall-blacklist(5), shorewall-hosts(5), shorewall_interfaces(5), shorewall-ipsets(5), shorewall-masq(5), shorewall-nat(5), shorewall-netmap(5), shorewall-params(5), shorewall-policy(5), shorewall-providers(5), shorewall-proxyarp(5), shorewall-rtrules(5), shorewall-routestopped(5), shorewall-rules(5), shorewall.conf(5), shorewall-secmarks(5), shorewall-tcclasses(5), shorewall-tcdevices(5), shorewall-mangle(5), shorewall-tos(5), shorewall-tunnels(5), shorewall-zones(5)
Notes
- 1.
- shorewall-interfaces
- 2.
- shorewall-hosts
- 3.
- shorewall.conf
- 4.
- http://www.shorewall.net/MAC_Validation.html
- 5.
- http://www.shorewall.net/configuration_file_basics.htm#Pairs
