mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-03 20:19:19 +01:00
Make example match one-interface sample zone names
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5940 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
bf1cf0c90c
commit
aa36c47640
@ -10,7 +10,7 @@
|
||||
#
|
||||
# Example usage on a single-interface firewall which is a print
|
||||
# client:
|
||||
# IPPserver/ACCEPT $FW lan
|
||||
# IPPserver/ACCEPT $FW net
|
||||
#
|
||||
# Example for a two-interface firewall which acts as a print
|
||||
# server for loc:
|
||||
|
2
contrib/shoregen/install_shoregen
Normal file → Executable file
2
contrib/shoregen/install_shoregen
Normal file → Executable file
@ -26,7 +26,7 @@
|
||||
VERBOSE=0
|
||||
RESTART=0
|
||||
CHECK=1
|
||||
TIME=1
|
||||
TIME=0
|
||||
|
||||
usage()
|
||||
{
|
||||
|
2
contrib/shoregen/shoregen
Normal file → Executable file
2
contrib/shoregen/shoregen
Normal file → Executable file
@ -257,7 +257,7 @@ unless (-r "zones") {
|
||||
|
||||
for (stripfile "zones") {
|
||||
chomp;
|
||||
my ($zone, $details) = split /\s+/, $_, 2;
|
||||
my ($zone, $details) = split /[\s:]+/, $_, 2;
|
||||
push @globalzones, $zone;
|
||||
$globalzones{ $zone } = $details;
|
||||
}
|
||||
|
@ -316,7 +316,7 @@ loc eth2 -</programlisting>
|
||||
<term><emphasis role="bold">detectnets</emphasis></term>
|
||||
|
||||
<listitem>
|
||||
<para>Automatically taylors the zone named in the ZONE column
|
||||
<para>Automatically tailors the zone named in the ZONE column
|
||||
to include only those hosts routed through the
|
||||
interface.</para>
|
||||
|
||||
@ -429,4 +429,4 @@ net ppp0 -</programlisting>
|
||||
shorewall-tcclasses(5), shorewall-tcdevices(5), shorewall-tcrules(5),
|
||||
shorewall-tos(5), shorewall-tunnels(5), shorewall-zones(5)</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
</refentry>
|
||||
|
@ -4651,7 +4651,7 @@ loc Local Extended local zone
|
||||
|
||||
<li>A "detectnets" interface option has been added for
|
||||
entries in /etc/shorewall/interfaces. This option
|
||||
automatically taylors the definition of the zone named in the
|
||||
automatically tailors the definition of the zone named in the
|
||||
ZONE column to include just those hosts that have
|
||||
routes through the interface named in the INTERFACE column.
|
||||
The named interface must be UP when Shorewall is
|
||||
@ -4736,7 +4736,7 @@ loc Local Extended local zone
|
||||
|
||||
<li>A "detectnets" interface option has been added for
|
||||
entries in /etc/shorewall/interfaces. This option
|
||||
automatically taylors the definition of the zone named in the
|
||||
automatically tailors the definition of the zone named in the
|
||||
ZONE column to include just those hosts that have
|
||||
routes through the interface named in the INTERFACE column.
|
||||
The named interface must be UP when Shorewall is
|
||||
@ -4812,7 +4812,7 @@ loc Local Extended local zone
|
||||
|
||||
<li>A "detectnets" interface option has been added for
|
||||
entries in /etc/shorewall/interfaces. This option
|
||||
automatically taylors the definition of the zone named in the
|
||||
automatically tailors the definition of the zone named in the
|
||||
ZONE column to include just those hosts that have
|
||||
routes through the interface named in the INTERFACE column.
|
||||
The named interface must be UP when Shorewall is
|
||||
|
Loading…
Reference in New Issue
Block a user