mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-01 20:13:49 +01:00
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
|
<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 < /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>
|
||||||
|
Loading…
Reference in New Issue
Block a user