mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-22 23:53:30 +01:00
Update Shorewall-perl ipset info
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8532 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
b84c9b4254
commit
2af8176f31
@ -381,10 +381,12 @@ insert_rule $filter_table->{OUTPUT}, 1, "-p udp --sport 1701 -j ACCEPT";
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>Your ipsets must be loaded before Shorewall starts. You
|
<para>Your ipsets must be loaded before Shorewall starts. You
|
||||||
are free to try to do that with the following code in
|
are free to try to do that with the following code in
|
||||||
<filename>/etc/shorewall/start</filename>:</para>
|
<filename>/etc/shorewall/start (it works for me; your milage may
|
||||||
|
vary)</filename>:</para>
|
||||||
|
|
||||||
<programlisting>if [ "$COMMAND" = start ]; then
|
<programlisting>if [ "$COMMAND" = start ]; then
|
||||||
ipset -U :all: :all:
|
ipset -U :all: :all:
|
||||||
|
ipset -U :all: :default:
|
||||||
ipset -F
|
ipset -F
|
||||||
ipset -X
|
ipset -X
|
||||||
ipset -R < /etc/shorewall/ipsets
|
ipset -R < /etc/shorewall/ipsets
|
||||||
|
Loading…
Reference in New Issue
Block a user