SHOREWALL-PARAMS(5) | Configuration Files | SHOREWALL-PARAMS(5) |
params - Shorewall parameters file
/etc/shorewall[6]/params
Assign any shell variables that you need in this file. The file is always processed by /bin/sh so the full range of shell capabilities may be used.
It is suggested that variable names begin with an upper case letter to distinguish them from variables used internally within the Shorewall programs
The following variable names must be avoided. Those in bold font must be avoided in all Shorewall versions; those in regular font must be avoided in versions prior to 4.4.8.
Example params file:
NET_IF=eth0 NET_BCAST=130.252.100.255 NET_OPTIONS=routefilter
Example shorewall-interfaces[2](5) file.
ZONE INTERFACE BROADCAST OPTIONS net $NET_IF $NET_BCAST $NET_OPTIONS
This is the same as if the interfaces file had contained:
ZONE INTERFACE BROADCAST OPTIONS net eth0 130.252.100.255 routefilter
/etc/shorewall/params
/etc/shorewall6/params
https://shorewall.org/configuration_file_basics.htm#Variables[3]
09/24/2020 | Configuration Files |