SHOREWALL-INIT(8) | Administrative Commands | SHOREWALL-INIT(8) |
NAME¶
shorewall-init - Companion package
SYNOPSIS¶
shorewall-init [start|stop]
DESCRIPTION¶
Shorewall-init is an optional package (added in Shorewall 4.4.10) that can be installed along with Shorewall, Shorewall6, Shorewall-lite and/or Shorewall6-lite. It provides two key features:
These two capabilities can be enabled separately.
After you install the shorewall-init package, you can activate it by modifying the Shorewall-init configuration file:
To activate the safe boot feature, edit the configuration file and set PRODUCTS to a space-separated list of Shorewall products that you want to be closed before networking starts.
Example:
You also must insure that the compiled scripts for the listed products are compiled using Shorewall 4.4.10 or later.
Shorewall
Shorewall6
Shorewall-lite
Shorewall6-lite
The second feature (ifup/ifdown and NetworkManager integration) should only be activated on systems that do not use a link status monitor line swping or LSM.
For NetworkManager integration, you will want to disable firewall startup at boot and delay it to when your interface comes up. For this to work correctly, you must set the required or the optional option on at least one interface then:
On a laptop with both Ethernet and wireless interfaces, you will want to make both interfaces optional and set the REQUIRE_INTERFACE option to Yes in shorewall.conf[1](5) or shorewall6.conf[1] (5). This causes the firewall to remain stopped until at least one of the interfaces comes up.
FILES¶
/etc/default/shorewall-init (Debian-based systems) or /etc/sysconfig/shorewall-init (other distributions)
SEE ALSO¶
NOTES¶
- 1.
- shorewall.conf
09/24/2020 | Administrative Commands |