Restore material inadvertently deleted from Ipset article

This commit is contained in:
Tom Eastep 2009-05-28 07:31:22 -07:00
parent 7418e27308
commit 98d06d29c6

View File

@ -119,6 +119,12 @@ ACCEPT +sshok $FW tcp 22</programlisting></para>
<filename>/etc/shorewall/init (it works for me; your mileage may <filename>/etc/shorewall/init (it works for me; your mileage may
vary)</filename>:</para> vary)</filename>:</para>
<programlisting>if [ "$COMMAND" = start ]; then
ipset -F
ipset -X
ipset -R &lt; /etc/shorewall/ipsets
fi</programlisting>
<para>The file <filename>/etc/shorewall/ipsets</filename> will <para>The file <filename>/etc/shorewall/ipsets</filename> will
normally be produced using the <command>ipset -S</command> normally be produced using the <command>ipset -S</command>
command.</para> command.</para>