mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-22 14:20:40 +01:00
Documentation updates
- update LSM section of the Multi-ISP article - Correct formatting of HAPROXY examples Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
ad2f20b824
commit
e29e2d117d
@ -330,7 +330,7 @@
|
|||||||
url="manpages/shorewall-providers.html">shorewall-providers(5)</ulink>:</para>
|
url="manpages/shorewall-providers.html">shorewall-providers(5)</ulink>:</para>
|
||||||
|
|
||||||
<programlisting>#NAME NUMBER MARK DUPLICATE INTERFACE GATEWAY OPTIONS COPY
|
<programlisting>#NAME NUMBER MARK DUPLICATE INTERFACE GATEWAY OPTIONS COPY
|
||||||
TProxy 3 - lo - tproxy </programlisting>
|
TProxy 1 - - lo - tproxy</programlisting>
|
||||||
|
|
||||||
<para>and use this HADIVERT entry:</para>
|
<para>and use this HADIVERT entry:</para>
|
||||||
|
|
||||||
|
@ -331,7 +331,7 @@
|
|||||||
url="manpages6/shorewall6-providers.html">shorewall6-providers(5)</ulink>:</para>
|
url="manpages6/shorewall6-providers.html">shorewall6-providers(5)</ulink>:</para>
|
||||||
|
|
||||||
<programlisting>#NAME NUMBER MARK DUPLICATE INTERFACE GATEWAY OPTIONS COPY
|
<programlisting>#NAME NUMBER MARK DUPLICATE INTERFACE GATEWAY OPTIONS COPY
|
||||||
TProxy 1 - - lo - tproxy </programlisting>
|
TProxy 1 - - lo - tproxy</programlisting>
|
||||||
|
|
||||||
<para>and use this HADIVERT entry:</para>
|
<para>and use this HADIVERT entry:</para>
|
||||||
|
|
||||||
|
@ -1950,8 +1950,8 @@ ONBOOT=yes</programlisting>
|
|||||||
url="manpages/shorewall-providers.html">shorewall-providers</ulink> (5)
|
url="manpages/shorewall-providers.html">shorewall-providers</ulink> (5)
|
||||||
is available in the form of a PROBABILITY column in <ulink
|
is available in the form of a PROBABILITY column in <ulink
|
||||||
url="manpages/shorewall-mangle.html">shorewall-mangle</ulink>(5) (<ulink
|
url="manpages/shorewall-mangle.html">shorewall-mangle</ulink>(5) (<ulink
|
||||||
url="manpages4/manpages/shorewall-tcrules.html">shorewall-tcrules</ulink>) (5).
|
url="manpages4/manpages/shorewall-tcrules.html">shorewall-tcrules</ulink>)
|
||||||
This feature requires the <firstterm>Statistic Match</firstterm>
|
(5). This feature requires the <firstterm>Statistic Match</firstterm>
|
||||||
capability in your iptables and kernel.</para>
|
capability in your iptables and kernel.</para>
|
||||||
|
|
||||||
<para>This method works when there are multiple links to the same ISP
|
<para>This method works when there are multiple links to the same ISP
|
||||||
@ -2219,7 +2219,7 @@ EOF
|
|||||||
#
|
#
|
||||||
# Run LSM -- by default, it forks into the background
|
# Run LSM -- by default, it forks into the background
|
||||||
#
|
#
|
||||||
/usr/sbin/lsm /etc/lsm/lsm.conf >> /var/log/lsm
|
/usr/sbin/lsm -c /etc/lsm/lsm.conf >> /var/log/lsm
|
||||||
}</programlisting>
|
}</programlisting>
|
||||||
|
|
||||||
<para>eth0 has a dynamic IP address so I need to use the
|
<para>eth0 has a dynamic IP address so I need to use the
|
||||||
@ -2272,8 +2272,8 @@ defaults {
|
|||||||
|
|
||||||
include /etc/lsm/shorewall.conf</programlisting>
|
include /etc/lsm/shorewall.conf</programlisting>
|
||||||
|
|
||||||
<para><filename>/etc/lsm/script</filename> (Shorewall 4.4.23 and
|
<para><filename>/etc/lsm/script</filename> (Shorewall 4.4.23 and later
|
||||||
later)<programlisting>#!/bin/sh
|
- note that this script must be executable by root)<programlisting>#!/bin/sh
|
||||||
#
|
#
|
||||||
# (C) 2009 Mika Ilmaranta <ilmis@nullnet.fi>
|
# (C) 2009 Mika Ilmaranta <ilmis@nullnet.fi>
|
||||||
# (C) 2009 Tom Eastep <teastep@shorewall.net>
|
# (C) 2009 Tom Eastep <teastep@shorewall.net>
|
||||||
|
Loading…
Reference in New Issue
Block a user