net-firewall/shorewall provides a number of options to recreate its fw chains and generally be re-initialized. However, through the gentoo init script /etc/init.d/shorewall it provides only few of these options. Of particular interest, especially with the implementation of v5.x, shorewall reload should be implemented. See here: http://shorewall.net/manpages/shorewall.html I modified the init script to include: extra_started_commands="refresh reset reload" and added a function: reload() { ebegin "Reloading shorewall" ${command} status 1>/dev/null if [ $? != 0 ] ; then svc_start else ${command} ${OPTIONS} reload 1>/dev/null fi eend $? }
There were reasons why "reload" was not added to Gentoo's shorewall runscripts. However upstream re-implemented "reload" in shorewall-5.x, I'll re-evaluate if we will add the new "reload" command to the runscripts. Thanks for the report.
Thank you for your report! "reload" is now available with shorewall-5.0.8, added via https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=098d7c9931e31aeab8b1f1dac651b4060b13e55c