actions — Shorewall action declaration file
/etc/shorewall/actions
This file allows you to define new ACTIONS for use in rules (see shorewall-rules(5)). You define the iptables rules to be performed in an ACTION in /etc/shorewall/action.action-name.
Columns are:
The name of the action. ACTION names should begin with an upper-case letter to distinguish them from Shorewall-generated chain names and be composed of letters, digits or numbers. If you intend to log from the action then the name must be no longer than 11 characters in length if you use the standard LOGFORMAT.
Added in Shorewall 4.5.10. Available options are:
Causes the action body (defined in
action.action-name
) to be expanded
in-line like a macro rather than in its own chain. You can
list Shorewall Standard Actions in this file to specify the
inline
option.
Some of the Shorewall standard actions cannot be used
in-line and will generate a warning and the compiler will
ignore inline
if you try to use them that
way:
Broadcast |
DropSmurfs |
Invalid |
NotSyn |
RST |
TCPFlags |
Causes any later inline
option for the
same action to be ignored with a warning.
http://shorewall.net/Actions.html
shorewall(8), shorewall-accounting(5), shorewall-blacklist(5), shorewall-hosts(5), shorewall_interfaces(5), shorewall-ipsets(5), shorewall-maclist(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-tcrules(5), shorewall-tos(5), shorewall-tunnels(5), shorewall-zones(5)