{"id":3681,"date":"2022-12-20T17:19:45","date_gmt":"2022-12-20T20:19:45","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/shorewall-man8\/"},"modified":"2022-12-20T17:19:45","modified_gmt":"2022-12-20T20:19:45","slug":"shorewall-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/shorewall-man8\/","title":{"rendered":"SHOREWALL (man8)"},"content":{"rendered":"<h1 align=\"center\">SHOREWALL<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#COMMANDS\">COMMANDS<\/a><br \/> <a href=\"#EXIT STATUS\">EXIT STATUS<\/a><br \/> <a href=\"#ENVIRONMENT\">ENVIRONMENT<\/a><br \/> <a href=\"#FILES\">FILES<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#NOTES\">NOTES<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">shorewall \u2212 Administration tool for Shoreline Firewall (Shorewall)<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] <b>add\u00a0{<\/b> <i>interface<\/i>[:<i>host\u2212list<\/i>]&#8230; <i>zone\u00a0<\/i><b>|\u00a0<\/b><i>zone\u00a0host\u2212list\u00a0<\/i><b>}<\/b><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] <b>allow<\/b> <i>address<\/i><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] <b>blacklist[!]<\/b> <i>address\u00a0<\/i>[<i>option\u00a0<\/i>&#8230;]<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] <b>call<\/b> <i>function\u00a0<\/i>[<i>parameter\u00a0<\/i>&#8230;]<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6]<\/b> [<b>trace<\/b>|<b>debug<\/b>] [options] [<b>check\u00a0|\u00a0ck\u00a0<\/b>] [<b>\u2212e<\/b>] [<b>\u2212d<\/b>] [<b>\u2212p<\/b>] [<b>\u2212r<\/b>] [<b>\u2212T<\/b>] [<b>\u2212i<\/b>] [<i>directory<\/i>]<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] <b>clear\u00a0<\/b>[<b>\u2212f<\/b>]<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] <b>close\u00a0<\/b>{\u00a0<i>open\u2212number\u00a0<\/i>|\u00a0<i>sourcedest\u00a0<\/i>[<i>protocol\u00a0<\/i>[\u00a0<i>port\u00a0<\/i>]]}\u00a0<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6]<\/b> [<b>trace<\/b>|<b>debug<\/b>] [options] [<b>compile\u00a0|\u00a0co\u00a0<\/b>] [<b>\u2212e<\/b>] [<b>\u2212c<\/b>] [<b>\u2212d<\/b>] [<b>\u2212p<\/b>] [<b>\u2212T<\/b>] [<b>\u2212i<\/b>] [<i>directory<\/i>] [<i>pathname<\/i>]<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] <b>delete\u00a0{<\/b> <i>interface<\/i>[:<i>host\u2212list<\/i>]&#8230; <i>zone\u00a0<\/i><b>|\u00a0<\/b><i>zone\u00a0host\u2212list\u00a0<\/i><b>}<\/b><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] <b>disable<\/b> {\u00a0<i>interface\u00a0<\/i>|\u00a0<i>provider\u00a0<\/i>}<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] <b>drop<\/b> <i>address<\/i><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] <b>dump<\/b> [<b>\u2212x<\/b>] [<b>\u2212l<\/b>] [<b>\u2212m<\/b>] [<b>\u2212c<\/b>]<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] <b>enable<\/b> {\u00a0<i>interface\u00a0<\/i>|\u00a0<i>provider\u00a0<\/i>}<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6]<\/b> [options] <b>export<\/b> [<i>directory1<\/i>] [<i>user<\/i>@]<i>system<\/i>[<b>:<\/b><i>directory2<\/i>]<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] <b>forget<\/b> [<i>filename<\/i>]<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] <b>help<\/b><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[\u2212lite]<\/b> [options] <b>hits\u00a0<\/b>[<b>\u2212t<\/b>]<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[\u2212lite]<\/b> [options] <b>ipcalc<\/b> {<i>address\u00a0mask<\/i> | <i>address<\/i>\/<i>vlsm<\/i>}<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[\u2212lite]<\/b> [options] <b>iprange<\/b> <i>address1<\/i><b>\u2212<\/b><i>address2<\/i><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] <b>iptrace<\/b> <i>iptables\u00a0match\u00a0expression<\/i><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] <b>logdrop<\/b> <i>address<\/i><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] <b>logwatch<\/b> [<b>\u2212m<\/b>] [<i>refresh\u2212interval<\/i>]<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] <b>logreject<\/b> <i>address<\/i><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] <b>noiptrace<\/b> <i>iptables\u00a0match\u00a0expression<\/i><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] <b>open\u00a0<\/b><i>source\u00a0dest\u00a0<\/i>[\u00a0<i>protocol\u00a0<\/i>[\u00a0<i>port\u00a0<\/i>]\u00a0]<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] <b>reenable<\/b> {\u00a0<i>interface\u00a0<\/i>|\u00a0<i>provider\u00a0<\/i>}<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] <b>reject<\/b> <i>address<\/i><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] <b>reload<\/b> [<b>\u2212n<\/b>] [<b>\u2212p\u00a0<\/b>[<b>\u2212d<\/b>]] [<b>\u2212f<\/b>] [<b>\u2212c<\/b>] [<b>\u2212T<\/b>] [<b>\u2212i<\/b>] [<b>\u2212C<\/b>] [<i>directory<\/i>]<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6] remote\u2212getcaps<\/b> [<b>\u2212s<\/b>] [<b>\u2212R<\/b>] [<b>\u2212r\u00a0<\/b><i>root\u2212user\u2212name<\/i>] [<b>\u2212T<\/b>] [<b>\u2212i<\/b>] [[<b>\u2212D<\/b>]<i>directory<\/i>] [<i>system<\/i>]<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6]<\/b> [options] <b>remote\u2212getrc<\/b> [<b>\u2212s<\/b>] [<b>\u2212c<\/b>] [<b>\u2212r\u00a0<\/b><i>root\u2212user\u2212name<\/i>] [<b>\u2212T<\/b>] [<b>\u2212i<\/b>] [[<b>\u2212D<\/b>]<i>directory<\/i>] [<i>system<\/i>]<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6]<\/b> [options] <b>remote\u2212start<\/b> [<b>\u2212s<\/b>] [<b>\u2212c<\/b>] [<b>\u2212r\u00a0<\/b><i>root\u2212user\u2212name<\/i>] [<b>\u2212T<\/b>] [<b>\u2212i<\/b>] [[<b>\u2212D<\/b>]<i>directory<\/i>] [<i>system<\/i>]<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6]<\/b> [options] <b>remote\u2212reload<\/b> [<b>\u2212s<\/b>] [<b>\u2212c<\/b>] [<b>\u2212r\u00a0<\/b><i>root\u2212user\u2212name<\/i>] [<b>\u2212T<\/b>] [<b>\u2212i<\/b>] [[<b>\u2212D<\/b>]<i>directory<\/i>] [<i>system<\/i>]<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6]<\/b> [options] <b>remote\u2212restart<\/b> [<b>\u2212s<\/b>] [<b>\u2212c<\/b>] [<b>\u2212r\u00a0<\/b><i>root\u2212user\u2212name<\/i>] [<b>\u2212T<\/b>] [<b>\u2212i<\/b>] [[<b>\u2212D<\/b>]<i>directory<\/i>] [<i>system<\/i>]<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] <b>reset\u00a0<\/b>[<i>chain\u00a0<\/i>&#8230;]<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] <b>restart<\/b> [<b>\u2212n<\/b>] [<b>\u2212p\u00a0<\/b>[<b>\u2212d<\/b>]] [<b>\u2212f<\/b>] [<b>\u2212c<\/b>] [<b>\u2212T<\/b>] [<b>\u2212i<\/b>] [<b>\u2212C<\/b>] [<i>directory<\/i>]<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] <b>restore\u00a0<\/b>[<b>\u2212n<\/b>]\u00a0[<b>\u2212p<\/b>]\u00a0[<b>\u2212C<\/b>] [<i>filename<\/i>]<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] <b>run<\/b> <i>command<\/i> [<i>parameter\u00a0&#8230;<\/i>]<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6]<\/b> [options] <b>safe\u2212restart<\/b> [<b>\u2212d<\/b>] [<b>\u2212p<\/b>] [<b>\u2212t\u00a0<\/b><i>timeout<\/i>] [<i>directory<\/i>]<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6]<\/b> [options] <b>safe\u2212start<\/b> [<b>\u2212d<\/b>] [<b>\u2212p<\/b>] [<b>\u2212t\u00a0<\/b><i>timeout<\/i>] [<i>directory<\/i>]<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] <b>save\u00a0<\/b>[<b>\u2212C<\/b>] [<i>filename<\/i>]<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] <b>savesets<\/b><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] {<b>show\u00a0|\u00a0list\u00a0|\u00a0ls\u00a0<\/b>} [<b>\u2212x<\/b>] <b>{bl|blacklists}<\/b><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] {<b>show\u00a0|\u00a0list\u00a0|\u00a0ls\u00a0<\/b>} [<b>\u2212b<\/b>] [<b>\u2212x<\/b>] [<b>\u2212l<\/b>] [<b>\u2212t\u00a0<\/b>{<b>filter<\/b>|<b>mangle<\/b>|<b>nat<\/b>|<b>raw<\/b>}] [<i>chain<\/i>&#8230;]<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] {<b>show\u00a0|\u00a0list\u00a0|\u00a0ls\u00a0<\/b>} [<b>\u2212f<\/b>] <b>capabilities<\/b><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6]<\/b> [options] {<b>show\u00a0|\u00a0list\u00a0|\u00a0ls\u00a0<\/b>} [<b>\u2212f<\/b>] <b>{actions|macros}<\/b><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6]<\/b> [options] {<b>show\u00a0|\u00a0list\u00a0|\u00a0ls\u00a0<\/b>} <b>action\u00a0<\/b><i>action<\/i><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] {<b>show\u00a0|\u00a0list\u00a0|\u00a0ls\u00a0<\/b>} {<b>classifiers|connections|config|events|filters|ip|ipa|ipsec|zones|policies|marks<\/b>}<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] {<b>show\u00a0|\u00a0list\u00a0|\u00a0ls\u00a0<\/b>} <b>event\u00a0<\/b><i>event<\/i><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] {<b>show\u00a0|\u00a0list\u00a0|\u00a0ls\u00a0<\/b>} [<b>\u2212c<\/b>] <b>routing<\/b><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6]<\/b> [options] {<b>show\u00a0|\u00a0list\u00a0|\u00a0ls\u00a0<\/b>} <b>macro\u00a0<\/b><i>macro<\/i><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] {<b>show\u00a0|\u00a0list\u00a0|\u00a0ls\u00a0<\/b>} [<b>\u2212x<\/b>] {<b>mangle|nat|raw<\/b>}<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] {<b>show\u00a0|\u00a0list\u00a0|\u00a0ls\u00a0<\/b>} <b>saves<\/b><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] {<b>show\u00a0|\u00a0list\u00a0|\u00a0ls\u00a0<\/b>} [<b>\u2212m<\/b>] <b>log<\/b><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [<b>trace<\/b>|<b>debug<\/b>] [options] <b>start<\/b> [<b>\u2212n<\/b>] [<b>\u2212f<\/b>] [<b>\u2212p<\/b>] [<b>\u2212c<\/b>] [<b>\u2212T\u00a0<\/b>[<b>\u2212i<\/b>]] [<b>\u2212C<\/b>] [<i>directory<\/i>]<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] <b>stop\u00a0<\/b>[<b>\u2212f<\/b>]<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] <b>status\u00a0<\/b>[<b>\u2212i<\/b>]<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6]<\/b> [options] <b>try<\/b> <i>directory<\/i> [<i>timeout<\/i>]<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6]<\/b> [options] <b>update<\/b> [<b>\u2212b<\/b>] [<b>\u2212d<\/b>] [<b>\u2212r<\/b>] [<b>\u2212T<\/b>] [<b>\u2212a<\/b>] [<b>\u2212i<\/b>] [<b>\u2212A<\/b>] [<i>directory<\/i>]<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>shorewall[6][\u2212lite]<\/b> [options] <b>version\u00a0<\/b>[<b>\u2212a<\/b>]<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Beginning with Shorewall 5.1.0, the <b>shorewall<\/b> utility is used to control the Shoreline Firewall (Shorewall), Shorewall Firewall 6 (Shorewall6), Shorewall Firewall Lite (Shorewall\u2212lite) and Shorewall Firewall 6 Lite (Shorewall6\u2212lite). The utility may be accessed under four different names:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>shorewall<\/b><\/p>\n<p style=\"margin-left:17%;\">Controls the Shorewall configuration when Shorewall is installed. If Shorewall is not installed, the <b>shorewall<\/b> command controls Shorewall\u2212lite if it is installed. If neither Shorewall nor Shorewall\u2212lite is installed, the <b>shorewall<\/b> command controls Shorewall6\u2212lite if it is installed.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>shorewall6<\/b><\/p>\n<p style=\"margin-left:17%;\">The <b>shorewall6<\/b> command controls Shorewall6 when Shorewall6 is installed.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">shorewall\u2212lite<\/p>\n<p style=\"margin-left:17%;\">The <b>shorewall\u2212lite<\/b> command controls Shorewall\u2212lite when Shorewall\u2212lite is installed.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">shorewall6\u2212lite<\/p>\n<p style=\"margin-left:17%;\">The <b>shorewall6\u2212lite<\/b> command controls Shorewall6\u2212lite when Shorewall6\u2212lite is installed.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Prior to Shorewall 5.1.0, these four commands were implemented as four separate program, each of which controlled only a single firewall package. This manpage serves to document both the Shorewall 5.1 and Shorewall 5.0 CLI.<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The <i>options<\/i> are:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u22124<\/b><\/p>\n<p style=\"margin-left:17%;\">Added in Shorewall 5.1.0. Causes the command to operate on the Shorewall configuration or the Shorewall\u2212lite configuration. It is the default when either of those products is installed and when the command is <b>shorewall<\/b> or <b>shorewall\u2212lite<\/b>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u22126<\/b><\/p>\n<p style=\"margin-left:17%;\">Added in Shorewall 5.1.0. Causes the command to operate on the Shorewall6 or Shorewall6\u2212lite configuration. It is the default when only Shorewall6\u2212lite is installed and when the command is <b>shorewall6<\/b> or <b>shorewall6\u2212lite<\/b>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212l<\/b><\/p>\n<p style=\"margin-left:17%;\">Added in Shorewall 5.1.0. Causes the command to operate on either Shorewall\u2212lite or Shorewall\u22126 lite and is the default when Shorewall is not installed or when the command is <b>shorewall\u2212lite<\/b> or <b>shorewall6\u2212lite<\/b>.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">With all four firewall products (Shorewall, Shorewall6, Shorewall\u2212lite and Shorewall6\u2212lite) installed, the following table shows the correspondence between the name used to invoke the command and the <b>shorewall<\/b> command with the above three options.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><b>Table\u00a01.\u00a0All four products installed<\/b><\/p>\n<\/table>\n<p align=\"center\"><b><img decoding=\"async\" src=\"grohtml-1157591.png\" alt=\"Image grohtml-1157591.png\"><\/b><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">The next table shows the correspondence when only Shorewall\u2212lite and Shorewall6\u2212lite are installed.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><b>Table\u00a02.\u00a0Only Shorewall\u2212lite and Shorewall6\u2212lite installed<\/b><\/p>\n<p align=\"center\"><b><img decoding=\"async\" src=\"grohtml-1157592.png\" alt=\"Image grohtml-1157592.png\"><\/b><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Note that when Shorewall isn&#8217;t installed, the &#8216;shorewall&#8217; command behaves like shorewall\u2212lite. The same is not true with respect to Shorewall6, &#8220;shorewall6&#8243; and &#8216;shorewall6\u2212lite&#8221;. You can make &#8216;shorewall6&#8217; behave like &#8216;shorewallt\u2212lite&#8217; by adding the following command to root&#8217;s .profile file (or to .bashrc, if root&#8217;s shell is bash):<\/p>\n<p style=\"margin-left:23%; margin-top: 1em\">alias shorewall6=shorewall6\u2212lite<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212v<\/b>[<i>verbosity<\/i>]<\/p>\n<p style=\"margin-left:17%;\">Alters the amount of output produced by the command. If neither the <b>\u2212v<\/b> nor <b>\u2212q<\/b> option are specified, the amount of output is determined by the VERBOSITY setting in <b><font color=\"#0000FF\">shorewall.conf<\/font><\/b> <small><font color=\"#000000\">[1]<\/font><\/small> <font color=\"#000000\">(5) (<\/font><b><font color=\"#0000FF\">shorewall6.conf<\/font><\/b> <small><font color=\"#000000\">[1]<\/font><\/small> <font color=\"#000000\">(5)).<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">When no <i>verbosity<\/i> is specified, each instance of this option causes 1 to be added to the effective verbosity. When <i>verbosity<\/i> (\u22121,0,1 or 2) is given, the command is executed at the specified VERBOSITY. There may be no white\u2212space between <b>\u2212v<\/b> and the <i>verbosity<\/i>.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><b>\u2212q<\/b><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Alters the amount of output produced by the command. If neither the <b>\u2212v<\/b> nor <b>\u2212q<\/b> option are specified, the amount of output is determined by the VERBOSITY setting in<\/font> <b><font color=\"#0000FF\">shorewall.conf<\/font><\/b> <small><font color=\"#000000\">[1]<\/font><\/small> <font color=\"#000000\">(5) (<\/font><b><font color=\"#0000FF\">shorewall6.conf<\/font><\/b> <small><font color=\"#000000\">[1]<\/font><\/small> <font color=\"#000000\">(5)).<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">Each instance of this option causes 1 to be subtracted from the effective verbosity.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><b>\u2212t<\/b><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Causes all progress messages to be timestamped.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\u2212T<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Added in Shorewall 5.2.4 to replace the earlier <b>trace<\/b> keyword.. If the command invokes the generated firewall script, the script&#8217;s execution will be traced to standard error.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\u2212D<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Added in Shorewall 5.2.4 to replace the earlier debug keyword. If the command invokes the generated firewall script, individual invocations of the ip[6]tables utility will be used to configure the ruleset rather than ip[6]tables\u2212restore. This is useful for diagnosing ip[6]tables\u2212restore failures on a *COMMIT command.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><b><big>Note<\/big><\/b> <br \/> Prior to Shorewall 5.2.4, the general syntax for a CLI command was:<\/font><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"17%\"><\/td>\n<td width=\"83%\">\n<p style=\"margin-top: 1em\"><font color=\"#000000\">[<b>trace|debug<\/b>] [<b>nolock<\/b>] [<i>options<\/i>] <i>command<\/i> [<i>command\u2212options<\/i>] [<i>command\u2212arguments<\/i>]<\/font><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">Examples:<\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\">shorewall debug \u2212tv2 reload <br \/> shorewall trace check <br \/> shorewall nolock enable eth0<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">In Shorewall 5.2.4 and later, those commands would be:<\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\">shorewall \u2212Dtv2 reload <br \/> shorewall check \u2212D <br \/> shorewall \u2212N enable eth0<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">While not shown in the command synopses at the top of this page, the <b>nolock<\/b> keyword is still supported in Shorewall 5.2.4 and later, but is deprecated in favor of the \u2212<b>N<\/b> option.<\/font><\/p>\n<h2>COMMANDS <a name=\"COMMANDS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">The available commands are listed below.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><b>add<\/b> { <i>interface<\/i>[:<i>host\u2212list<\/i>]&#8230; <i>zone<\/i> | <i>zone host\u2212list<\/i> }<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Adds a list of hosts or subnets to a dynamic zone usually used with VPN&#8217;s.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">The <i>interface<\/i> argument names an interface defined in the<\/font> <b><font color=\"#0000FF\">shorewall\u2212interfaces<\/font><\/b> <small><font color=\"#000000\">[2]<\/font><\/small> <font color=\"#000000\">(5) (<\/font><b><font color=\"#0000FF\">shorewall6\u2212interfaces<\/font><\/b> <small><font color=\"#000000\">[2]<\/font><\/small> <font color=\"#000000\">(5))file. A <i>host\u2212list<\/i> is comma\u2212separated list whose elements are host or network addresses..if n .sp<\/font><\/p>\n<p style=\"margin-left:23%;\"><font color=\"#000000\"><b><big>Caution<\/big><\/b> <br \/> The <b>add<\/b> command is not very robust. If there are errors in the <i>host\u2212list<\/i>, you may see a large number of error messages yet a subsequent <b>shorewall show zones<\/b> command will indicate that all hosts were added. If this happens, replace <b>add<\/b> by <b>delete<\/b> and run the same command again. Then enter the correct command.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">Beginning with Shorewall 4.5.9, the <b>dynamic_shared<\/b> zone option (<\/font><b><font color=\"#0000FF\">shorewall\u2212zones<\/font><\/b> <small><font color=\"#000000\">[3]<\/font><\/small> <font color=\"#000000\">(5),<\/font><b><font color=\"#0000FF\">shorewall6\u2212zones<\/font><\/b> <small><font color=\"#000000\">[3]<\/font><\/small> <font color=\"#000000\">(5)) allows a single ipset to handle entries for multiple interfaces. When that option is specified for a zone, the <b>add<\/b> command has the alternative syntax in which the <i>zone<\/i> name precedes the <i>host\u2212list<\/i>.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><b><big>allow<\/big><\/b> <big><i>address<\/i><\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>Re\u2212enables receipt of packets from hosts previously blacklisted by a <b>blacklist<\/b>, <b>drop<\/b>, <b>logdrop<\/b>, <b>reject<\/b>, or <b>logreject<\/b> command.<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>blacklist[!]<\/b> <i>address<\/i> [ <i>option<\/i> &#8230; ]<\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>Added in Shorewall 5.0.8 and requires DYNAMIC_BLACKLIST=ipset.. in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5). Causes packets from the given host or network <i>address<\/i> to be dropped, based on the setting of BLACKLIST in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5). The <i>address<\/i> along with any <i>option<\/i>s are passed to the <b>ipset add<\/b> command. Probably the most useful <i>option<\/i> is the <b>timeout<\/b> option. For example, to permanently blacklist 192.0.2.22, the command would be:<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big>shorewall blacklist 192.0.2.22 timeout 0<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>Beginning with Shorewall 5.2.5, the above command can be shortened to:<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big>shorewall blacklist! 192.0.2.22<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>If the <b>disconnect<\/b> option is specified in the DYNAMIC_BLACKLISTING setting, then the effective VERBOSITY determines the amount of information displayed:<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big>\u2022 If the effective verbosity is > 0, then a message giving the number of conntrack flows deleted by the command is displayed.<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big>\u2022 If the effective verbosity is > 1, then the conntrack table entries deleted by the command are also displayed.<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>call<\/b> <i>function<\/i> <b>[<\/b> <i>parameter<\/i> <b>&#8230; ]<\/b><\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>Added in Shorewall 4.6.10. Allows you to call a function in one of the Shorewall libraries or in your compiled script. function must name the shell function to be called. The listed parameters are passed to the function.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>The function is first searched for in lib.base, lib.common, lib.cli and lib.cli\u2212std. If it is not found, the call command is passed to the generated script to be executed.<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>check<\/b> [\u2212<b>e<\/b>] [\u2212<b>d<\/b>] [\u2212<b>p<\/b>] [\u2212<b>r<\/b>] [\u2212<b>T<\/b>] [\u2212<b>i<\/b>] [\u2212D][<i>directory<\/i>]<\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>Not available with Shorewall[6]\u2212lite.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>Compiles the configuration in the specified <i>directory<\/i> and discards the compiled output script. If no <i>directory<\/i> is given, then \/etc\/shorewall is assumed.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212e<\/b> option causes the compiler to look for a file named capabilities. This file is produced using the command <b>shorewall\u2212lite show \u2212f capabilities > capabilities<\/b> on a system with Shorewall Lite installed.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212d<\/b> option causes the compiler to be run under control of the Perl debugger.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212p<\/b> option causes the compiler to be profiled via the Perl <b>\u2212wd:DProf<\/b> command\u2212line option.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212r<\/b> option was added in Shorewall 4.5.2 and causes the compiler to print the generated ruleset to standard out.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212T<\/b> option was added in Shorewall 4.4.20 and causes a Perl stack trace to be included with each compiler\u2212generated error and warning message.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212i<\/b> option was added in Shorewall 4.6.0 and causes a warning message to be issued if the current line contains alternative input specifications following a semicolon (&#8220;;&#8221;). Such lines will be handled incorrectly if INLINE_MATCHES is set to Yes in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5) (<\/big><\/font><big><b><font color=\"#0000FF\">shorewall6.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5)).<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212D<\/b> option was added in Shoewall 5.2.4 and causes the compiler to write a large amount of debugging information to standard output.<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>clear<\/b> [\u2212<b>f<\/b>]<\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>Clear will remove all rules and chains installed by Shorewall. The firewall is then wide open and unprotected. Existing connections are untouched. Clear is often used to see if the firewall is causing connection problems.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>If <b>\u2212f<\/b> is given, the command will be processed by the compiled script that executed the last successful <b>start<\/b>, <b>restart<\/b> or <b>reload<\/b> command if that script exists.<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>close<\/b> { <i>open\u2212number<\/i> | <i>source dest<\/i> [ <i>protocol<\/i> [ <i>port<\/i> ] ] }<\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>Added in Shorewall 4.5.8. This command closes a temporary open created by the <b>open<\/b> command. In the first form, an <i>open\u2212number<\/i> specifies the open to be closed. Open numbers are displayed in the <b>num<\/b> column of the output of the <b>shorewall show opens<\/b> command.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>When the second form of the command is used, the parameters must match those given in the earlier <b>open<\/b> command.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>This command requires that the firewall be in the started state and that DYNAMIC_BLACKLIST=Yes in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf (5)<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>.<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>compile<\/b> [\u2212<b>e<\/b>] [\u2212<b>c<\/b>] [\u2212<b>d<\/b>] [\u2212<b>p<\/b>] [\u2212<b>T<\/b>] [\u2212<b>i<\/b>] [\u2212D] [ <i>directory<\/i> ] [ <i>pathname<\/i> ]<\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>Not available with shorewall[6]\u2212lite.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>Compiles the current configuration into the executable file <i>pathname<\/i>. If a <i>directory<\/i> is supplied, Shorewall will look in that directory first for configuration files. If the <i>pathname<\/i> is omitted, the file firewall in the VARDIR (normally \/var\/lib\/shorewall\/) is assumed. A <i>pathname<\/i> of &#8216;\u2212&#8217; causes the compiler to send the generated script to it&#8217;s standard output file. Note that &#8216;\u2212v\u22121&#8217; is usually specified in this case (e.g., <b>shorewall \u2212v\u22121 compile \u2212\u2212 \u2212<\/b>) to suppress the &#8216;Compiling&#8230;&#8217; message normally generated by \/sbin\/shorewall.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>When <b>\u2212e<\/b> is specified, the compilation is being performed on a system other than where the compiled script will run. This option disables certain configuration options that require the script to be compiled where it is to be run. The use of <b>\u2212e<\/b> requires the presence of a configuration file named capabilities which may be produced using the command <b>shorewall\u2212lite show \u2212f capabilities > capabilities<\/b> on a system with Shorewall Lite installed<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212c<\/b> option was added in Shorewall 4.5.17 and causes conditional compilation of a script. The script specified by <i>pathname<\/i> (or implied if <b>pathname<\/b> is omitted) is compiled if it doesn&#8217;t exist or if there is any file in the <i>directory<\/i> or in a directory on the CONFIG_PATH that has a modification time later than the file to be compiled. When no compilation is needed, a message is issued and an exit status of zero is returned.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212d<\/b> option causes the compiler to be run under control of the Perl debugger.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212p<\/b> option causes the compiler to be profiled via the Perl <b>\u2212wd:DProf<\/b> command\u2212line option.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212T<\/b> option was added in Shorewall 4.4.20 and causes a Perl stack trace to be included with each compiler\u2212generated error and warning message.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212i<\/b> option was added in Shorewall 4.6.0 and causes a warning message to be issued if the current line contains alternative input specifications following a semicolon (&#8220;;&#8221;). Such lines will be handled incorrectly if INLINE_MATCHES is set to Yes in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5) (<\/big><\/font><big><b><font color=\"#0000FF\">shorewall6.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5)).<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212D<\/b> option was added in Shoewall 5.2.4 and causes the compiler to write a large amount of debugging information to standard output.<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>delete<\/b> { <i>interface<\/i>[:<i>host\u2212list<\/i>]&#8230; <i>zone<\/i> | <i>zone host\u2212list<\/i> }<\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>The delete command reverses the effect of an earlier <b>add<\/b> command.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>The <i>interface<\/i> argument names an interface defined in the<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212interfaces<\/font><\/b><\/big> <font color=\"#000000\">[2] <big>(5) (<\/big><\/font><big><b><font color=\"#0000FF\">shorewall6\u2212interfaces<\/font><\/b><\/big> <font color=\"#000000\">[2] <big>(5) file. A <i>host\u2212list<\/i> is comma\u2212separated list whose elements are a host or network address.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>Beginning with Shorewall 4.5.9, the <b>dynamic_shared<\/b> zone option (<\/big><\/font><big><b><font color=\"#0000FF\">shorewall\u2212zones<\/font><\/b><\/big> <font color=\"#000000\">[3] <big>(5),<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall6\u2212zones<\/font><\/b><\/big> <font color=\"#000000\">[3] <big>(5)) allows a single ipset to handle entries for multiple interfaces. When that option is specified for a zone, the <b>delete<\/b> command has the alternative syntax in which the <i>zone<\/i> name precedes the <i>host\u2212list<\/i>.<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>disable<\/b> { <i>interface<\/i> | <i>provider<\/i> }<\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>Added in Shorewall 4.4.26. Disables the optional provider associated with the specified <i>interface<\/i> or <i>provider<\/i>. Where more than one provider share a single network interface, a <i>provider<\/i> name must be given.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>Beginning with Shorewall 4.5.10, this command may be used with any optional network interface. <i>interface<\/i> may be either the logical or physical name of the interface. The command removes any routes added from<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212routes<\/font><\/b><\/big> <font color=\"#000000\">[4] <big>(5) (<\/big><\/font><big><b><font color=\"#0000FF\">shorewall6\u2212routes<\/font><\/b><\/big> <font color=\"#000000\">[4] <big>(5))and any traffic shaping configuration for the interface.<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>drop<\/b> <i>address<\/i><\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>Causes traffic from the listed <i>address<\/i>es to be silently dropped. This command requires that the firewall be in the started state and that DYNAMIC_BLACKLIST=Yes in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf (5)<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>.<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>dump<\/b> [\u2212<b>x<\/b>] [\u2212<b>l<\/b>] [\u2212<b>m<\/b>] [\u2212<b>c<\/b>]<\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>Produces a verbose report about the firewall configuration for the purpose of problem analysis.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212x<\/b> option causes actual packet and byte counts to be displayed. Without that option, these counts are abbreviated.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212m<\/b> option causes any MAC addresses included in Shorewall log messages to be displayed.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212l<\/b> option causes the rule number for each Netfilter rule to be displayed.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212c<\/b> option causes the route cache to be dumped in addition to the other routing information.<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>enable<\/b> { <i>interface<\/i> | <i>provider<\/i> }<\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>Added in Shorewall 4.4.26. Enables the optional provider associated with the specified <i>interface<\/i> or <i>provider<\/i>. Where more than one provider share a single network interface, a <i>provider<\/i> name must be given.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>Beginning with Shorewall 4.5.10, this command may be used with any optional network interface. <i>interface<\/i> may be either the logical or physical name of the interface. The command sets \/proc entries for the interface, adds any route specified in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212routes<\/font><\/b><\/big> <font color=\"#000000\">[4] <big>(5) (<\/big><\/font><big><b><font color=\"#0000FF\">shorewall6\u2212routes<\/font><\/b><\/big> <font color=\"#000000\">[4] <big>(5)) and installs the interface&#8217;s traffic shaping configuration, if any.<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>export<\/b> [ <i>directory1<\/i> ] [ <i>user<\/i>@]<i>system<\/i>[:<i>directory2<\/i> ]<\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>Not available with Shorewall[6]\u2212lite.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>If <i>directory1<\/i> is omitted, the current working directory is assumed.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>Allows a non\u2212root user to compile a shorewall script and stage it on a system (provided that the user has access to the system via ssh). The command is equivalent to:<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big><b>\/sbin\/shorewall compile \u2212e<\/b> <i>directory1 directory1<\/i><b>\/firewall &#038;&#038; <br \/> scp<\/b> directory1<b>\/firewall<\/b> <i>directory1<\/i><b>\/firewall.conf<\/b> [<i>user<\/i>@]<b>system<\/b>:[<i>directory2<\/i>]<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>In other words, the configuration in the specified (or defaulted) directory is compiled to a file called firewall in that directory. If compilation succeeds, then firewall and firewall.conf are copied to <i>system<\/i> using scp.<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>forget<\/b> [ <i>filename<\/i> ]<\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>Deletes \/var\/lib\/shorewall\/<i>filename<\/i> and \/var\/lib\/shorewall\/save. If no <i>filename<\/i> is given then the file specified by RESTOREFILE in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5) (<\/big><\/font><big><b><font color=\"#0000FF\">shorewall6.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5)) is assumed.<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>help<\/b><\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>Displays a syntax summary.<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>hits<\/b> [\u2212<b>t<\/b>]<\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>Generates several reports from Shorewall log messages in the current log file. If the <b>\u2212t<\/b> option is included, the reports are restricted to log messages generated today. Not available with Shorewall6[\u2212lite].<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>ipcalc<\/b> { address mask | address\/vlsm }<\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>Ipcalc displays the network address, broadcast address, network in CIDR notation and netmask corresponding to the input[s]. Not available with Shorewall6[\u2212lite].<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>iprange<\/b> <i>address1<\/i>\u2212<i>address2<\/i><\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>Iprange decomposes the specified range of IP addresses into the equivalent list of network\/host addresses. Not available with Shorewall6[\u2212lite].<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>iptrace<\/b> <i>iptables match expression<\/i><\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>This is a low\u2212level debugging command that causes iptables TRACE log records to be created. See iptables(8) for details.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>The <i>iptables match expression<\/i> must be one or more matches that may appear in both the raw table OUTPUT and raw table PREROUTING chains.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>The log message destination is determined by the currently\u2212selected IPv4 or IPv6<\/big><\/font> <big><b><font color=\"#0000FF\">logging backend<\/font><\/b><\/big> <font color=\"#000000\">[5] <big>.<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>list<\/b><\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big><b>list<\/b> is a synonym for <b>show<\/b> \u2212\u2212 please see below.<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>logdrop<\/b> <i>address<\/i><\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>Causes traffic from the listed <i>address<\/i>es to be logged then discarded. Logging occurs at the log level specified by the BLACKLIST_LOGLEVEL setting in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5) (<\/big><\/font><big><b><font color=\"#0000FF\">shorewall6.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5)). This command requires that the firewall be in the started state and that DYNAMIC_BLACKLIST=Yes in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf (5)<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>.<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>logwatch<\/b> [\u2212<b>m<\/b>] [ <i>refresh\u2212interval<\/i> ]<\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>Monitors the log file specified by the LOGFILE option in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5) (<\/big><\/font><big><b><font color=\"#0000FF\">shorewall6.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5)) and produces an audible alarm when new Shorewall messages are logged. The <b>\u2212m<\/b> option causes the MAC address of each packet source to be displayed if that information is available. The <i>refresh\u2212interval<\/i> specifies the time in seconds between screen refreshes. You can enter a negative number by preceding the number with &#8220;\u2212\u2212&#8221; (e.g., <b>shorewall logwatch \u2212\u2212 \u221230<\/b>). In this case, when a packet count changes, you will be prompted to hit any key to resume screen refreshes.<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>logreject<\/b> <i>address<\/i><\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>Causes traffic from the listed <i>address<\/i>es to be logged then rejected. Logging occurs at the log level specified by the BLACKLIST_LOGLEVEL setting in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5), (<\/big><\/font><big><b><font color=\"#0000FF\">shorewall6.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5)). This command requires that the firewall be in the started state and that DYNAMIC_BLACKLIST=Yes in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf (5)<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>.<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>ls<\/b><\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big><b>ls<\/b> is a synonym for <b>show<\/b> \u2212\u2212 please see below.<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>noiptrace<\/b> <i>iptables match expression<\/i><\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>This is a low\u2212level debugging command that cancels a trace started by a preceding <b>iptrace<\/b> command.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>The <i>iptables match expression<\/i> must be one given in the <b>iptrace<\/b> command being canceled.<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>open<\/b> <i>source dest<\/i> [ <i>protocol<\/i> [ <i>port<\/i> ] ]<\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>Added in Shorewall 4.6.8. This command requires that the firewall be in the started state and that DYNAMIC_BLACKLIST=Yes in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf (5)<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>. The effect of the command is to temporarily open the firewall for connections matching the parameters.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>The <i>source<\/i> and <i>dest<\/i> parameters may each be specified as <b>all<\/b> if you don&#8217;t wish to restrict the connection source or destination respectively. Otherwise, each must contain a host or network address or a valid DNS name.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>The <i>protocol<\/i> may be specified either as a number or as a name listed in \/etc\/protocols. The <i>port<\/i> may be specified numerically or as a name listed in \/etc\/services.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>To reverse the effect of a successful <b>open<\/b> command, use the <b>close<\/b> command with the same parameters or simply restart the firewall.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>Example: To open the firewall for SSH connections to address 192.168.1.1, the command would be:<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big>shorewall open all 192.168.1.1 tcp 22<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>To reverse that command, use:<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big>shorewall close all 192.168.1.1 tcp 22<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>reenable<\/b>{ <i>interface<\/i> | <i>provider<\/i> }<\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>Added in Shorewall 4.6.9. This is equivalent to a <b>disable<\/b> command followed by an <b>enable<\/b> command on the specified <i>interface<\/i> or <i>provider<\/i>.<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>reject<\/b> <i>address<\/i><\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>Causes traffic from the listed <i>address<\/i>es to be silently rejected. This command requires that the firewall be in the started state and that DYNAMIC_BLACKLIST=Yes in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf (5)<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>.<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>reload<\/b> [\u2212<b>n<\/b>] [\u2212<b>p<\/b>] [\u2212<b>d<\/b>] [\u2212<b>f<\/b>] [\u2212<b>c<\/b>] [\u2212<b>T<\/b>] [\u2212<b>i<\/b>] [\u2212<b>C<\/b>] [\u2212D] [ <i>directory<\/i> ]<\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>This command was re\u2212implemented in Shorewall 5.0.0. The pre\u22125.0.0 <b>reload<\/b> command is now called <b>remote\u2212restart<\/b> (see below).<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>Shorewall and Shorewall6<\/big><\/font><\/p>\n<p style=\"margin-left:23%;\"><font color=\"#000000\"><big>Reload is similar to <b>shorewall start<\/b> except that it assumes that the firewall is already started. Existing connections are maintained. If a <i>directory<\/i> is included in the command, Shorewall will look in that <i>directory<\/i> first for configuration files.<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212n<\/b> option causes Shorewall to avoid updating the routing table(s).<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212p<\/b> option causes the connection tracking table to be flushed; the <b>conntrack<\/b> utility must be installed to use this option.<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212d<\/b> option causes the compiler to run under the Perl debugger.<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212f<\/b> option suppresses the compilation step and simply reused the compiled script which last started\/restarted Shorewall, provided that \/etc\/shorewall and its contents have not been modified since the last start\/restart.<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212c<\/b> option was added in Shorewall 4.4.20 and performs the compilation step unconditionally, overriding the AUTOMAKE setting in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5) (Shorewall and Shorewall6 only). When both <b>\u2212f<\/b> and <b>\u2212c<\/b> are present, the result is determined by the option that appears last.<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212T<\/b> option was added in Shorewall 4.5.3 and causes a Perl stack trace to be included with each compiler\u2212generated error and warning message.<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212i<\/b> option was added in Shorewall 4.6.0 and causes a warning message to be issued if the current line contains alternative input specifications following a semicolon (&#8220;;&#8221;). Such lines will be handled incorrectly if INLINE_MATCHES is set to Yes in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5) (<\/big><\/font><big><b><font color=\"#0000FF\">shorewall6.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5))..<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212C<\/b> option was added in Shorewall 4.6.5 and is only meaningful when AUTOMAKE=Yes in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5) (<\/big><\/font><big><b><font color=\"#0000FF\">shorewall6.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5)). If an existing firewall script is used and if that script was the one that generated the current running configuration, then the running netfilter configuration will be reloaded as is so as to preserve the iptables packet and byte counters.<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212D<\/b> option was added in Shoewall 5.2.4 and causes the compiler to write a large amount of debugging information to standard output.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>Shorewall\u2212lite and Shorewall6\u2212lite<\/big><\/font><\/p>\n<p style=\"margin-left:23%;\"><font color=\"#000000\"><big>Reload is similar to <b>shorewall start<\/b> except that it assumes that the firewall is already started. Existing connections are maintained.<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212n<\/b> option causes Shorewall to avoid updating the routing table(s).<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212p<\/b> option causes the connection tracking table to be flushed; the <b>conntrack<\/b> utility must be installed to use this option.<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212C<\/b> option was added in Shorewall 4.6.5 If the existing firewall script is the one that generated the current running configuration, then the running netfilter configuration will be reloaded as is so as to preserve the iptables packet and byte counters.<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>remote\u2212getcaps<\/b> [\u2212<b>R<\/b>] [\u2212<b>r<\/b> <i>root\u2212user\u2212name<\/i>] [ [ \u2212D ] <i>directory<\/i> ] [ <i>system<\/i> ]<\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>Added in Shoreall 5.2.0, this command executes <b>shorewall[6]\u2212lite show capabilities \u2212f > \/var\/lib\/shorewall[6]\u2212lite\/capabilities<\/b> on the remote <i>system<\/i> via ssh then the generated file is copied to <i>directory<\/i> on the local system. If no <i>directory<\/i> is given, the current working directory is assumed.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>if <b>\u2212R<\/b> is included, the remote shorewallrc file is also copied to <i>directory<\/i>.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>If <b>\u2212r<\/b> is included, it specifies that the root user on <i>system<\/i> is named <i>root\u2212user\u2212name<\/i> rather than &#8220;root&#8221;.<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>remote\u2212getrc<\/b> [\u2212<b>c<\/b>] [\u2212<b>r<\/b> <i>root\u2212user\u2212name<\/i>] [ [ \u2212D ] <i>directory<\/i> ] [ <i>system<\/i> ]<\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>Added in Shoreall 5.2.0, this command copies the shorewallrc file from the remote <i>system<\/i> to <i>directory<\/i> on the local system. If no <i>directory<\/i> is given, the current working directory is assumed.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>if <b>\u2212c<\/b> is included, the remote capabilities are also copied to <i>directory<\/i>, as is done by the <b>remote\u2212getcaps<\/b> command.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>If <b>\u2212r<\/b> is included, it specifies that the root user on <i>system<\/i> is named <i>root\u2212user\u2212name<\/i> rather than &#8220;root&#8221;.<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>remote\u2212start<\/b> [\u2212<b>n<\/b>] [\u2212<b>s<\/b>] [\u2212<b>c<\/b>] [\u2212<b>r<\/b> <i>root\u2212user\u2212name<\/i>] [\u2212<b>T<\/b>] [\u2212<b>i<\/b>] [ [ \u2212D ] <i>directory<\/i> ] [ <i>system<\/i> ]<\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>This command was renamed from <b>load<\/b> in Shorewall 5.0.0 and is only available in Shorewall and Shoreawall6.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>If <i>directory<\/i> is omitted, the current working directory is assumed. Allows a non\u2212root user to compile a shorewall script and install it on a system (provided that the user has root access to the system via ssh). The command is equivalent to:<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big><b>\/sbin\/shorewall compile \u2212e<\/b> <i>directory directory<\/i><b>\/firewall &#038;&#038; <br \/> scp<\/b> <i>directory<\/i><b>\/firewall<\/b> <i>directory<\/i><b>\/firewall.conf root@<\/b><i>system<\/i><b>:\/var\/lib\/shorewall\u2212lite\/ &#038;&#038; <br \/> ssh root@<\/b><i>system<\/i> <b>&#8216;\/sbin\/shorewall\u2212lite start&#8217;<\/b><\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>In other words, the configuration in the specified (or defaulted) directory is compiled to a file called firewall in that directory. If compilation succeeds, then firewall is copied to <i>system<\/i> using scp. If the copy succeeds, Shorewall Lite on <i>system<\/i> is started via ssh. Beginning with Shorewall 5.0.13, if <i>system<\/i> is omitted, then the FIREWALL option setting in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf<\/font><\/b><\/big> <font color=\"#000000\">[6] <big>(5) (<\/big><\/font><big><b><font color=\"#0000FF\">shorewall6.conf(5)<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>) is assumed. In that case, if you want to specify a <i>directory<\/i>, then the <b>\u2212D<\/b> option must be given.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212n<\/b> option causes Shorewall to avoid updating the routing table(s).<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>If <b>\u2212s<\/b> is specified and the <b>start<\/b> command succeeds, then the remote Shorewall\u2212lite configuration is saved by executing <b>shorewall\u2212lite save<\/b> via ssh.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>if <b>\u2212c<\/b> is included, the command <b>shorewall[6]\u2212lite show capabilities \u2212f > \/var\/lib\/shorewall[6]\u2212lite\/capabilities<\/b> is executed via ssh then the generated file is copied to <i>directory<\/i> using scp. This step is performed before the configuration is compiled.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>If <b>\u2212r<\/b> is included, it specifies that the root user on <i>system<\/i> is named <i>root\u2212user\u2212name<\/i> rather than &#8220;root&#8221;.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212T<\/b> option was added in Shorewall 4.5.3 and causes a Perl stack trace to be included with each compiler\u2212generated error and warning message.<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>remote\u2212reload<\/b> [\u2212<b>s<\/b>] [\u2212<b>c<\/b>] [\u2212<b>r<\/b> <i>root\u2212user\u2212name<\/i>] [\u2212<b>T<\/b>] [\u2212<b>i<\/b>] [ [ \u2212D ] <i>directory<\/i> ] [ <i>system<\/i> ]<\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>This command was added in Shorewall 5.0.0 and is only available in Shorewall and Shorewall6.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>If <i>directory<\/i> is omitted, the current working directory is assumed. Allows a non\u2212root user to compile a shorewall script and install it on a system (provided that the user has root access to the system via ssh). The command is equivalent to:<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big><b>\/sbin\/shorewall compile \u2212e<\/b> <i>directory directory<\/i><b>\/firewall &#038;&#038; <br \/> scp<\/b> <i>directory<\/i><b>\/firewall<\/b> <i>directory<\/i><b>\/firewall.conf root@<\/b><i>system<\/i><b>:\/var\/lib\/shorewall\u2212lite\/ &#038;&#038; <br \/> ssh root@<\/b><i>system<\/i> <b>&#8216;\/sbin\/shorewall\u2212lite reload&#8217;<\/b><\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>In other words, the configuration in the specified (or defaulted) directory is compiled to a file called firewall in that directory. If compilation succeeds, then firewall is copied to <i>system<\/i> using scp. If the copy succeeds, Shorewall Lite on <i>system<\/i> is restarted via ssh. Beginning with Shorewall 5.0.13, if <i>system<\/i> is omitted, then the FIREWALL option setting in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall6.conf(5)<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(<\/big><\/font><big><b><font color=\"#0000FF\">shorewall6.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5)) is assumed. In that case, if you want to specify a <i>directory<\/i>, then the <b>\u2212D<\/b> option must be given.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>If <b>\u2212s<\/b> is specified and the <b>restart<\/b> command succeeds, then the remote Shorewall\u2212lite configuration is saved by executing <b>shorewall\u2212lite save<\/b> via ssh.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>if <b>\u2212c<\/b> is included, the command <b>shorewall\u2212lite show capabilities \u2212f > \/var\/lib\/shorewall\u2212lite\/capabilities<\/b> is executed via ssh then the generated file is copied to <i>directory<\/i> using scp. This step is performed before the configuration is compiled.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>If <b>\u2212r<\/b> is included, it specifies that the root user on <i>system<\/i> is named <i>root\u2212user\u2212name<\/i> rather than &#8220;root&#8221;.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212T<\/b> option was added in Shorewall 4.5.3 and causes a Perl stack trace to be included with each compiler\u2212generated error and warning message.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212i<\/b> option was added in Shorewall 4.6.0 and causes a warning message to be issued if the current line contains alternative input specifications following a semicolon (&#8220;;&#8221;). Such lines will be handled incorrectly if INLINE_MATCHES is set to Yes in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5) (<\/big><\/font><big><b><font color=\"#0000FF\">shorewall6.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5)).<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>remote\u2212restart<\/b> [\u2212<b>s<\/b>] [\u2212<b>c<\/b>] [\u2212<b>r<\/b> <i>root\u2212user\u2212name<\/i>] [\u2212<b>T<\/b>] [\u2212<b>i<\/b>] [ [ \u2212D ] <i>directory<\/i> ] [ <i>system<\/i> ]<\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>This command was renamed from <b>reload<\/b> in Shorewall 5.0.0 and is available in Shorewall and Shorewall6 only.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>If <i>directory<\/i> is omitted, the current working directory is assumed. Allows a non\u2212root user to compile a shorewall script and install it on a system (provided that the user has root access to the system via ssh). The command is equivalent to:<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big><b>\/sbin\/shorewall compile \u2212e<\/b> <i>directory directory<\/i><b>\/firewall &#038;&#038; <br \/> scp<\/b> <i>directory<\/i><b>\/firewall<\/b> <i>directory<\/i><b>\/firewall.conf root@<\/b><i>system<\/i><b>:\/var\/lib\/shorewall\u2212lite\/ &#038;&#038; <br \/> ssh root@<\/b><i>system<\/i> <b>&#8216;\/sbin\/shorewall\u2212lite restart&#8217;<\/b><\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>In other words, the configuration in the specified (or defaulted) directory is compiled to a file called firewall in that directory. If compilation succeeds, then firewall is copied to <i>system<\/i> using scp. If the copy succeeds, Shorewall Lite on <i>system<\/i> is restarted via ssh. Beginning with Shorewall 5.0.13, if <i>system<\/i> is omitted, then the FIREWALL option setting in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall6.conf(5)<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(<\/big><\/font><big><b><font color=\"#0000FF\">shorewall6.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5)) is assumed. In that case, if you want to specify a <i>directory<\/i>, then the <b>\u2212D<\/b> option must be given.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>If <b>\u2212s<\/b> is specified and the <b>restart<\/b> command succeeds, then the remote Shorewall\u2212lite configuration is saved by executing <b>shorewall\u2212lite save<\/b> via ssh.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>if <b>\u2212c<\/b> is included, the command <b>shorewall\u2212lite show capabilities \u2212f > \/var\/lib\/shorewall\u2212lite\/capabilities<\/b> is executed via ssh then the generated file is copied to <i>directory<\/i> using scp. This step is performed before the configuration is compiled.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>If <b>\u2212r<\/b> is included, it specifies that the root user on <i>system<\/i> is named <i>root\u2212user\u2212name<\/i> rather than &#8220;root&#8221;.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212T<\/b> option was added in Shorewall 4.5.3 and causes a Perl stack trace to be included with each compiler\u2212generated error and warning message.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212i<\/b> option was added in Shorewall 4.6.0 and causes a warning message to be issued if the current line contains alternative input specifications following a semicolon (&#8220;;&#8221;). Such lines will be handled incorrectly if INLINE_MATCHES is set to Yes in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5) (<\/big><\/font><big><b><font color=\"#0000FF\">shorewall6.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5).<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>reset [<\/b><i>chain<\/i><b>, &#8230;]<\/b><\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>Resets the packet and byte counters in the specified <i>chain<\/i>(s). If no <i>chain<\/i> is specified, all the packet and byte counters in the firewall are reset.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>Beginning with Shorewall 5.0.0, <i>chain<\/i> may be composed of both a table name and a chain name separated by a colon (e.g., mangle:PREROUTING). Chain names following that don&#8217;t include a table name are assumed to be in that same table. If no table name is given in the command, the filter table is assumed.<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>restart<\/b> [\u2212<b>n<\/b>] [\u2212<b>p<\/b>] [\u2212<b>d<\/b>] [\u2212<b>f<\/b>] [\u2212<b>c<\/b>] [\u2212<b>T<\/b>] [\u2212<b>i<\/b>] [\u2212<b>C<\/b>] [\u2212D] [ <i>directory<\/i> ]<\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>Beginning with Shorewall 5.0.0, this command performs a true restart. The firewall is completely stopped as if a <b>stop<\/b> command had been issued then it is started again.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>Shorewall and Shorewall6<\/big><\/font><\/p>\n<p style=\"margin-left:23%;\"><font color=\"#000000\"><big>If a <i>directory<\/i> is included in the command, Shorewall will look in that <i>directory<\/i> first for configuration files.<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212n<\/b> option causes Shorewall to avoid updating the routing table(s).<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212p<\/b> option causes the connection tracking table to be flushed; the <b>conntrack<\/b> utility must be installed to use this option.<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212d<\/b> option causes the compiler to run under the Perl debugger.<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212f<\/b> option suppresses the compilation step and simply reused the compiled script which last started\/restarted Shorewall, provided that \/etc\/shorewall and its contents have not been modified since the last start\/restart.<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212c<\/b> option was added in Shorewall 4.4.20 and performs the compilation step unconditionally, overriding the AUTOMAKE setting in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5). When both <b>\u2212f<\/b> and <b>\u2212c<\/b> are present, the result is determined by the option that appears last.<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212T<\/b> option was added in Shorewall 4.5.3 and causes a Perl stack trace to be included with each compiler\u2212generated error and warning message.<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212i<\/b> option was added in Shorewall 4.6.0 and causes a warning message to be issued if the current line contains alternative input specifications following a semicolon (&#8220;;&#8221;). Such lines will be handled incorrectly if INLINE_MATCHES is set to Yes in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5).<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212C<\/b> option was added in Shorewall 4.6.5 and is only meaningful when AUTOMAKE=Yes in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5). If an existing firewall script is used and if that script was the one that generated the current running configuration, then the running netfilter configuration will be reloaded as is so as to preserve the iptables packet and byte counters.<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212D<\/b> option was added in Shoewall 5.2.4 and causes the compiler to write a large amount of debugging information to standard output.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>Shorewall\u2212lite and Shorewall6\u2212lite<\/big><\/font><\/p>\n<p style=\"margin-left:23%;\"><font color=\"#000000\"><big>The <b>\u2212n<\/b> option causes Shorewall to avoid updating the routing table(s).<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212p<\/b> option causes the connection tracking table to be flushed; the <b>conntrack<\/b> utility must be installed to use this option.<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212C<\/b> option was added in Shorewall 4.6.5 If the existing firewall script is the one that generated the current running configuration, then the running netfilter configuration will be reloaded as is so as to preserve the iptables packet and byte counters.<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>restore<\/b> [\u2212<b>n<\/b>] [\u2212<b>p<\/b>] [\u2212<b>C<\/b>] [ <i>filename<\/i> ]<\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>Restore Shorewall to a state saved using the <b>shorewall save<\/b> command. Existing connections are maintained. The <i>filename<\/i> names a restore file in \/var\/lib\/shorewall created using <b>shorewall save<\/b>; if no <i>filename<\/i> is given then Shorewall will be restored from the file specified by the RESTOREFILE option in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5) (<\/big><\/font><big><b><font color=\"#0000FF\">shorewall6.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5)).<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big><b><big>Caution<\/big><\/b> <br \/> If your iptables ruleset depends on variables that are detected at run\u2212time, either in your params file or by Shorewall\u2212generated code, <b>restore<\/b> will use the values that were current when the ruleset was saved, which may be different from the current values.<\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>The <b>\u2212n<\/b> option causes Shorewall to avoid updating the routing table(s).<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212p<\/b> option, added in Shorewall 4.6.5, causes the connection tracking table to be flushed; the <b>conntrack<\/b> utility must be installed to use this option.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>The <b>\u2212C<\/b> option was added in Shorewall 4.6.5. If the <b>\u2212C<\/b> option was specified during <b>shorewall save<\/b>, then the counters saved by that operation will be restored.<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b><big>run<\/big><\/b> <big><i>command<\/i> [ <i>parameter<\/i> &#8230; ]<\/big><\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big><big>Added in Shorewall 4.6.3. Executes <i>command<\/i> in the context of the generated script passing the supplied <i>parameter<\/i>s. Normally, the <i>command<\/i> will be a function declared in lib.private.<\/big><\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big><big>Before executing the <i>command<\/i>, the script will detect the configuration, setting all SW_* variables and will run your init extension script with $COMMAND = &#8216;run&#8217;.<\/big><\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big><big>If there are files in the CONFIG_PATH that were modified after the current firewall script was generated, the following warning message is issued:<\/big><\/big><\/font><\/p>\n<p style=\"margin-left:23%;\"><font color=\"#000000\"><big><big>WARNING: \/var\/lib\/shorewall\/firewall is not up to <br \/> date<\/big><\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><big><b>safe\u2212reload<\/b> [\u2212<b>d<\/b>] [\u2212<b>p<\/b>] [\u2212<b>t<\/b> <i>timeout<\/i> ] [ <i>directory<\/i> ]<\/big><\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big><big>Added in Shorewall 5.0.0, this command performs the same function as did <b>safe_restart<\/b> in earlier releases. The command is available in Shorewall and Shorewall6 only.<\/big><\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big><big>Only allowed if Shorewall is running. The current configuration is saved in \/var\/lib\/shorewall\/safe\u2212reload (see the save command below) then a <b>shorewall reload<\/b> is done. You will then be prompted asking if you want to accept the new configuration or not. If you answer &#8220;n&#8221; or if you fail to answer within 60 seconds (such as when your new configuration has disabled communication with your terminal), the configuration is restored from the saved configuration. If a directory is given, then Shorewall will look in that directory first when opening configuration files.<\/big><\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big><big>Beginning with Shorewall 4.5.0, you may specify a different <i>timeout<\/i> value using the <b>\u2212t<\/b> option. The numeric <i>timeout<\/i> may optionally be followed by an <b>s<\/b>, <b>m<\/b> or <b>h<\/b> suffix (e.g., 5m) to specify seconds, minutes or hours respectively. If the suffix is omitted, seconds is assumed.<\/big><\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><big><b>safe\u2212restart<\/b> [\u2212<b>d<\/b>] [\u2212<b>p<\/b>] [\u2212<b>t<\/b> <i>timeout<\/i> ] [ <i>directory<\/i> ]<\/big><\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big><big>Only allowed if Shorewall[6] is running and is not available in Shorewall\u2212lite and Shorewall6\u2212lite. The current configuration is saved in \/var\/lib\/shorewall\/safe\u2212restart (see the save command below) then a <b>shorewall restart<\/b> is done. You will then be prompted asking if you want to accept the new configuration or not. If you answer &#8220;n&#8221; or if you fail to answer within 60 seconds (such as when your new configuration has disabled communication with your terminal), the configuration is restored from the saved configuration. If a directory is given, then Shorewall will look in that directory first when opening configuration files.<\/big><\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big><big>Beginning with Shorewall 4.5.0, you may specify a different <i>timeout<\/i> value using the <b>\u2212t<\/b> option. The numeric <i>timeout<\/i> may optionally be followed by an <b>s<\/b>, <b>m<\/b> or <b>h<\/b> suffix (e.g., 5m) to specify seconds, minutes or hours respectively. If the suffix is omitted, seconds is assumed.<\/big><\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><big><b>safe\u2212start<\/b> [\u2212<b>d<\/b>] [\u2212<b>p<\/b>] [\u2212<b>t<\/b><i>timeout<\/i> ] [ <i>directory<\/i> ]<\/big><\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big><big>Shorewall is started normally. You will then be prompted asking if everything went all right. If you answer &#8220;n&#8221; or if you fail to answer within 60 seconds (such as when your new configuration has disabled communication with your terminal), a shorewall clear is performed for you. If a directory is given, then Shorewall will look in that directory first when opening configuration files.<\/big><\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big><big>Beginning with Shorewall 4.5.0, you may specify a different <i>timeout<\/i> value using the <b>\u2212t<\/b> option. The numeric <i>timeout<\/i> may optionally be followed by an <b>s<\/b>, <b>m<\/b> or <b>h<\/b> suffix (e.g., 5m) to specify seconds, minutes or hours respectively. If the suffix is omitted, seconds is assumed.<\/big><\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big><big>This command is available in Shorewall and Shorewall6 only.<\/big><\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><big><b>save<\/b> [\u2212<b>C<\/b>] [ <i>filename<\/i> ]<\/big><\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big><big>Creates a snapshot of the currently running firewall. The dynamic blacklist is stored in \/var\/lib\/shorewall\/save. The state of the firewall is stored in \/var\/lib\/shorewall\/<i>filename<\/i> for use by the <b>shorewall restore<\/b> command. If <i>filename<\/i> is not given then the state is saved in the file specified by the RESTOREFILE option in<\/big><\/big><\/font> <big><big><b><font color=\"#0000FF\">shorewall.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5) (<\/big><\/font><big><b><font color=\"#0000FF\">shorewall6.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5)).<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big>The <b>\u2212C<\/b> option, added in Shorewall 4.6.5, causes the iptables packet and byte counters to be saved along with the chains and rules.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><font color=\"#000000\"><big><b>savesets<\/b><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><font color=\"#000000\"><big>Added in shorewall 4.6.8. Performs the same action as the <b>stop<\/b> command with respect to saving ipsets (see the SAVE_IPSETS option in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5) (<\/big><\/font><big><b><font color=\"#0000FF\">shorewall6.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5)). This command may be used to proactively save your ipset contents in the event that a system failure occurs prior to issuing a <b>stop<\/b> command.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><font color=\"#000000\"><big><b>show<\/b><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><font color=\"#000000\"><big>The show command can have a number of different arguments:<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big><b>action<\/b> <i>action<\/i><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><font color=\"#000000\"><big>Lists the named action file. Available on Shorewall and Shorewall6 only.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big><b>actions<\/b><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><font color=\"#000000\"><big>Produces a report about the available actions (built\u2212in, standard and user\u2212defined). Available on Shorewall and Shorewall6 only.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big><b>bl|blacklists<\/b> [\u2212<b>x<\/b>]<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><font color=\"#000000\"><big>Added in Shorewall 4.6.2. Displays the dynamic chain along with any chains produced by entries in shorewall\u2212blrules(5). The <b>\u2212x<\/b> option is passed directly through to iptables and causes actual packet and byte counts to be displayed. Without this option, those counts are abbreviated.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big>[\u2212<b>f<\/b>] <b>capabilities<\/b><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><font color=\"#000000\"><big>Displays your kernel\/iptables capabilities. The <b>\u2212f<\/b> option causes the display to be formatted as a capabilities file for use with <b>compile \u2212e<\/b>.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big>[\u2212<b>b<\/b>] [\u2212<b>x<\/b>] [\u2212<b>l<\/b>] [\u2212<b>t<\/b> {<b>filter<\/b>|<b>mangle<\/b>|<b>nat<\/b>|<b>raw<\/b>}] [ <i>chain<\/i>&#8230; ]<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><font color=\"#000000\"><big>The rules in each <i>chain<\/i> are displayed using the <b>iptables \u2212L<\/b> <i>chain<\/i> <b>\u2212n \u2212v<\/b> command. If no <i>chain<\/i> is given, all of the chains in the filter table are displayed. The <b>\u2212x<\/b> option is passed directly through to iptables and causes actual packet and byte counts to be displayed. Without this option, those counts are abbreviated. The <b>\u2212t<\/b> option specifies the Netfilter table to display. The default is <b>filter<\/b>.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><font color=\"#000000\"><big>The <b>\u2212b<\/b> (&#8216;brief&#8217;) option causes rules which have not been used (i.e. which have zero packet and byte counts) to be omitted from the output. Chains with no rules displayed are also omitted from the output.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><font color=\"#000000\"><big>The <b>\u2212l<\/b> option causes the rule number for each Netfilter rule to be displayed.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><font color=\"#000000\"><big>If the \u2212<b>t<\/b> option and the <b>chain<\/b> keyword are both omitted and any of the listed <i>chain<\/i>s do not exist, a usage message is displayed.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big><b>classifiers|filters<\/b><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><font color=\"#000000\"><big>Displays information about the packet classifiers defined on the system as a result of traffic shaping configuration. Beginning with Shorewall 5.2.8, this command is deprecated, as its output is included in the information displayed by the &#8216;show tc&#8217; command.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big><b>config<\/b><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><font color=\"#000000\"><big>Displays distribution\u2212specific defaults.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big><b>connections [<\/b><i>filter_parameter<\/i> <b>&#8230;]<\/b><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><font color=\"#000000\"><big>Displays the IP connections currently being tracked by the firewall.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><font color=\"#000000\"><big>If the <b>conntrack<\/b> utility is installed, beginning with Shorewall 4.6.11 the set of connections displayed can be limited by including conntrack filter parameters (\u2212p , \u2212s, \u2212\u2212dport, etc). See conntrack(8) for details.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big><b>event<\/b> <i>event<\/i><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><font color=\"#000000\"><big>Added in Shorewall 4.5.19. Displays the named event.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big><b>events<\/b><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><font color=\"#000000\"><big>Added in Shorewall 4.5.19. Displays all events.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big><b>ip<\/b><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><font color=\"#000000\"><big>Displays the system&#8217;s IPv4 configuration.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big><b>ipa<\/b><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><font color=\"#000000\"><big>Added in Shorewall 4.4.17. Displays the per\u2212IP accounting counters (<\/big><\/font><big><b><font color=\"#0000FF\">shorewall\u2212accounting<\/font><\/b><\/big> <font color=\"#000000\">[7] <big>(5),<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall6\u2212accounting<\/font><\/b><\/big> <font color=\"#000000\">[7] <big>(5)).<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big><b>ipsec<\/b><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><font color=\"#000000\"><big>Added in Shorewall 5.1.0. Displays the contents of the IPSEC Security Policy Database (SPD) and Security Association Database (SAD). SAD keys are not displayed.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big>[\u2212<b>m<\/b>] <b>log<\/b><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><font color=\"#000000\"><big>Displays the last 20 Shorewall messages from the log file specified by the LOGFILE option in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5) (<\/big><\/font><big><b><font color=\"#0000FF\">shorewall6.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5)). The <b>\u2212m<\/b> option causes the MAC address of each packet source to be displayed if that information is available.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big><b>macros<\/b><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><font color=\"#000000\"><big>Displays information about each macro defined on the firewall system (Shorewall and Shorewall6 only)<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big><b>macro<\/b> <i>macro<\/i><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><font color=\"#000000\"><big>Added in Shorewall 4.4.6. Displays the file that implements the specified <i>macro<\/i> (usually \/usr\/share\/shorewall\/macro.<i>macro<\/i>). Available only in Shorewall and Shorewall6.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big>[\u2212<b>x<\/b>] <b>mangle<\/b><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><font color=\"#000000\"><big>Displays the Netfilter mangle table using the command <b>iptables \u2212t mangle \u2212L \u2212n \u2212v<\/b>. The <b>\u2212x<\/b> option is passed directly through to iptables and causes actual packet and byte counts to be displayed. Without this option, those counts are abbreviated.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big><b>marks<\/b><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><font color=\"#000000\"><big>Added in Shorewall 4.4.26. Displays the various fields in packet marks giving the min and max value (in both decimal and hex) and the applicable mask (in hex).<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big>[\u2212<b>x<\/b>] <b>nat<\/b><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><font color=\"#000000\"><big>Displays the Netfilter nat table using the command <b>iptables \u2212t nat \u2212L \u2212n \u2212v<\/b>. The <b>\u2212x<\/b> option is passed directly through to iptables and causes actual packet and byte counts to be displayed. Without this option, those counts are abbreviated.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big><b>opens<\/b><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><font color=\"#000000\"><big>Added in Shorewall 4.5.8. Displays the iptables rules in the &#8216;dynamic&#8217; chain created through use of the <b>open<\/b> command..<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big><b>policies<\/b><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><font color=\"#000000\"><big>Added in Shorewall 4.4.4. Displays the applicable policy between each pair of zones. Note that implicit intrazone ACCEPT policies are not displayed for zones associated with a single network where that network doesn&#8217;t specify <b>routeback<\/b>.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big><b>rc<\/b><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><font color=\"#000000\"><big>Added in Shorewall 5.2.0. Displays the contents of $SHAREDIR\/shorewall\/shorewallrc.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big>[\u2212<b>c<\/b>] <b>routing<\/b><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><font color=\"#000000\"><big>Displays the system&#8217;s IPv4 routing configuration. The <b>\u2212c<\/b> option causes the route cache to be displayed along with the other routing information.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big>[\u2212<b>x<\/b>] <b>raw<\/b><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><font color=\"#000000\"><big>Displays the Netfilter raw table using the command <b>iptables \u2212t raw \u2212L \u2212n \u2212v<\/b>. The <b>\u2212x<\/b> option is passed directly through to iptables and causes actual packet and byte counts to be displayed. Without this option, those counts are abbreviated.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big>saves<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><font color=\"#000000\"><big>Added in Shorewall 5.2.0. Lists snapshots created by the <b>save<\/b> command. Each snapshot is listed with the date and time when it was taken. If there is a snapshot with the name specified in the RESTOREFILE option in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf(5<\/font><\/b><\/big> <font color=\"#000000\">[6] <big>), that snapshot is listed as the <i>default<\/i> snapshot for the <b>restore<\/b> command.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big><b>tc<\/b><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><font color=\"#000000\"><big>Displays information about queuing disciplines, classes and filters.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big><b>zones<\/b><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><font color=\"#000000\"><big>Displays the current composition of the Shorewall zones on the system.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><font color=\"#000000\"><big><b>start<\/b> [\u2212<b>n<\/b>] [\u2212<b>p<\/b>] [\u2212<b>d<\/b>] [\u2212<b>f<\/b>] [\u2212<b>c<\/b>] [\u2212<b>T<\/b>] [\u2212<b>i<\/b>] [\u2212<b>C<\/b>] [\u2212D] [ <i>directory<\/i> ]<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big>Shorewall and Shorewall6<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><font color=\"#000000\"><big>Start shorewall[6]. Existing connections through shorewall managed interfaces are untouched. New connections will be allowed only if they are allowed by the firewall rules or policies. If a <i>directory<\/i> is included in the command, Shorewall will look in that <i>directory<\/i> first for configuration files. If <b>\u2212f<\/b> is specified, the saved configuration specified by the RESTOREFILE option in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5) (<\/big><\/font><big><b><font color=\"#0000FF\">shorewall6.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5)) will be restored if that saved configuration exists and has been modified more recently than the files in \/etc\/shorewall. When <b>\u2212f<\/b> is given, a <i>directory<\/i> may not be specified.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><font color=\"#000000\"><big>Update: In Shorewall 4.4.20, a new LEGACY_FASTSTART option was added to<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5) (<\/big><\/font><big><b><font color=\"#0000FF\">shorewall6.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5)). When LEGACY_FASTSTART=No, the modification times of files in \/etc\/shorewall are compared with that of \/var\/lib\/shorewall\/firewall (the compiled script that last started\/restarted the firewall).<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><font color=\"#000000\"><big>The <b>\u2212n<\/b> option causes Shorewall to avoid updating the routing table(s).<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><font color=\"#000000\"><big>The <b>\u2212p<\/b> option causes the connection tracking table to be flushed; the <b>conntrack<\/b> utility must be installed to use this option.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><font color=\"#000000\"><big>The <b>\u2212c<\/b> option was added in Shorewall 4.4.20 and performs the compilation step unconditionally, overriding the AUTOMAKE setting in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5) (<\/big><\/font><big><b><font color=\"#0000FF\">shorewall6.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5)). When both <b>\u2212f<\/b> and <b>\u2212c<\/b>are present, the result is determined by the option that appears last.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><font color=\"#000000\"><big>The <b>\u2212T<\/b> option was added in Shorewall 4.5.3 and causes a Perl stack trace to be included with each compiler\u2212generated error and warning message.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><font color=\"#000000\"><big>The \u2212i option was added in Shorewall 4.6.0 and causes a warning message to be issued if the current line contains alternative input specifications following a semicolon (&#8220;;&#8221;). Such lines will be handled incorrectly if INLINE_MATCHES is set to Yes in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf(5)<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(<\/big><\/font><big><b><font color=\"#0000FF\">shorewall6.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5)).<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><font color=\"#000000\"><big>The <b>\u2212C<\/b> option was added in Shorewall 4.6.5 and is only meaningful when the <b>\u2212f<\/b> option is also specified. If the previously\u2212saved configuration is restored, and if the <b>\u2212C<\/b> option was also specified in the <b>save<\/b> command, then the packet and byte counters will be restored.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><font color=\"#000000\"><big>The <b>\u2212D<\/b> option was added in Shoewall 5.2.4 and causes the compiler to write a large amount of debugging information to standard output.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big>Shorewall\u2212lite and Shorewall6\u2212lite<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><font color=\"#000000\"><big>Start Shorewall[6] Lite. Existing connections through shorewall[6]\u2212lite managed interfaces are untouched. New connections will be allowed only if they are allowed by the firewall rules or policies.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><font color=\"#000000\"><big>The <b>\u2212p<\/b> option causes the connection tracking table to be flushed; the <b>conntrack<\/b> utility must be installed to use this option.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><font color=\"#000000\"><big>The <b>\u2212n<\/b> option prevents the firewall script from modifying the current routing configuration.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><font color=\"#000000\"><big>The <b>\u2212f<\/b> option was added in Shorewall 4.6.5. If the RESTOREFILE named in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf<\/font><\/b><\/big> <font color=\"#000000\">[6] <big>(5) exists, is executable and is not older than the current filewall script, then that saved configuration is restored.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><font color=\"#000000\"><big>The <b>\u2212C<\/b> option was added in Shorewall 4.6.5 and is only meaningful when the <b>\u2212f<\/b> option is also specified. If the previously\u2212saved configuration is restored, and if the <b>\u2212C<\/b> option was also specified in the <b>save<\/b> command, then the packet and byte counters will be restored.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><font color=\"#000000\"><big><b>stop<\/b><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><font color=\"#000000\"><big>Stops the firewall. All existing connections, except those listed in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212stoppedrules<\/font><\/b><\/big> <font color=\"#000000\">[8] <big>(5) or permitted by the ADMINISABSENTMINDED option in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>The only new traffic permitted through the firewall is from systems listed in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212stoppedrules<\/font><\/b><\/big> <font color=\"#000000\">[8] <big>(5) or by ADMINISABSENTMINDED.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><font color=\"#000000\"><big><b>status<\/b> [\u2212<b>i<\/b>]<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><font color=\"#000000\"><big>Produces a short report about the state of the Shorewall\u2212configured firewall.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big>The <b>\u2212i<\/b> option was added in Shorewall 4.6.2 and causes the status of each optional or provider interface to be displayed.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><font color=\"#000000\"><big><b>try<\/b> <i>directory<\/i> [ <i>timeout<\/i> ]<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><font color=\"#000000\"><big>This command is available in Shorewall and Shorewall6 only.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big>If Shorewall[6] is started then the firewall state is saved to a temporary saved configuration (\/var\/lib\/shorewall\/.try). Next, if Shorewall[6] is currently started then a <b>restart<\/b> command is issued using the specified configuration <i>directory<\/i>; otherwise, a <b>start<\/b> command is performed using the specified configuration <i>directory<\/i>. if an error occurs during the compilation phase of the <b>restart<\/b> or <b>start<\/b>, the command terminates without changing the Shorewall[6] state. If an error occurs during the <b>restart<\/b> phase, then a <b>shorewall restore<\/b> is performed using the saved configuration. If an error occurs during the <b>start<\/b> phase, then Shorewall is cleared. If the <b>start<\/b>\/<b>restart<\/b> succeeds and a <i>timeout<\/i> is specified then a <b>clear<\/b> or <b>restore<\/b> is performed after <i>timeout<\/i> seconds.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big>Beginning with Shorewall 4.5.0, the numeric <i>timeout<\/i> may optionally be followed by an <b>s<\/b>, <b>m<\/b> or <b>h<\/b> suffix (e.g., 5m) to specify seconds, minutes or hours respectively. If the suffix is omitted, seconds is assumed.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><font color=\"#000000\"><big><b>update<\/b> [\u2212<b>d<\/b>] [\u2212<b>r<\/b>] [\u2212<b>T<\/b>] [\u2212<b>a<\/b>] [\u2212<b>i<\/b>] [\u2212<b>A<\/b>] [ <i>directory<\/i> ]<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><font color=\"#000000\"><big>This command is available only in Shorewall and Shorewall6.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big>Added in Shorewall 4.4.21 and causes the compiler to update \/etc\/shorewall\/shorewall.conf then validate the configuration. The update will add options not present in the old file with their default values, and will move deprecated options with non\u2212defaults to a deprecated options section at the bottom of the file. Your existing shorewall.conf file is renamed shorewall.conf.bak.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big>The command was extended over the years with a set of options that caused additional configuration updates.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><font color=\"#000000\"><big>\u2022 Convert an existing blacklist file into an equivalent blrules file.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><font color=\"#000000\"><big>\u2022 Convert an existing routestopped file into an equivalent stoppedrules file.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><font color=\"#000000\"><big>\u2022 Convert existing tcrules and tos files into an equivalent mangle file.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><font color=\"#000000\"><big>\u2022 Convert an existing notrack file into an equivalent conntrack file.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><font color=\"#000000\"><big>\u2022 Convert FORMAT, SECTION and COMMENT entries into ?FORMAT, ?SECTION and ?COMMENT directives.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big>In each case, the old file is renamed with a .bak suffix.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big>In Shorewall 5.0.0, the options were eliminated and the <b>update<\/b> command performs all of the updates described above.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><font color=\"#000000\"><big><b><big>Important<\/big><\/b> <br \/> There are some notable restrictions with the <b>update<\/b> command:<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:29%; margin-top: 1em\"><big><font color=\"#000000\"><big>1. Converted rules will be appended to the existing file; if there is no existing file in the CONFIG_PATH, one will be created in the directory specified in the command or in the first entry in the CONFIG_PATH (normally \/etc\/shorewall) otherwise.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:29%; margin-top: 1em\"><big><font color=\"#000000\"><big>2. Existing comments in the file being converted will not be transferred to the output file.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:29%; margin-top: 1em\"><big><font color=\"#000000\"><big>3. With the exception of the notrack\u2212>conntrack conversion, INCLUDEd files will be expanded inline in the output file.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:29%; margin-top: 1em\"><big><font color=\"#000000\"><big>4. Columns in the output file will be separated by a single tab character; there is no attempt made to otherwise align the columns.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:29%; margin-top: 1em\"><big><font color=\"#000000\"><big>5. Prior to Shorewall 5.0.15, shell variables will be expanded in the output file.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:29%; margin-top: 1em\"><big><font color=\"#000000\"><big>6. Prior to Shorewall 5.0.15, lines omitted by compiler directives (?if &#8230;., etc.) will not appear in the output file.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:35%; margin-top: 1em\"><big><font color=\"#000000\"><big><b><big>Important<\/big><\/b> <br \/> Because the translation of the &#8216;blacklist&#8217; and &#8216;routestopped&#8217; files is not 1:1, omitted lines and compiler directives are not transferred to the converted files. If either are present, the compiler issues a warning:<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:42%; margin-top: 1em\"><big><font color=\"#000000\"><big>WARNING: &#8220;Omitted rules and compiler directives were not translated<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><font color=\"#000000\"><big>The <b>\u2212a<\/b> option causes the updated shorewall.conf file to be annotated with documentation.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big>The <b>\u2212i<\/b> option was added in Shorewall 4.6.0 and causes a warning message to be issued if the current line contains alternative input specifications following a semicolon (&#8220;;&#8221;). Such lines will be handled incorrectly if INLINE_MATCHES is set to Yes in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf<\/font><\/b><\/big> <font color=\"#000000\">[1] <big>(5).<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big>The <b>\u2212A<\/b> option is included for compatibility with Shorewall 4.6 and is equivalent to specifying the <b>\u2212i<\/b> option.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big>For a description of the other options, see the <b>check<\/b> command above.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><font color=\"#000000\"><big><b><big>version<\/big><\/b> <big>[\u2212<b>a<\/b>]<\/big><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><font color=\"#000000\"><big><big>Displays Shorewall&#8217;s version. The <b>\u2212a<\/b> option is included for compatibility with earlier Shorewall releases and is ignored.<\/big><\/big><\/font><\/big><\/p>\n<h2>EXIT STATUS <a name=\"EXIT STATUS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><font color=\"#000000\"><big><big>In general, when a command succeeds, status 0 is returned; when the command fails, a non\u2212zero status is returned.<\/big><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><font color=\"#000000\"><big><big>The <b>status<\/b> command returns exit status as follows:<\/big><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><font color=\"#000000\"><big><big>0 \u2212 Firewall is started.<\/big><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><font color=\"#000000\"><big><big>3 \u2212 Firewall is stopped or cleared<\/big><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><font color=\"#000000\"><big><big>4 \u2212 Unknown state; usually means that the firewall has never been started.<\/big><\/big><\/font><\/big><\/p>\n<h2>ENVIRONMENT <a name=\"ENVIRONMENT\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><font color=\"#000000\"><big><big>Two environmental variables are recognized by Shorewall:<\/big><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><font color=\"#000000\"><big><big>SHOREWALL_INIT_SCRIPT<\/big><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><font color=\"#000000\"><big><big>When set to 1, causes Std out to be redirected to the file specified in the STARTUP_LOG option in<\/big><\/big><\/font> <big><big><b><font color=\"#0000FF\">shorewall.conf(5)<\/font><\/b><\/big> <font color=\"#000000\">[6] <big>.<\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><font color=\"#000000\"><big>SW_LOGGERTAG<\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><font color=\"#000000\"><big>Added in Shorewall 5.0.8. When set to a non\u2212empty value, that value is passed to the logger utility in its \u2212t (\u2212\u2212tag) option.<\/big><\/font><\/big><\/big><\/p>\n<h2>FILES <a name=\"FILES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><font color=\"#000000\"><big>\/etc\/shorewall\/*<\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><font color=\"#000000\"><big>\/etc\/shorewall6\/*<\/big><\/font><\/big><\/big><\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><b><font color=\"#0000FF\">https:\/\/shorewall.org\/starting_and_stopping_shorewall.htm<\/font><\/b><\/big> <font color=\"#000000\">[9] <big><br \/> \u2212 Describes operational aspects of Shorewall.<\/big><\/font> <big><b><font color=\"#0000FF\"><br \/> shorewall\u2212files(5)<\/font><\/b><\/big> <font color=\"#000000\">[10] <big>\u2212 <br \/> Describes the various configuration files along with features and <br \/> conventions common to those files.<\/big><\/font> <big><b><font color=\"#0000FF\"><br \/> shorewall\u2212names(5)<\/font><\/b><\/big> <font color=\"#000000\">[11] <big>\u2212 <br \/> Describes naming of objects within a Shorewall configuration.<\/big><\/font> <big><b><font color=\"#0000FF\"><br \/> shorewall\u2212addresses(5)<\/font><\/b><\/big> <font color=\"#000000\">[12] <big>\u2212 <br \/> Describes how to specify addresses within a Shorewall <br \/> configuration.<\/big><\/font> <big><b><font color=\"#0000FF\"><br \/> shorewall\u2212exclusion(5)<\/font><\/b><\/big> <font color=\"#000000\">[13] <big>\u2212 <br \/> Describes how to exclude certain hosts and\/or networks from matching a <br \/> rule.<\/big><\/font> <big><b><font color=\"#0000FF\"><br \/> shorewall\u2212nesting(5)<\/font><\/b><\/big> <font color=\"#000000\">[14] <big><br \/> \u2212 Describes how to nest one Shorewall zone inside another.<\/big><\/font><\/big><\/big><\/p>\n<h2>NOTES <a name=\"NOTES\"><\/a> <\/h2>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"12%\"><\/td>\n<td width=\"3%\">\n<p style=\"margin-top: 1em\"><big><big><font color=\"#000000\"><big>1.<\/big><\/font><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"21%\">\n<p style=\"margin-top: 1em\"><big><big><font color=\"#000000\"><big>shorewall.conf<\/big><\/font><\/big><\/big><\/p>\n<\/td>\n<td width=\"62%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><font color=\"#000000\"><big>https:\/\/shorewall.org\/manpages\/\/manpages\/shorewall.conf.html<\/big><\/font><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"12%\"><\/td>\n<td width=\"3%\">\n<p style=\"margin-top: 1em\"><big><big><font color=\"#000000\"><big>2.<\/big><\/font><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"31%\">\n<p style=\"margin-top: 1em\"><big><big><font color=\"#000000\"><big>shorewall-interfaces<\/big><\/font><\/big><\/big><\/p>\n<\/td>\n<td width=\"52%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><font color=\"#000000\"><big>https:\/\/shorewall.org\/manpages\/\/manpages\/shorewall-interfaces.html<\/big><\/font><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"12%\"><\/td>\n<td width=\"3%\">\n<p style=\"margin-top: 1em\"><big><big><font color=\"#000000\"><big>3.<\/big><\/font><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"23%\">\n<p style=\"margin-top: 1em\"><big><big><font color=\"#000000\"><big>shorewall-zones<\/big><\/font><\/big><\/big><\/p>\n<\/td>\n<td width=\"60%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><font color=\"#000000\"><big>https:\/\/shorewall.org\/manpages\/\/manpages\/shorewall-zones.html<\/big><\/font><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"12%\"><\/td>\n<td width=\"3%\">\n<p style=\"margin-top: 1em\"><big><big><font color=\"#000000\"><big>4.<\/big><\/font><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"25%\">\n<p style=\"margin-top: 1em\"><big><big><font color=\"#000000\"><big>shorewall-routes<\/big><\/font><\/big><\/big><\/p>\n<\/td>\n<td width=\"58%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><font color=\"#000000\"><big>https:\/\/shorewall.org\/manpages\/\/manpages\/shorewall-routes.html<\/big><\/font><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"12%\"><\/td>\n<td width=\"3%\">\n<p style=\"margin-top: 1em\"><big><big><font color=\"#000000\"><big>5.<\/big><\/font><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"23%\">\n<p style=\"margin-top: 1em\"><big><big><font color=\"#000000\"><big>logging backend<\/big><\/font><\/big><\/big><\/p>\n<\/td>\n<td width=\"60%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><font color=\"#000000\"><big>https:\/\/shorewall.org\/manpages\/\/shorewall_logging.html#Backends<\/big><\/font><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"12%\"><\/td>\n<td width=\"3%\">\n<p style=\"margin-top: 1em\"><big><big><font color=\"#000000\"><big>6.<\/big><\/font><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"21%\">\n<p style=\"margin-top: 1em\"><big><big><font color=\"#000000\"><big>shorewall.conf<\/big><\/font><\/big><\/big><\/p>\n<\/td>\n<td width=\"62%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><font color=\"#000000\"><big>https:\/\/shorewall.org\/manpages\/shorewall.conf.html<\/big><\/font><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"12%\"><\/td>\n<td width=\"3%\">\n<p style=\"margin-top: 1em\"><big><big><font color=\"#000000\"><big>7.<\/big><\/font><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"31%\">\n<p style=\"margin-top: 1em\"><big><big><font color=\"#000000\"><big>shorewall-accounting<\/big><\/font><\/big><\/big><\/p>\n<\/td>\n<td width=\"52%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><font color=\"#000000\"><big>https:\/\/shorewall.org\/manpages\/\/manpages\/shorewall-accounting.html<\/big><\/font><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"12%\"><\/td>\n<td width=\"3%\">\n<p style=\"margin-top: 1em\"><big><big><font color=\"#000000\"><big>8.<\/big><\/font><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"34%\">\n<p style=\"margin-top: 1em\"><big><big><font color=\"#000000\"><big>shorewall-stoppedrules<\/big><\/font><\/big><\/big><\/p>\n<\/td>\n<td width=\"49%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><font color=\"#000000\"><big>https:\/\/shorewall.org\/manpages\/\/manpages\/shorewall-stoppedrules.html<\/big><\/font><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"12%\"><\/td>\n<td width=\"3%\">\n<p style=\"margin-top: 1em\"><big><big><font color=\"#000000\"><big>9.<\/big><\/font><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"83%\">\n<p style=\"margin-top: 1em\"><big><big><font color=\"#000000\"><big>https:\/\/shorewall.org\/starting_and_stopping_shorewall.htm<\/big><\/font><\/big><\/big><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><font color=\"#000000\"><big>https:\/\/shorewall.org\/manpages\/\/starting_and_stopping_shorewall.htm<\/big><\/font><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"4%\">\n<p style=\"margin-top: 1em\"><big><big><font color=\"#000000\"><big>10.<\/big><\/font><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"28%\">\n<p style=\"margin-top: 1em\"><big><big><font color=\"#000000\"><big>shorewall-files(5)<\/big><\/font><\/big><\/big><\/p>\n<\/td>\n<td width=\"55%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><font color=\"#000000\"><big>https:\/\/shorewall.org\/manpages\/shorewall-files.html<\/big><\/font><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"4%\">\n<p style=\"margin-top: 1em\"><big><big><font color=\"#000000\"><big>11.<\/big><\/font><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"28%\">\n<p style=\"margin-top: 1em\"><big><big><font color=\"#000000\"><big>shorewall-names(5)<\/big><\/font><\/big><\/big><\/p>\n<\/td>\n<td width=\"55%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><font color=\"#000000\"><big>https:\/\/shorewall.org\/manpages\/shorewall-names.html<\/big><\/font><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"4%\">\n<p style=\"margin-top: 1em\"><big><big><font color=\"#000000\"><big>12.<\/big><\/font><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"34%\">\n<p style=\"margin-top: 1em\"><big><big><font color=\"#000000\"><big>shorewall-addresses(5)<\/big><\/font><\/big><\/big><\/p>\n<\/td>\n<td width=\"49%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><font color=\"#000000\"><big>https:\/\/shorewall.org\/manpages\/shorewall-addresses.html<\/big><\/font><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"4%\">\n<p style=\"margin-top: 1em\"><big><big><font color=\"#000000\"><big>13.<\/big><\/font><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"34%\">\n<p style=\"margin-top: 1em\"><big><big><font color=\"#000000\"><big>shorewall-exclusion(5)<\/big><\/font><\/big><\/big><\/p>\n<\/td>\n<td width=\"49%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><font color=\"#000000\"><big>https:\/\/shorewall.org\/manpages\/shorewall-exclusion.html<\/big><\/font><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"4%\">\n<p style=\"margin-top: 1em\"><big><big><font color=\"#000000\"><big>14.<\/big><\/font><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"31%\">\n<p style=\"margin-top: 1em\"><big><big><font color=\"#000000\"><big>shorewall-nesting(5)<\/big><\/font><\/big><\/big><\/p>\n<\/td>\n<td width=\"52%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><font color=\"#000000\"><big>https:\/\/shorewall.org\/manpages\/shorewall-nesting.html<\/big><\/font><\/big><\/big><\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  shorewall \u2212 Administration tool for Shoreline Firewall (Shorewall) <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,4,793],"class_list":["post-3681","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-shorewall"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3681","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=3681"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3681\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3681"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3681"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3681"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}