mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-22 14:20:40 +01:00
Tweak the Universal documentation
This commit is contained in:
parent
c6404f1a74
commit
a88e2afa69
@ -961,7 +961,7 @@ sub process_interface( $$ ) {
|
|||||||
fatal_error "The '$option' option requires a value" unless defined $value;
|
fatal_error "The '$option' option requires a value" unless defined $value;
|
||||||
|
|
||||||
if ( $option eq 'physical' ) {
|
if ( $option eq 'physical' ) {
|
||||||
fatal_error "Invalid Physical interface name ($value)" unless $value =~ /^[\w.@%-]*\+?$/;
|
fatal_error "Invalid Physical interface name ($value)" unless $value && $value =~ /^[\w.@%-]*\+?$/;
|
||||||
|
|
||||||
fatal_error "Duplicate physical interface name ($value)" if ( $physical{$value} && ! $port );
|
fatal_error "Duplicate physical interface name ($value)" if ( $physical{$value} && ! $port );
|
||||||
|
|
||||||
|
@ -47,6 +47,8 @@
|
|||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
|
||||||
|
<para>Now, <ulink url="Install.htm">install Shorewall</ulink>.</para>
|
||||||
|
|
||||||
<para>Next, read the QuickStart Guide that is appropriate for your
|
<para>Next, read the QuickStart Guide that is appropriate for your
|
||||||
configuration:</para>
|
configuration:</para>
|
||||||
|
|
||||||
@ -66,7 +68,9 @@
|
|||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para><ulink url="standalone.htm">Standalone</ulink> Linux System with a
|
<para><ulink url="standalone.htm">Standalone</ulink> Linux System with a
|
||||||
single network interface</para>
|
single network interface (if you are running Shorewall 4.4.12 Beta 3 or
|
||||||
|
later, use the <ulink url="Universal.html">Universal</ulink>
|
||||||
|
configuration instead).</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
|
@ -35,18 +35,28 @@
|
|||||||
</articleinfo>
|
</articleinfo>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<title>What it does</title>
|
<title>Configuring Shorewall</title>
|
||||||
|
|
||||||
<para>This document describes a way to install Shorewall on a GNU/Linux
|
<para>Once you have installed the Shorewall software, you must configure
|
||||||
system and protect that system. The resulting firewall will:</para>
|
it. The easiest way to do that is to use one of Shorewall's
|
||||||
|
<firstterm>Sample Configurations</firstterm>. The Universal Configuration
|
||||||
|
is one of those samples.</para>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<title>What the Universal Configuration does</title>
|
||||||
|
|
||||||
|
<para>The Universal Shorewall configuration requires that you simply copy
|
||||||
|
the configuration to <filename class="directory">/etc/shorewall</filename>
|
||||||
|
and start Shorewall. This sample configuation:</para>
|
||||||
|
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Allow all outgoing traffic.</para>
|
<para>Allows all outgoing traffic.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Block all incoming connections except:</para>
|
<para>Blocks all incoming connections except:</para>
|
||||||
|
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem>
|
<listitem>
|
||||||
@ -60,7 +70,7 @@
|
|||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Allow forwarding of traffic, provided that the system has more
|
<para>Allows forwarding of traffic, provided that the system has more
|
||||||
than one interface or is set up to route between networks on a single
|
than one interface or is set up to route between networks on a single
|
||||||
interface.</para>
|
interface.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
@ -70,7 +80,7 @@
|
|||||||
<section>
|
<section>
|
||||||
<title>How to Install it</title>
|
<title>How to Install it</title>
|
||||||
|
|
||||||
<para>The location of the configuration files is dependent on your
|
<para>The location of the sample configuration files is dependent on your
|
||||||
distribution and <ulink url="Install.htm">how you installed
|
distribution and <ulink url="Install.htm">how you installed
|
||||||
Shorewall</ulink>.</para>
|
Shorewall</ulink>.</para>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user