forked from extern/shorewall_code
Restore material inadvertently deleted from Ipset article
This commit is contained in:
parent
7418e27308
commit
98d06d29c6
@ -119,6 +119,12 @@ ACCEPT +sshok $FW tcp 22</programlisting></para>
|
||||
<filename>/etc/shorewall/init (it works for me; your mileage may
|
||||
vary)</filename>:</para>
|
||||
|
||||
<programlisting>if [ "$COMMAND" = start ]; then
|
||||
ipset -F
|
||||
ipset -X
|
||||
ipset -R < /etc/shorewall/ipsets
|
||||
fi</programlisting>
|
||||
|
||||
<para>The file <filename>/etc/shorewall/ipsets</filename> will
|
||||
normally be produced using the <command>ipset -S</command>
|
||||
command.</para>
|
||||
|
Loading…
Reference in New Issue
Block a user