mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-08 16:54:10 +01:00
Add tip about including multiple files in one command
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8245 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
64aa77b973
commit
d81d4ed421
@ -446,6 +446,18 @@ smtp,www,pop3,imap #Services running on the firewall</programlisting>
|
||||
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE
|
||||
|
||||
----- end rules -----</programlisting>
|
||||
|
||||
<para>Users of Shorewall-perl 4.0.6 and later may include multiple files
|
||||
in one command using an <link linkend="Embedded">embedded shell
|
||||
command</link>.</para>
|
||||
|
||||
<para>Example (include all of the files ending in ".rules" in a
|
||||
directory:):<programlisting>gateway:/etc/shorewall # ls rules.d
|
||||
ALL.rules DNAT.rules FW.rules NET.rules REDIRECT.rules VPN.rules
|
||||
gateway:/etc/shorewall # </programlisting></para>
|
||||
|
||||
<para>/etc/shorewall/rules:<programlisting>SECTION NEW
|
||||
SHELL cat rules.d/*.rules</programlisting></para>
|
||||
</example>
|
||||
</section>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user