mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-16 03:10:39 +01:00
Some 1.3.14 Changes
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@427 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
5aeecee8ab
commit
b56fd26640
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,207 +1,221 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
|
||||||
<meta http-equiv="Content-Type"
|
<meta http-equiv="Content-Type"
|
||||||
content="text/html; charset=windows-1252">
|
content="text/html; charset=windows-1252">
|
||||||
<title>Shorewall Installation</title>
|
<title>Shorewall Installation</title>
|
||||||
|
|
||||||
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
||||||
|
|
||||||
<meta name="ProgId" content="FrontPage.Editor.Document">
|
<meta name="ProgId" content="FrontPage.Editor.Document">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<table border="0" cellpadding="0" cellspacing="0"
|
<table border="0" cellpadding="0" cellspacing="0"
|
||||||
style="border-collapse: collapse;" bordercolor="#111111" width="100%"
|
style="border-collapse: collapse;" bordercolor="#111111" width="100%"
|
||||||
id="AutoNumber1" bgcolor="#400169" height="90">
|
id="AutoNumber1" bgcolor="#400169" height="90">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td width="100%">
|
<td width="100%">
|
||||||
<h1 align="center"><font color="#ffffff">Shorewall Installation and
|
<h1 align="center"><font color="#ffffff">Shorewall Installation and
|
||||||
Upgrade</font></h1>
|
Upgrade</font></h1>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<p align="center"><b>Before upgrading, be sure to review the <a
|
<p align="center"><b>Before upgrading, be sure to review the <a
|
||||||
href="upgrade_issues.htm">Upgrade Issues</a></b></p>
|
href="upgrade_issues.htm">Upgrade Issues</a></b></p>
|
||||||
|
|
||||||
<p><font size="4"><b><a href="#Install_RPM">Install using RPM</a><br>
|
<p><font size="4"><b><a href="#Install_RPM">Install using RPM</a><br>
|
||||||
<a href="#Install_Tarball">Install using tarball</a><br>
|
<a href="#Install_Tarball">Install using tarball<br>
|
||||||
<a href="#Upgrade_RPM">Upgrade using RPM</a><br>
|
</a><a href="#LRP">Install the .lrp</a><br>
|
||||||
<a href="#Upgrade_Tarball">Upgrade using tarball</a><br>
|
<a href="#Upgrade_RPM">Upgrade using RPM</a><br>
|
||||||
<a href="#Config_Files">Configuring Shorewall</a><br>
|
<a href="#Upgrade_Tarball">Upgrade using tarball<br>
|
||||||
<a href="fallback.htm">Uninstall/Fallback</a></b></font></p>
|
</a><a href="#LRP_Upgrade">Upgrade the .lrp</a><br>
|
||||||
|
<a href="#Config_Files">Configuring Shorewall</a><br>
|
||||||
|
<a href="fallback.htm">Uninstall/Fallback</a></b></font></p>
|
||||||
|
|
||||||
<p><a name="Install_RPM"></a>To install Shorewall using the RPM:</p>
|
<p><a name="Install_RPM"></a>To install Shorewall using the RPM:</p>
|
||||||
|
|
||||||
<p><b>If you have RedHat 7.2 and are running iptables version 1.2.3 (at a
|
<p><b>If you have RedHat 7.2 and are running iptables version 1.2.3 (at a
|
||||||
shell prompt, type "/sbin/iptables --version"), you must upgrade to version
|
shell prompt, type "/sbin/iptables --version"), you must upgrade to version
|
||||||
1.2.4 either from the <a
|
1.2.4 either from the <a
|
||||||
href="http://www.redhat.com/support/errata/RHSA-2001-144.html">RedHat update
|
href="http://www.redhat.com/support/errata/RHSA-2001-144.html">RedHat update
|
||||||
site</a> or from the <a href="errata.htm">Shorewall Errata page</a> before
|
site</a> or from the <a href="errata.htm">Shorewall Errata page</a> before
|
||||||
attempting to start Shorewall.</b></p>
|
attempting to start Shorewall.</b></p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>Install the RPM (rpm -ivh <shorewall rpm>).<br>
|
<li>Install the RPM (rpm -ivh <shorewall rpm>).<br>
|
||||||
<br>
|
<br>
|
||||||
<b>Note: </b>Some SuSE users have encountered a problem whereby rpm reports
|
<b>Note: </b>Some SuSE users have encountered a problem whereby rpm
|
||||||
a conflict with kernel <= 2.2 even though a 2.4 kernel is installed.
|
reports a conflict with kernel <= 2.2 even though a 2.4 kernel is
|
||||||
If this happens, simply use the --nodeps option to rpm (rpm -ivh --nodeps
|
installed. If this happens, simply use the --nodeps option to rpm (rpm
|
||||||
<shorewall rpm>).</li>
|
-ivh --nodeps <shorewall rpm>).</li>
|
||||||
<li>Edit the <a href="#Config_Files"> configuration files</a> to match
|
<li>Edit the <a href="#Config_Files"> configuration files</a> to match
|
||||||
your configuration. <font color="#ff0000"><b>WARNING - YOU CAN <u>NOT</u>
|
your configuration. <font color="#ff0000"><b>WARNING - YOU CAN <u>NOT</u>
|
||||||
SIMPLY INSTALL THE RPM AND ISSUE A "shorewall start" COMMAND. SOME CONFIGURATION
|
SIMPLY INSTALL THE RPM AND ISSUE A "shorewall start" COMMAND. SOME CONFIGURATION
|
||||||
IS REQUIRED BEFORE THE FIREWALL WILL START. IF YOU ISSUE A "start" COMMAND
|
IS REQUIRED BEFORE THE FIREWALL WILL START. IF YOU ISSUE A "start" COMMAND
|
||||||
AND THE FIREWALL FAILS TO START, YOUR SYSTEM WILL NO LONGER ACCEPT ANY NETWORK
|
AND THE FIREWALL FAILS TO START, YOUR SYSTEM WILL NO LONGER ACCEPT ANY
|
||||||
TRAFFIC. IF THIS HAPPENS, ISSUE A "shorewall clear" COMMAND TO RESTORE NETWORK
|
NETWORK TRAFFIC. IF THIS HAPPENS, ISSUE A "shorewall clear" COMMAND TO
|
||||||
CONNECTIVITY.</b></font></li>
|
RESTORE NETWORK CONNECTIVITY.</b></font></li>
|
||||||
<li>Start the firewall by typing "shorewall start"</li>
|
<li>Start the firewall by typing "shorewall start"</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p><a name="Install_Tarball"></a>To install Shorewall using the tarball
|
<p><a name="Install_Tarball"></a>To install Shorewall using the tarball
|
||||||
and install script: </p>
|
and install script: </p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>unpack the tarball (tar -zxf shorewall-x.y.z.tgz).</li>
|
<li>unpack the tarball (tar -zxf shorewall-x.y.z.tgz).</li>
|
||||||
<li>cd to the shorewall directory (the version is encoded in the
|
<li>cd to the shorewall directory (the version is encoded in the
|
||||||
directory name as in "shorewall-1.1.10").</li>
|
directory name as in "shorewall-1.1.10").</li>
|
||||||
<li>If you are using <a
|
<li>If you are using <a
|
||||||
href="http://www.caldera.com/openstore/openlinux/">Caldera</a>, <a
|
href="http://www.caldera.com/openstore/openlinux/">Caldera</a>, <a
|
||||||
href="http://www.redhat.com">RedHat</a>, <a
|
href="http://www.redhat.com">RedHat</a>, <a
|
||||||
href="http://www.linux-mandrake.com">Mandrake</a>, <a
|
href="http://www.linux-mandrake.com">Mandrake</a>, <a
|
||||||
href="http://www.corel.com">Corel</a>, <a
|
href="http://www.corel.com">Corel</a>, <a
|
||||||
href="http://www.slackware.com/">Slackware</a> or <a
|
href="http://www.slackware.com/">Slackware</a> or <a
|
||||||
href="http://www.debian.org">Debian</a> then type "./install.sh"</li>
|
href="http://www.debian.org">Debian</a> then type "./install.sh"</li>
|
||||||
<li>If you are using <a href="http://www.suse.com">SuSe</a> then type
|
<li>If you are using <a href="http://www.suse.com">SuSe</a> then type
|
||||||
"./install.sh /etc/init.d"</li>
|
"./install.sh /etc/init.d"</li>
|
||||||
<li>If your distribution has directory /etc/rc.d/init.d or
|
<li>If your distribution has directory /etc/rc.d/init.d
|
||||||
/etc/init.d then type "./install.sh"</li>
|
or /etc/init.d then type "./install.sh"</li>
|
||||||
<li>For other distributions, determine where your distribution
|
<li>For other distributions, determine where your distribution
|
||||||
installs init scripts and type "./install.sh <init script directory></li>
|
installs init scripts and type "./install.sh <init script
|
||||||
<li>Edit the <a href="#Config_Files"> configuration files</a> to match
|
directory></li>
|
||||||
your configuration.</li>
|
<li>Edit the <a href="#Config_Files"> configuration files</a> to match
|
||||||
<li>Start the firewall by typing "shorewall start"</li>
|
your configuration.</li>
|
||||||
<li>If the install script was unable to configure Shorewall to be started
|
<li>Start the firewall by typing "shorewall start"</li>
|
||||||
automatically at boot, see <a
|
<li>If the install script was unable to configure Shorewall to be started
|
||||||
|
automatically at boot, see <a
|
||||||
href="starting_and_stopping_shorewall.htm">these instructions</a>.</li>
|
href="starting_and_stopping_shorewall.htm">these instructions</a>.</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p><a name="Upgrade_RPM"></a>If you already have the Shorewall RPM installed
|
<p><a name="LRP"></a>To install my version of Shorewall on a fresh Bering
|
||||||
and are upgrading to a new version:</p>
|
disk, simply replace the "shorwall.lrp" file on the image with the file that
|
||||||
|
you downloaded. See the <a href="two-interface.htm">two-interface QuickStart
|
||||||
<p>If you are upgrading from a 1.2 version of Shorewall to a 1.3 version and
|
Guide</a> for information about further steps required.</p>
|
||||||
you have entries in the /etc/shorewall/hosts file then please check your
|
<p><a name="Upgrade_RPM"></a>If you already have the Shorewall RPM installed
|
||||||
/etc/shorewall/interfaces file to be sure that it contains an entry for
|
and are upgrading to a new version:</p>
|
||||||
each interface mentioned in the hosts file. Also, there are certain 1.2
|
|
||||||
rule forms that are no longer supported under 1.3 (you must use the new
|
<p>If you are upgrading from a 1.2 version of Shorewall to a 1.3 version
|
||||||
1.3 syntax). See <a href="errata.htm#Upgrade">the upgrade issues </a>for details.
|
and you have entries in the /etc/shorewall/hosts file then please check
|
||||||
You can check your rules and host file for 1.3 compatibility using the "shorewall
|
your /etc/shorewall/interfaces file to be sure that it contains an entry
|
||||||
check" command after installing the latest version of 1.3.</p>
|
for each interface mentioned in the hosts file. Also, there are certain
|
||||||
|
1.2 rule forms that are no longer supported under 1.3 (you must use the
|
||||||
<ul>
|
new 1.3 syntax). See <a href="errata.htm#Upgrade">the upgrade issues </a>for
|
||||||
<li>Upgrade the RPM (rpm -Uvh <shorewall rpm file>) <b>Note: </b>If
|
details. You can check your rules and host file for 1.3 compatibility using
|
||||||
you are installing version 1.2.0 and have one of the 1.2.0 Beta RPMs installed,
|
|
||||||
you must use the "--oldpackage" option to rpm (e.g., "rpm -Uvh --oldpackage
|
|
||||||
shorewall-1.2-0.noarch.rpm").
|
|
||||||
<p> <b>Note: </b>Some SuSE users have encountered a problem whereby
|
|
||||||
rpm reports a conflict with kernel <= 2.2 even though a 2.4 kernel is
|
|
||||||
installed. If this happens, simply use the --nodeps option to rpm (rpm
|
|
||||||
-Uvh --nodeps <shorewall rpm>).<br>
|
|
||||||
</p>
|
|
||||||
</li>
|
|
||||||
<li>See if there are any incompatibilities between your configuration
|
|
||||||
and the new Shorewall version (type "shorewall check") and correct as
|
|
||||||
necessary.</li>
|
|
||||||
<li>Restart the firewall (shorewall restart).</li>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p><a name="Upgrade_Tarball"></a>If you already have Shorewall installed and
|
|
||||||
are upgrading to a new version using the tarball:</p>
|
|
||||||
|
|
||||||
<p>If you are upgrading from a 1.2 version of Shorewall to a 1.3 version and
|
|
||||||
you have entries in the /etc/shorewall/hosts file then please check your
|
|
||||||
/etc/shorewall/interfaces file to be sure that it contains an entry for
|
|
||||||
each interface mentioned in the hosts file. Also, there are certain 1.2
|
|
||||||
rule forms that are no longer supported under 1.3 (you must use the new
|
|
||||||
1.3 syntax). See <a href="errata.htm#Upgrade">the upgrade issues</a> for
|
|
||||||
details. You can check your rules and host file for 1.3 compatibility using
|
|
||||||
the "shorewall check" command after installing the latest version of 1.3.</p>
|
the "shorewall check" command after installing the latest version of 1.3.</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>unpack the tarball (tar -zxf shorewall-x.y.z.tgz).</li>
|
<li>Upgrade the RPM (rpm -Uvh <shorewall rpm file>) <b>Note: </b>If
|
||||||
<li>cd to the shorewall directory (the version is encoded in the
|
you are installing version 1.2.0 and have one of the 1.2.0 Beta RPMs
|
||||||
directory name as in "shorewall-3.0.1").</li>
|
installed, you must use the "--oldpackage" option to rpm (e.g., "rpm
|
||||||
<li>If you are using <a
|
-Uvh --oldpackage shorewall-1.2-0.noarch.rpm").
|
||||||
href="http://www.caldera.com/openstore/openlinux/">Caldera</a>, <a
|
<p> <b>Note: </b>Some SuSE users have encountered a problem whereby
|
||||||
href="http://www.redhat.com">RedHat</a>, <a
|
rpm reports a conflict with kernel <= 2.2 even though a 2.4 kernel
|
||||||
href="http://www.linux-mandrake.com">Mandrake</a>, <a
|
is installed. If this happens, simply use the --nodeps option to rpm (rpm
|
||||||
href="http://www.corel.com">Corel</a>, <a
|
-Uvh --nodeps <shorewall rpm>).<br>
|
||||||
href="http://www.slackware.com/">Slackware</a> or <a
|
</p>
|
||||||
href="http://www.debian.org">Debian</a> then type "./install.sh"</li>
|
</li>
|
||||||
<li>If you are using<a href="http://www.suse.com"> SuSe</a> then type
|
|
||||||
"./install.sh /etc/init.d"</li>
|
|
||||||
<li>If your distribution has directory /etc/rc.d/init.d or
|
|
||||||
/etc/init.d then type "./install.sh"</li>
|
|
||||||
<li>For other distributions, determine where your distribution
|
|
||||||
installs init scripts and type "./install.sh <init script directory></li>
|
|
||||||
<li>See if there are any incompatibilities between your configuration
|
<li>See if there are any incompatibilities between your configuration
|
||||||
and the new Shorewall version (type "shorewall check") and correct as necessary.</li>
|
and the new Shorewall version (type "shorewall check") and correct as necessary.</li>
|
||||||
<li>Restart the firewall by typing "shorewall restart"</li>
|
<li>Restart the firewall (shorewall restart).</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h3><a name="Config_Files"></a>Configuring Shorewall</h3>
|
<p><a name="Upgrade_Tarball"></a>If you already have Shorewall installed
|
||||||
|
and are upgrading to a new version using the tarball:</p>
|
||||||
<p>You will need to edit some or all of these configuration files to match
|
|
||||||
your setup. In most cases, the <a href="shorewall_quickstart_guide.htm">Shorewall
|
<p>If you are upgrading from a 1.2 version of Shorewall to a 1.3 version
|
||||||
QuickStart Guides</a> contain all of the information you need.</p>
|
and you have entries in the /etc/shorewall/hosts file then please check
|
||||||
|
your /etc/shorewall/interfaces file to be sure that it contains an entry
|
||||||
|
for each interface mentioned in the hosts file. Also, there are certain
|
||||||
|
1.2 rule forms that are no longer supported under 1.3 (you must use the
|
||||||
|
new 1.3 syntax). See <a href="errata.htm#Upgrade">the upgrade issues</a>
|
||||||
|
for details. You can check your rules and host file for 1.3 compatibility
|
||||||
|
using the "shorewall check" command after installing the latest version
|
||||||
|
of 1.3.</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>/etc/shorewall/shorewall.conf - used to set several firewall
|
<li>unpack the tarball (tar -zxf shorewall-x.y.z.tgz).</li>
|
||||||
parameters.</li>
|
<li>cd to the shorewall directory (the version is encoded in the
|
||||||
<li>/etc/shorewall/params - use this file to set shell variables that
|
directory name as in "shorewall-3.0.1").</li>
|
||||||
you will expand in other files.</li>
|
<li>If you are using <a
|
||||||
<li>/etc/shorewall/zones - partition the firewall's view of the world
|
href="http://www.caldera.com/openstore/openlinux/">Caldera</a>, <a
|
||||||
into <i>zones.</i></li>
|
href="http://www.redhat.com">RedHat</a>, <a
|
||||||
<li>/etc/shorewall/policy - establishes firewall high-level policy.</li>
|
href="http://www.linux-mandrake.com">Mandrake</a>, <a
|
||||||
<li>/etc/shorewall/interfaces - describes the interfaces on the
|
href="http://www.corel.com">Corel</a>, <a
|
||||||
firewall system.</li>
|
href="http://www.slackware.com/">Slackware</a> or <a
|
||||||
<li>/etc/shorewall/hosts - allows defining zones in terms of individual
|
href="http://www.debian.org">Debian</a> then type "./install.sh"</li>
|
||||||
hosts and subnetworks.</li>
|
<li>If you are using<a href="http://www.suse.com"> SuSe</a> then type
|
||||||
<li>/etc/shorewall/maclist - verification of the MAC addresses of devices.<br>
|
"./install.sh /etc/init.d"</li>
|
||||||
</li>
|
<li>If your distribution has directory /etc/rc.d/init.d
|
||||||
<li>/etc/shorewall/masq - directs the firewall where to use many-to-one
|
or /etc/init.d then type "./install.sh"</li>
|
||||||
(dynamic) NAT a.k.a. Masquerading.</li>
|
<li>For other distributions, determine where your distribution
|
||||||
<li>/etc/shorewall/modules - directs the firewall to load kernel modules.</li>
|
installs init scripts and type "./install.sh <init script
|
||||||
<li>/etc/shorewall/rules - defines rules that are exceptions to the
|
directory></li>
|
||||||
overall policies established in /etc/shorewall/policy.</li>
|
<li>See if there are any incompatibilities between your configuration
|
||||||
<li>/etc/shorewall/nat - defines static NAT rules.</li>
|
and the new Shorewall version (type "shorewall check") and correct as
|
||||||
<li>/etc/shorewall/proxyarp - defines use of Proxy ARP.</li>
|
necessary.</li>
|
||||||
<li>/etc/shorewall/routestopped (Shorewall 1.3.4 and later) - defines
|
<li>Restart the firewall by typing "shorewall restart"</li>
|
||||||
hosts accessible when Shorewall is stopped.</li>
|
|
||||||
<li>/etc/shorewall/tcrules - defines marking of packets for later use
|
|
||||||
by traffic control/shaping.</li>
|
|
||||||
<li>/etc/shorewall/tos - defines rules for setting the TOS field in packet
|
|
||||||
headers.</li>
|
|
||||||
<li>/etc/shorewall/tunnels - defines IPSEC tunnels with end-points on
|
|
||||||
the firewall system.</li>
|
|
||||||
<li>/etc/shorewall/blacklist - lists blacklisted IP/subnet/MAC addresses.</li>
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
<a name="LRP_Upgrade"></a>If you already have a running Bering installation
|
||||||
<p><font size="2">Updated 10/28/2002 - <a href="support.htm">Tom Eastep</a>
|
and wish to upgrade to a later version of Shorewall:<br>
|
||||||
</font></p>
|
<br>
|
||||||
|
<b>UNDER CONSTRUCTION...</b><br>
|
||||||
<p><a href="copyright.htm"><font size="2">Copyright</font>
|
<h3><a name="Config_Files"></a>Configuring Shorewall</h3>
|
||||||
© <font size="2">2001, 2002 Thomas M. Eastep.</font></a></p>
|
|
||||||
<br>
|
<p>You will need to edit some or all of these configuration files to match
|
||||||
|
your setup. In most cases, the <a
|
||||||
|
href="shorewall_quickstart_guide.htm">Shorewall QuickStart Guides</a>
|
||||||
|
contain all of the information you need.</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>/etc/shorewall/shorewall.conf - used to set several firewall
|
||||||
|
parameters.</li>
|
||||||
|
<li>/etc/shorewall/params - use this file to set shell variables that
|
||||||
|
you will expand in other files.</li>
|
||||||
|
<li>/etc/shorewall/zones - partition the firewall's view of the world
|
||||||
|
into <i>zones.</i></li>
|
||||||
|
<li>/etc/shorewall/policy - establishes firewall high-level policy.</li>
|
||||||
|
<li>/etc/shorewall/interfaces - describes the interfaces on the
|
||||||
|
firewall system.</li>
|
||||||
|
<li>/etc/shorewall/hosts - allows defining zones in terms of individual
|
||||||
|
hosts and subnetworks.</li>
|
||||||
|
<li>/etc/shorewall/maclist - verification of the MAC addresses of devices.<br>
|
||||||
|
</li>
|
||||||
|
<li>/etc/shorewall/masq - directs the firewall where to use many-to-one
|
||||||
|
(dynamic) NAT a.k.a. Masquerading.</li>
|
||||||
|
<li>/etc/shorewall/modules - directs the firewall to load kernel modules.</li>
|
||||||
|
<li>/etc/shorewall/rules - defines rules that are exceptions to the
|
||||||
|
overall policies established in /etc/shorewall/policy.</li>
|
||||||
|
<li>/etc/shorewall/nat - defines static NAT rules.</li>
|
||||||
|
<li>/etc/shorewall/proxyarp - defines use of Proxy ARP.</li>
|
||||||
|
<li>/etc/shorewall/routestopped (Shorewall 1.3.4 and later) - defines
|
||||||
|
hosts accessible when Shorewall is stopped.</li>
|
||||||
|
<li>/etc/shorewall/tcrules - defines marking of packets for later use
|
||||||
|
by traffic control/shaping.</li>
|
||||||
|
<li>/etc/shorewall/tos - defines rules for setting the TOS field in
|
||||||
|
packet headers.</li>
|
||||||
|
<li>/etc/shorewall/tunnels - defines IPSEC tunnels with end-points on
|
||||||
|
the firewall system.</li>
|
||||||
|
<li>/etc/shorewall/blacklist - lists blacklisted IP/subnet/MAC addresses.</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<p><font size="2">Updated 1/30/2003 - <a href="support.htm">Tom Eastep</a>
|
||||||
|
</font></p>
|
||||||
|
|
||||||
|
<p><a href="copyright.htm"><font size="2">Copyright</font> © <font
|
||||||
|
size="2">2001, 2002, 2003 Thomas M. Eastep.</font></a></p>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
<br>
|
<br>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -2,407 +2,489 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Shorewall Squid Usage</title>
|
<title>Shorewall Squid Usage</title>
|
||||||
|
|
||||||
<meta http-equiv="content-type"
|
<meta http-equiv="content-type"
|
||||||
content="text/html; charset=ISO-8859-1">
|
content="text/html; charset=ISO-8859-1">
|
||||||
|
|
||||||
<meta name="author" content="Tom Eastep">
|
<meta name="author" content="Tom Eastep">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<table cellpadding="0" cellspacing="0" border="0" width="100%"
|
<table cellpadding="0" cellspacing="0" border="0" width="100%"
|
||||||
bgcolor="#400169">
|
bgcolor="#400169">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td valign="middle" width="33%" bgcolor="#400169"><a
|
<td valign="middle" width="33%" bgcolor="#400169"><a
|
||||||
href="http://www.squid-cache.org/"><img src="images/squidnow.gif"
|
href="http://www.squid-cache.org/"><img src="images/squidnow.gif"
|
||||||
alt="" width="88" height="31" hspace="4">
|
alt="" width="88" height="31" hspace="4">
|
||||||
</a><br>
|
</a><br>
|
||||||
</td>
|
</td>
|
||||||
<td valign="middle" height="90" align="center" width="34%"><font
|
<td valign="middle" height="90" align="center" width="34%"><font
|
||||||
color="#ffffff"><b><big><big><big><big>Using Shorewall with Squid</big></big></big></big></b></font><br>
|
color="#ffffff"><b><big><big><big><big>Using Shorewall with Squid</big></big></big></big></b></font><br>
|
||||||
</td>
|
</td>
|
||||||
<td valign="middle" height="90" width="33%" align="right"><a
|
<td valign="middle" height="90" width="33%" align="right"><a
|
||||||
href="http://www.squid-cache.org/"><img src="images/cache_now.gif"
|
href="http://www.squid-cache.org/"><img src="images/cache_now.gif"
|
||||||
alt="" width="100" height="31" hspace="4">
|
alt="" width="100" height="31" hspace="4">
|
||||||
</a><br>
|
</a><br>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
|
||||||
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<br>
|
<br>
|
||||||
This page covers Shorewall configuration to use with <a
|
This page covers Shorewall configuration to use with <a
|
||||||
href="http://www.squid-cache.org/">Squid </a>running as a <u><b>Transparent
|
href="http://www.squid-cache.org/">Squid </a>running as a <u><b>Transparent
|
||||||
Proxy</b></u>. <br>
|
Proxy</b></u>. <br>
|
||||||
<a href="#DMZ"></a><br>
|
<a href="#DMZ"></a><br>
|
||||||
<img border="0" src="images/j0213519.gif" width="60" height="60"
|
<img border="0" src="images/j0213519.gif" width="60" height="60"
|
||||||
alt="Caution" align="middle">
|
alt="Caution" align="middle">
|
||||||
Please observe the following general requirements:<br>
|
Please observe the following general requirements:<br>
|
||||||
<br>
|
<br>
|
||||||
<b><img src="images/BD21298_3.gif" alt="" width="13" height="13">
|
<b><img src="images/BD21298_3.gif" alt="" width="13" height="13">
|
||||||
</b>In all cases, Squid should be configured to run
|
</b>In all cases, Squid should be configured to run
|
||||||
as a transparent proxy as described at <a
|
as a transparent proxy as described at <a
|
||||||
href="http://www.tldp.org/HOWTO/mini/TransparentProxy-4.html">http://www.tldp.org/HOWTO/mini/TransparentProxy-4.html</a>.<br>
|
href="http://www.tldp.org/HOWTO/mini/TransparentProxy-4.html">http://www.tldp.org/HOWTO/mini/TransparentProxy-4.html</a>.<br>
|
||||||
<b><br>
|
<b><br>
|
||||||
</b><b><img src="images/BD21298_3.gif" alt="" width="13" height="13">
|
</b><b><img src="images/BD21298_3.gif" alt="" width="13" height="13">
|
||||||
</b>The following instructions mention the files /etc/shorewall/start
|
</b>The following instructions mention the files /etc/shorewall/start
|
||||||
and /etc/shorewall/init -- if you don't have those files, siimply create
|
and /etc/shorewall/init -- if you don't have those files, siimply create
|
||||||
them.<br>
|
them.<br>
|
||||||
<br>
|
<br>
|
||||||
<b><img src="images/BD21298_3.gif" alt="" width="13" height="13">
|
<b><img src="images/BD21298_3.gif" alt="" width="13" height="13">
|
||||||
</b> When the Squid server is in the DMZ zone or in
|
</b> When the Squid server is in the DMZ zone or in
|
||||||
the local zone, that zone must be defined ONLY by its interface -- no /etc/shorewall/hosts
|
the local zone, that zone must be defined ONLY by its interface -- no /etc/shorewall/hosts
|
||||||
file entries. That is because the packets being routed to the Squid server
|
file entries. That is because the packets being routed to the Squid server
|
||||||
still have their original destination IP addresses.<br>
|
still have their original destination IP addresses.<br>
|
||||||
<br>
|
<br>
|
||||||
<b><img src="images/BD21298_3.gif" alt="" width="13" height="13">
|
<b><img src="images/BD21298_3.gif" alt="" width="13" height="13">
|
||||||
</b> You must have iproute2 (<i>ip </i>utility) installed
|
</b> You must have iproute2 (<i>ip </i>utility) installed
|
||||||
on your firewall.<br>
|
on your firewall.<br>
|
||||||
<br>
|
<br>
|
||||||
<b><img src="images/BD21298_3.gif" alt="" width="13" height="13">
|
<b><img src="images/BD21298_3.gif" alt="" width="13" height="13">
|
||||||
</b> You must have iptables installed on your Squid
|
</b> You must have iptables installed on your Squid
|
||||||
server.<br>
|
server.<br>
|
||||||
<br>
|
<br>
|
||||||
<b><img src="images/BD21298_3.gif" alt="" width="13" height="13">
|
<b><img src="images/BD21298_3.gif" alt="" width="13" height="13">
|
||||||
</b> You must have NAT and MANGLE enabled in your /etc/shorewall/conf
|
</b> You must have NAT and MANGLE enabled in your /etc/shorewall/conf
|
||||||
file<br>
|
file<br>
|
||||||
<br>
|
<br>
|
||||||
<b><font color="#009900"> NAT_ENABLED=Yes<br>
|
<b><font color="#009900"> NAT_ENABLED=Yes<br>
|
||||||
</font></b> <font color="#009900"><b>MANGLE_ENABLED=Yes</b></font><br>
|
</font></b> <font color="#009900"><b>MANGLE_ENABLED=Yes</b></font><br>
|
||||||
<br>
|
<br>
|
||||||
Three different configurations are covered:<br>
|
Three different configurations are covered:<br>
|
||||||
|
|
||||||
<ol>
|
<ol>
|
||||||
<li><a href="Shorewall_Squid_Usage.html#Firewall">Squid running on the
|
<li><a href="Shorewall_Squid_Usage.html#Firewall">Squid running on the
|
||||||
Firewall.</a></li>
|
Firewall.</a></li>
|
||||||
<li><a href="Shorewall_Squid_Usage.html#Local">Squid running in the local
|
<li><a href="Shorewall_Squid_Usage.html#Local">Squid running in the
|
||||||
network</a></li>
|
local network</a></li>
|
||||||
<li><a href="Shorewall_Squid_Usage.html#DMZ">Squid running in the DMZ</a></li>
|
<li><a href="Shorewall_Squid_Usage.html#DMZ">Squid running in the DMZ</a></li>
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
<h2><a name="Firewall"></a>Squid Running on the Firewall</h2>
|
<h2><a name="Firewall"></a>Squid Running on the Firewall</h2>
|
||||||
You want to redirect all local www connection requests EXCEPT
|
You want to redirect all local www connection requests EXCEPT
|
||||||
those to your own
|
those to your own
|
||||||
http server (206.124.146.177)
|
http server (206.124.146.177)
|
||||||
to a Squid transparent
|
to a Squid transparent
|
||||||
proxy running on the firewall and listening on port 3128. Squid
|
proxy running on the firewall and listening on port 3128. Squid
|
||||||
will of course require access to remote web servers.<br>
|
will of course require access to remote web servers.<br>
|
||||||
<br>
|
<br>
|
||||||
In /etc/shorewall/rules:<br>
|
In /etc/shorewall/rules:<br>
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
|
<blockquote>
|
||||||
|
<table border="1" cellpadding="2" style="border-collapse: collapse;">
|
||||||
|
<tbody>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td><b>ACTION</b></td>
|
||||||
|
<td><b>SOURCE</b></td>
|
||||||
|
<td><b>DEST</b></td>
|
||||||
|
<td><b> PROTO</b></td>
|
||||||
|
<td><b>DEST<br>
|
||||||
|
PORT(S)</b></td>
|
||||||
|
<td><b>SOURCE<br>
|
||||||
|
PORT(S)</b></td>
|
||||||
|
<td><b>ORIGINAL<br>
|
||||||
|
DEST</b></td>
|
||||||
|
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>REDIRECT</td>
|
||||||
|
<td>loc</td>
|
||||||
|
<td>3128</td>
|
||||||
|
<td>tcp</td>
|
||||||
|
<td>www</td>
|
||||||
|
<td> -<br>
|
||||||
|
</td>
|
||||||
|
<td>!206.124.146.177</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>ACCEPT</td>
|
||||||
|
<td>fw</td>
|
||||||
|
<td>net</td>
|
||||||
|
<td>tcp</td>
|
||||||
|
<td>www</td>
|
||||||
|
<td> <br>
|
||||||
|
</td>
|
||||||
|
<td> <br>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</tbody>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</table>
|
||||||
|
<br>
|
||||||
|
</blockquote>
|
||||||
|
|
||||||
|
<h2><a name="Local"></a>Squid Running in the local network</h2>
|
||||||
|
You want to redirect all local www connection requests to a Squid
|
||||||
|
transparent proxy
|
||||||
|
running in your local zone at 192.168.1.3 and listening on port 3128.
|
||||||
|
Your local interface is eth1. There may also be a web server running on 192.168.1.3.
|
||||||
|
It is assumed that web access is already enabled from the local zone to the
|
||||||
|
internet.<br>
|
||||||
|
|
||||||
|
<p><font color="#ff0000"><b>WARNING: </b></font>This setup may conflict with
|
||||||
|
other aspects of your gateway including but not limited to traffic shaping
|
||||||
|
and route redirection. For that reason, <b>I don't recommend it</b>.<br>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>On your firewall system, issue the following command<br>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<blockquote>
|
||||||
|
<pre><b><font color="#009900">echo 202 www.out >> /etc/iproute2/rt_tables</font></b><br></pre>
|
||||||
|
</blockquote>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>In /etc/shorewall/init, put:<br>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<blockquote>
|
||||||
|
<pre><b><font color="#009900">if [ -z "`ip rule list | grep www.out`" ] ; then<br> ip rule add fwmark 202 table www.out<br> ip route add default via 192.168.1.3 dev eth1 table www.out<br> ip route flush cache<br> echo 0 > /proc/sys/net/ipv4/conf/eth1/send_redirects<br>fi<br></font></b></pre>
|
||||||
|
</blockquote>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>In /etc/shorewall/rules:<br>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<table border="1" cellpadding="2" style="border-collapse: collapse;">
|
||||||
|
<tbody>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td><b>ACTION</b></td>
|
||||||
|
<td><b>SOURCE</b></td>
|
||||||
|
<td><b>DEST</b></td>
|
||||||
|
<td><b> PROTO</b></td>
|
||||||
|
<td><b>DEST<br>
|
||||||
|
PORT(S)</b></td>
|
||||||
|
<td><b>SOURCE<br>
|
||||||
|
PORT(S)</b></td>
|
||||||
|
<td><b>ORIGINAL<br>
|
||||||
|
DEST</b></td>
|
||||||
|
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>ACCEPT<br>
|
||||||
|
</td>
|
||||||
|
<td>loc</td>
|
||||||
|
<td>loc<br>
|
||||||
|
</td>
|
||||||
|
<td>tcp</td>
|
||||||
|
<td>www</td>
|
||||||
|
<td> <br>
|
||||||
|
</td>
|
||||||
|
<td><br>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</tbody>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</table>
|
||||||
|
<br>
|
||||||
|
</li>
|
||||||
|
<li>Alternativfely, you can have the following policy:<br>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<table cellpadding="2" cellspacing="0" border="1">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td valign="top"><b>SOURCE<br>
|
||||||
|
</b></td>
|
||||||
|
<td valign="top"><b>DESTINATION<br>
|
||||||
|
</b></td>
|
||||||
|
<td valign="top"><b>POLICY<br>
|
||||||
|
</b></td>
|
||||||
|
<td valign="top"><b>LOG LEVEL<br>
|
||||||
|
</b></td>
|
||||||
|
<td valign="top"><b>BURST PARAMETERS<br>
|
||||||
|
</b></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td valign="top">loc<br>
|
||||||
|
</td>
|
||||||
|
<td valign="top">loc<br>
|
||||||
|
</td>
|
||||||
|
<td valign="top">ACCEPT<br>
|
||||||
|
</td>
|
||||||
|
<td valign="top"><br>
|
||||||
|
</td>
|
||||||
|
<td valign="top"><br>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<br>
|
||||||
|
</li>
|
||||||
|
<li>In /etc/shorewall/start add:<br>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<table border="1" cellpadding="2" style="border-collapse: collapse;">
|
<pre><font color="#009900"><b>iptables -t mangle -A PREROUTING -i eth1 -s ! 192.168.1.3 -p tcp --dport 80 -j MARK --set-mark 202</b></font><br></pre>
|
||||||
<tbody>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td><b>ACTION</b></td>
|
|
||||||
<td><b>SOURCE</b></td>
|
|
||||||
<td><b>DEST</b></td>
|
|
||||||
<td><b> PROTO</b></td>
|
|
||||||
<td><b>DEST<br>
|
|
||||||
PORT(S)</b></td>
|
|
||||||
<td><b>SOURCE<br>
|
|
||||||
PORT(S)</b></td>
|
|
||||||
<td><b>ORIGINAL<br>
|
|
||||||
DEST</b></td>
|
|
||||||
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>REDIRECT</td>
|
|
||||||
<td>loc</td>
|
|
||||||
<td>3128</td>
|
|
||||||
<td>tcp</td>
|
|
||||||
<td>www</td>
|
|
||||||
<td> -<br>
|
|
||||||
</td>
|
|
||||||
<td>!206.124.146.177</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>ACCEPT</td>
|
|
||||||
<td>fw</td>
|
|
||||||
<td>net</td>
|
|
||||||
<td>tcp</td>
|
|
||||||
<td>www</td>
|
|
||||||
<td> <br>
|
|
||||||
</td>
|
|
||||||
<td> <br>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</tbody>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</table>
|
|
||||||
<br>
|
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<h2><a name="Local"></a>Squid Running in the local network</h2>
|
<ul>
|
||||||
You want to redirect all local www connection requests to a Squid
|
<li>On 192.168.1.3, arrange for the following command to be executed
|
||||||
transparent proxy
|
after networking has come up<br>
|
||||||
running in your local zone at 192.168.1.3 and listening on port 3128.
|
|
||||||
Your local interface is eth1. There may also be a web server running on
|
<pre><b><font color="#009900">iptables -t nat -A PREROUTING -i eth0 -d ! 192.168.1.3 -p tcp --dport 80 -j REDIRECT --to-ports 3128</font></b><br></pre>
|
||||||
192.168.1.3. It is assumed that web access is already enabled from the local
|
</li>
|
||||||
zone to the internet.<br>
|
|
||||||
|
|
||||||
<p><font color="#ff0000"><b>WARNING: </b></font>This setup may conflict with
|
|
||||||
other aspects of your gateway including but not limited to traffic shaping
|
|
||||||
and route redirection. For that reason, I don't recommend it.<br>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>On your firewall system, issue the following command<br>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<blockquote>
|
<blockquote> If you are running RedHat on the server, you can simply execute
|
||||||
<pre><b><font color="#009900">echo 202 www.out >> /etc/iproute2/rt_tables</font></b><br></pre>
|
the following commands after you have typed the iptables command above:<br>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<ul>
|
<blockquote>
|
||||||
<li>In /etc/shorewall/init, put:<br>
|
<blockquote> </blockquote>
|
||||||
</li>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<blockquote>
|
|
||||||
<pre><b><font color="#009900">if [ -z "`ip rule list | grep www.out`" ] ; then<br> ip rule add fwmark 202 table www.out<br> ip route add default via 192.168.1.3 dev eth1 table www.out<br> ip route flush cache<br> echo 0 > /proc/sys/net/ipv4/conf/eth1/send_redirects<br>fi<br></font></b></pre>
|
|
||||||
</blockquote>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>In /etc/shorewall/rules:<br>
|
|
||||||
<br>
|
|
||||||
|
|
||||||
<table border="1" cellpadding="2" style="border-collapse: collapse;">
|
<pre><font color="#009900"><b>iptables-save > /etc/sysconfig/iptables</b></font><font
|
||||||
<tbody>
|
color="#009900"><b><br>chkconfig --level 35 iptables start<br></b></font></pre>
|
||||||
|
</blockquote>
|
||||||
<tr>
|
|
||||||
<td><b>ACTION</b></td>
|
<blockquote> </blockquote>
|
||||||
<td><b>SOURCE</b></td>
|
|
||||||
<td><b>DEST</b></td>
|
<h2><a name="DMZ"></a>Squid Running in the DMZ (This is what I do)</h2>
|
||||||
<td><b> PROTO</b></td>
|
You have a single Linux system in your DMZ with IP address 192.0.2.177.
|
||||||
<td><b>DEST<br>
|
You want to run both a web server and Squid on that system. Your DMZ interface
|
||||||
PORT(S)</b></td>
|
is eth1 and your local interface is eth2.<br>
|
||||||
<td><b>SOURCE<br>
|
|
||||||
PORT(S)</b></td>
|
<ul>
|
||||||
<td><b>ORIGINAL<br>
|
<li>On your firewall system, issue the following command<br>
|
||||||
DEST</b></td>
|
</li>
|
||||||
|
|
||||||
</tr>
|
</ul>
|
||||||
<tr>
|
|
||||||
<td>ACCEPT<br>
|
<blockquote>
|
||||||
</td>
|
<pre><font color="#009900"><b>echo 202 www.out >> /etc/iproute2/rt_tables</b></font><br></pre>
|
||||||
<td>loc</td>
|
</blockquote>
|
||||||
<td>loc<br>
|
|
||||||
</td>
|
<ul>
|
||||||
<td>tcp</td>
|
<li>In /etc/shorewall/init, put:<br>
|
||||||
<td>www</td>
|
</li>
|
||||||
<td> <br>
|
|
||||||
</td>
|
</ul>
|
||||||
<td><br>
|
|
||||||
</td>
|
<blockquote>
|
||||||
</tr>
|
<pre><font color="#009900"><b>if [ -z "`ip rule list | grep www.out`" ] ; then<br> ip rule add fwmark 202 table www.out<br> ip route add default via 192.0.2.177 dev eth1 table www.out<br> ip route flush cache<br>fi</b></font><br></pre>
|
||||||
|
</blockquote>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li> Do<b> one </b>of the following:<br>
|
||||||
|
<br>
|
||||||
</tbody>
|
A) In /etc/shorewall/start add<br>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<blockquote>
|
||||||
|
<pre><b><font color="#009900"> iptables -t nat -A PREROUTING -i eth2 -p tcp --dport 80 -j MARK --set-mark 202</font></b><br></pre>
|
||||||
|
</blockquote>
|
||||||
|
|
||||||
|
<blockquote>B) Set MARK_IN_FORWARD_CHAIN=No in /etc/shorewall/shorewall.conf
|
||||||
|
and add the following entry in /etc/shorewall/tcrules:<br>
|
||||||
|
</blockquote>
|
||||||
|
<blockquote>
|
||||||
|
<blockquote>
|
||||||
|
<table cellpadding="2" border="1" cellspacing="0">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td valign="top">MARK<br>
|
||||||
|
</td>
|
||||||
|
<td valign="top">SOURCE<br>
|
||||||
|
</td>
|
||||||
|
<td valign="top">DESTINATION<br>
|
||||||
|
</td>
|
||||||
|
<td valign="top">PROTOCOL<br>
|
||||||
|
</td>
|
||||||
|
<td valign="top">PORT<br>
|
||||||
|
</td>
|
||||||
|
<td valign="top">CLIENT PORT<br>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td valign="top">202<br>
|
||||||
|
</td>
|
||||||
|
<td valign="top">eth2<br>
|
||||||
|
</td>
|
||||||
|
<td valign="top">0.0.0.0/0<br>
|
||||||
|
</td>
|
||||||
|
<td valign="top">tcp<br>
|
||||||
|
</td>
|
||||||
|
<td valign="top">80<br>
|
||||||
|
</td>
|
||||||
|
<td valign="top">-<br>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<br>
|
</blockquote>
|
||||||
</li>
|
C) Run Shorewall 1.3.14 or later and add the following entry in /etc/shorewall/tcrules:<br>
|
||||||
<li>Alternativfely, you can have the following policy:<br>
|
</blockquote>
|
||||||
<br>
|
<blockquote>
|
||||||
|
<blockquote>
|
||||||
<table cellpadding="2" cellspacing="0" border="1">
|
<table cellpadding="2" border="1" cellspacing="0">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td valign="top"><b>SOURCE<br>
|
<td valign="top">MARK<br>
|
||||||
</b></td>
|
</td>
|
||||||
<td valign="top"><b>DESTINATION<br>
|
<td valign="top">SOURCE<br>
|
||||||
</b></td>
|
</td>
|
||||||
<td valign="top"><b>POLICY<br>
|
<td valign="top">DESTINATION<br>
|
||||||
</b></td>
|
</td>
|
||||||
<td valign="top"><b>LOG LEVEL<br>
|
<td valign="top">PROTOCOL<br>
|
||||||
</b></td>
|
</td>
|
||||||
<td valign="top"><b>BURST PARAMETERS<br>
|
<td valign="top">PORT<br>
|
||||||
</b></td>
|
</td>
|
||||||
|
<td valign="top">CLIENT PORT<br>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td valign="top">loc<br>
|
<td valign="top">202:P<br>
|
||||||
</td>
|
</td>
|
||||||
<td valign="top">loc<br>
|
<td valign="top">eth2<br>
|
||||||
</td>
|
</td>
|
||||||
<td valign="top">ACCEPT<br>
|
<td valign="top">0.0.0.0/0<br>
|
||||||
</td>
|
</td>
|
||||||
<td valign="top"><br>
|
<td valign="top">tcp<br>
|
||||||
</td>
|
</td>
|
||||||
<td valign="top"><br>
|
<td valign="top">80<br>
|
||||||
|
</td>
|
||||||
|
<td valign="top">-<br>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<br>
|
|
||||||
</li>
|
|
||||||
<li>In /etc/shorewall/start add:<br>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<blockquote>
|
|
||||||
<pre><font color="#009900"><b>iptables -t mangle -A PREROUTING -i eth1 -s ! 192.168.1.3 -p tcp --dport 80 -j MARK --set-mark 202</b></font><br></pre>
|
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
<br>
|
||||||
|
</blockquote>
|
||||||
<ul>
|
<ul>
|
||||||
<li>On 192.168.1.3, arrange for the following command to be executed
|
<li>In /etc/shorewall/rules, you will need:</li>
|
||||||
after networking has come up<br>
|
|
||||||
|
|
||||||
<pre><b><font color="#009900">iptables -t nat -A PREROUTING -i eth0 -d ! 192.168.1.3 -p tcp --dport 80 -j REDIRECT --to-ports 3128</font></b><br></pre>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<blockquote> If you are running RedHat on the server, you can simply execute
|
|
||||||
the following commands after you have typed the iptables command above:<br>
|
|
||||||
</blockquote>
|
|
||||||
|
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<blockquote> </blockquote>
|
|
||||||
|
|
||||||
<pre><font color="#009900"><b>iptables-save > /etc/sysconfig/iptables</b></font><font
|
|
||||||
color="#009900"><b><br>chkconfig --level 35 iptables start<br></b></font></pre>
|
|
||||||
</blockquote>
|
|
||||||
|
|
||||||
<blockquote> </blockquote>
|
|
||||||
|
|
||||||
<h2><a name="DMZ"></a>Squid Running in the DMZ (This is what I do)</h2>
|
|
||||||
You have a single Linux system in your DMZ with IP address 192.0.2.177.
|
|
||||||
You want to run both a web server and Squid on that system. Your DMZ interface
|
|
||||||
is eth1 and your local interface is eth2.<br>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>On your firewall system, issue the following command<br>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<blockquote>
|
|
||||||
<pre><font color="#009900"><b>echo 202 www.out >> /etc/iproute2/rt_tables</b></font><br></pre>
|
|
||||||
</blockquote>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>In /etc/shorewall/init, put:<br>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<blockquote>
|
|
||||||
<pre><font color="#009900"><b>if [ -z "`ip rule list | grep www.out`" ] ; then<br> ip rule add fwmark 202 table www.out<br> ip route add default via 192.0.2.177 dev eth1 table www.out<br> ip route flush cache<br>fi</b></font><br></pre>
|
|
||||||
</blockquote>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li> In /etc/shorewall/start add:<br>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<blockquote>
|
|
||||||
<pre><b><font color="#009900">iptables -t nat -A PREROUTING -i eth2 -p tcp --dport 80 -j MARK --set-mark 202</font></b><br></pre>
|
|
||||||
</blockquote>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>In /etc/shorewall/rules, you will need:</li>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<blockquote>
|
|
||||||
<table cellpadding="2" border="1" cellspacing="0">
|
<table cellpadding="2" border="1" cellspacing="0">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td valign="top">ACTION<br>
|
<td valign="top">ACTION<br>
|
||||||
</td>
|
</td>
|
||||||
<td valign="top">SOURCE<br>
|
<td valign="top">SOURCE<br>
|
||||||
</td>
|
</td>
|
||||||
<td valign="top">DEST<br>
|
<td valign="top">DEST<br>
|
||||||
</td>
|
</td>
|
||||||
<td valign="top">PROTO<br>
|
<td valign="top">PROTO<br>
|
||||||
</td>
|
</td>
|
||||||
<td valign="top">DEST<br>
|
<td valign="top">DEST<br>
|
||||||
PORT(S)<br>
|
PORT(S)<br>
|
||||||
</td>
|
</td>
|
||||||
<td valign="top">CLIENT<br>
|
<td valign="top">CLIENT<br>
|
||||||
PORT(2)<br>
|
PORT(2)<br>
|
||||||
</td>
|
</td>
|
||||||
<td valign="top">ORIGINAL<br>
|
<td valign="top">ORIGINAL<br>
|
||||||
DEST<br>
|
DEST<br>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td valign="top">ACCEPT<br>
|
<td valign="top">ACCEPT<br>
|
||||||
</td>
|
</td>
|
||||||
<td valign="top">dmz<br>
|
<td valign="top">dmz<br>
|
||||||
</td>
|
</td>
|
||||||
<td valign="top">net<br>
|
<td valign="top">net<br>
|
||||||
</td>
|
</td>
|
||||||
<td valign="top">tcp<br>
|
<td valign="top">tcp<br>
|
||||||
</td>
|
</td>
|
||||||
<td valign="top">80<br>
|
<td valign="top">80<br>
|
||||||
</td>
|
</td>
|
||||||
<td valign="top"><br>
|
<td valign="top"><br>
|
||||||
</td>
|
</td>
|
||||||
<td valign="top"><br>
|
<td valign="top"><br>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<br>
|
<br>
|
||||||
</blockquote>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>On 192.0.2.177 (your Web/Squid server), arrange for the following
|
|
||||||
command to be executed after networking has come up<br>
|
|
||||||
|
|
||||||
<pre><font color="#009900"><b>iptables -t nat -A PREROUTING -i eth0 -d ! 192.0.2.177 -p tcp --dport 80 -j REDIRECT --to-ports 3128</b></font><br></pre>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<blockquote> If you are running RedHat on the server, you can simply execute
|
|
||||||
the following commands after you have typed the iptables command above:<br>
|
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<blockquote>
|
<ul>
|
||||||
<blockquote> </blockquote>
|
<li>On 192.0.2.177 (your Web/Squid server), arrange for the following
|
||||||
|
command to be executed after networking has come up<br>
|
||||||
|
|
||||||
|
<pre><font color="#009900"><b>iptables -t nat -A PREROUTING -i eth0 -d ! 192.0.2.177 -p tcp --dport 80 -j REDIRECT --to-ports 3128</b></font><br></pre>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<blockquote> If you are running RedHat on the server, you can simply execute
|
||||||
|
the following commands after you have typed the iptables command above:<br>
|
||||||
|
</blockquote>
|
||||||
|
|
||||||
|
<blockquote>
|
||||||
|
<blockquote> </blockquote>
|
||||||
|
|
||||||
<pre><font color="#009900"><b>iptables-save > /etc/sysconfig/iptables</b></font><font
|
<pre><font color="#009900"><b>iptables-save > /etc/sysconfig/iptables</b></font><font
|
||||||
color="#009900"><b><br>chkconfig --level 35 iptables start<br></b></font></pre>
|
color="#009900"><b><br>chkconfig --level 35 iptables start<br></b></font></pre>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<blockquote> </blockquote>
|
<blockquote> </blockquote>
|
||||||
|
|
||||||
<p><font size="-1"> Updated 1/10/2003 - <a
|
<p><font size="-1"> Updated 1/23/2003 - <a
|
||||||
href="file:///home/teastep/Shorewall-docs/support.htm">Tom Eastep</a>
|
href="file:///home/teastep/Shorewall-docs/support.htm">Tom Eastep</a>
|
||||||
</font></p>
|
</font></p>
|
||||||
|
|
||||||
|
|
||||||
<a
|
<a
|
||||||
href="copyright.htm"><font size="2">Copyright</font> © <font
|
href="copyright.htm"><font size="2">Copyright</font> © <font
|
||||||
size="2">2003 Thomas M. Eastep.</font></a><br>
|
size="2">2003 Thomas M. Eastep.</font></a><br>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
|
<br>
|
||||||
<br>
|
<br>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -2,164 +2,166 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
|
||||||
|
|
||||||
<meta http-equiv="Content-Language" content="en-us">
|
<meta http-equiv="Content-Language" content="en-us">
|
||||||
|
|
||||||
|
|
||||||
<meta http-equiv="Content-Type"
|
<meta http-equiv="Content-Type"
|
||||||
content="text/html; charset=windows-1252">
|
content="text/html; charset=windows-1252">
|
||||||
|
|
||||||
|
|
||||||
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
||||||
|
|
||||||
|
|
||||||
<meta name="ProgId" content="FrontPage.Editor.Document">
|
<meta name="ProgId" content="FrontPage.Editor.Document">
|
||||||
<title>Shorewall Index</title>
|
<title>Shorewall Index</title>
|
||||||
|
|
||||||
<base target="main">
|
<base target="main">
|
||||||
|
|
||||||
<meta name="Microsoft Theme" content="none">
|
<meta name="Microsoft Theme" content="none">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<table border="0" cellpadding="0" cellspacing="0"
|
<table border="0" cellpadding="0" cellspacing="0"
|
||||||
style="border-collapse: collapse;" width="100%" id="AutoNumber1"
|
style="border-collapse: collapse;" width="100%" id="AutoNumber1"
|
||||||
bgcolor="#4b017c" height="90">
|
bgcolor="#4b017c" height="90">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td width="100%" height="90">
|
<td width="100%" height="90">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h3 align="center"><font color="#ffffff">Shorewall</font></h3>
|
<h3 align="center"><font color="#ffffff">Shorewall</font></h3>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td width="100%" bgcolor="#ffffff">
|
<td width="100%" bgcolor="#ffffff">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li> <a
|
<li> <a
|
||||||
href="seattlefirewall_index.htm">Home</a></li>
|
href="seattlefirewall_index.htm">Home</a></li>
|
||||||
<li> <a
|
<li> <a
|
||||||
href="shorewall_features.htm">Features</a></li>
|
href="shorewall_features.htm">Features</a></li>
|
||||||
<li> <a
|
<li> <a
|
||||||
href="shorewall_prerequisites.htm">Requirements</a></li>
|
href="shorewall_prerequisites.htm">Requirements</a></li>
|
||||||
<li> <a href="download.htm">Download</a><br>
|
<li> <a href="download.htm">Download</a><br>
|
||||||
</li>
|
|
||||||
<li> <a href="Install.htm">Installation/Upgrade/</a><br>
|
|
||||||
<a href="Install.htm">Configuration</a><br>
|
|
||||||
</li>
|
|
||||||
<li> <a href="shorewall_quickstart_guide.htm">QuickStart
|
|
||||||
Guides (HOWTOs)</a><br>
|
|
||||||
</li>
|
</li>
|
||||||
<li> <b><a
|
<li> <a href="Install.htm">Installation/Upgrade/</a><br>
|
||||||
|
<a href="Install.htm">Configuration</a><br>
|
||||||
|
</li>
|
||||||
|
<li> <a href="shorewall_quickstart_guide.htm">QuickStart
|
||||||
|
Guides (HOWTOs)</a><br>
|
||||||
|
</li>
|
||||||
|
<li> <b><a
|
||||||
href="shorewall_quickstart_guide.htm#Documentation">Documentation Index</a></b></li>
|
href="shorewall_quickstart_guide.htm#Documentation">Documentation Index</a></b></li>
|
||||||
<li> <a href="Documentation.htm">Reference
|
<li> <a href="Documentation.htm">Reference
|
||||||
Manual</a></li>
|
Manual</a></li>
|
||||||
<li> <a href="FAQ.htm">FAQs</a></li>
|
<li> <a href="FAQ.htm">FAQs</a></li>
|
||||||
<li><a href="useful_links.html">Useful
|
<li><a href="useful_links.html">Useful
|
||||||
Links</a><br>
|
Links</a><br>
|
||||||
</li>
|
</li>
|
||||||
<li> <a href="troubleshoot.htm">Troubleshooting</a></li>
|
<li> <a href="troubleshoot.htm">Troubleshooting</a></li>
|
||||||
<li> <a href="errata.htm">Errata</a></li>
|
<li> <a href="errata.htm">Errata</a></li>
|
||||||
<li> <a href="upgrade_issues.htm">Upgrade
|
<li> <a href="upgrade_issues.htm">Upgrade
|
||||||
Issues</a></li>
|
Issues</a></li>
|
||||||
<li> <a href="support.htm">Support</a></li>
|
<li> <a href="support.htm">Support</a></li>
|
||||||
<li> <a href="mailing_list.htm">Mailing
|
<li> <a
|
||||||
Lists</a></li>
|
href="http://lists.shorewall.net/mailing_list.htm">Mailing Lists</a></li>
|
||||||
<li> <a href="shorewall_mirrors.htm">Mirrors</a>
|
<li> <a href="shorewall_mirrors.htm">Mirrors</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><a target="_top"
|
<li><a target="_top"
|
||||||
href="http://slovakia.shorewall.net">Slovak Republic</a></li>
|
href="http://slovakia.shorewall.net">Slovak Republic</a></li>
|
||||||
<li><a target="_top"
|
<li><a target="_top"
|
||||||
href="http://shorewall.infohiiway.com">Texas, USA</a></li>
|
href="http://shorewall.infohiiway.com">Texas, USA</a></li>
|
||||||
<li><a target="_top"
|
<li><a target="_top"
|
||||||
href="http://germany.shorewall.net">Germany</a></li>
|
href="http://germany.shorewall.net">Germany</a></li>
|
||||||
<li><a target="_top"
|
<li><a target="_top"
|
||||||
href="http://shorewall.correofuego.com.ar">Argentina</a></li>
|
href="http://shorewall.correofuego.com.ar">Argentina</a></li>
|
||||||
<li><a target="_top"
|
<li><a target="_top"
|
||||||
href="http://france.shorewall.net">France</a></li>
|
href="http://france.shorewall.net">France</a></li>
|
||||||
<li><a href="http://www.shorewall.net"
|
<li><a href="http://www.shorewall.net"
|
||||||
target="_top">Washington State, USA</a><br>
|
target="_top">Washington State, USA</a><br>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li> <a href="News.htm">News Archive</a></li>
|
<li> <a href="News.htm">News Archive</a></li>
|
||||||
<li> <a
|
<li> <a
|
||||||
href="Shorewall_CVS_Access.html">CVS Repository</a></li>
|
href="Shorewall_CVS_Access.html">CVS Repository</a></li>
|
||||||
<li> <a href="quotes.htm">Quotes from Users</a></li>
|
<li> <a href="quotes.htm">Quotes from
|
||||||
<li> <a href="shoreline.htm">About the
|
Users</a></li>
|
||||||
|
<li> <a href="shoreline.htm">About the
|
||||||
Author</a></li>
|
Author</a></li>
|
||||||
<li> <a
|
<li> <a
|
||||||
href="seattlefirewall_index.htm#Donations">Donations</a></li>
|
href="seattlefirewall_index.htm#Donations">Donations</a></li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<form method="post" action="http://lists.shorewall.net/cgi-bin/htsearch">
|
<form method="post" action="http://lists.shorewall.net/cgi-bin/htsearch">
|
||||||
<strong><br>
|
<strong><br>
|
||||||
<b>Note: </b></strong>Search is unavailable Daily
|
<b>Note: </b></strong>Search is unavailable Daily
|
||||||
0200-0330 GMT.<br>
|
0200-0330 GMT.<br>
|
||||||
<strong></strong>
|
<strong></strong>
|
||||||
|
|
||||||
<p><strong>Quick Search</strong><br>
|
<p><strong>Quick Search</strong><br>
|
||||||
<font face="Arial" size="-1"> <input
|
<font face="Arial" size="-1"> <input
|
||||||
type="text" name="words" size="15"></font><font size="-1"> </font> <font
|
type="text" name="words" size="15"></font><font size="-1"> </font> <font
|
||||||
face="Arial" size="-1"> <input type="hidden" name="format"
|
face="Arial" size="-1"> <input type="hidden" name="format"
|
||||||
value="long"> <input type="hidden" name="method" value="and"> <input
|
value="long"> <input type="hidden" name="method" value="and"> <input
|
||||||
type="hidden" name="config" value="htdig"> <input type="submit"
|
type="hidden" name="config" value="htdig"> <input type="submit"
|
||||||
value="Search"></font> </p>
|
value="Search"></font> </p>
|
||||||
<font face="Arial"> <input type="hidden"
|
<font face="Arial"> <input
|
||||||
name="exclude" value="[http://lists.shorewall.net/pipermail/*]"> </font>
|
type="hidden" name="exclude"
|
||||||
</form>
|
value="[http://lists.shorewall.net/pipermail/*]"> </font> </form>
|
||||||
|
|
||||||
<p><b><a href="http://lists.shorewall.net/htdig/search.html">Extended Search</a></b></p>
|
<p><b><a href="http://lists.shorewall.net/htdig/search.html">Extended Search</a></b></p>
|
||||||
|
|
||||||
<p><a href="copyright.htm"><font size="2">Copyright</font> © <font
|
<p><a href="copyright.htm"><font size="2">Copyright</font> © <font
|
||||||
size="2">2001-2003 Thomas M. Eastep.</font></a></p>
|
size="2">2001-2003 Thomas M. Eastep.</font></a></p>
|
||||||
|
|
||||||
<p><a href="http://www.shorewall.net" target="_top"> <img border="1"
|
<p><a href="http://www.shorewall.net" target="_top"> <img border="1"
|
||||||
src="images/shorewall.jpg" width="119" height="38" hspace="0">
|
src="images/shorewall.jpg" width="119" height="38" hspace="0">
|
||||||
</a><br>
|
</a><br>
|
||||||
<br>
|
<br>
|
||||||
</p>
|
</p>
|
||||||
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
<br>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -2,164 +2,166 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
|
||||||
|
|
||||||
<meta http-equiv="Content-Language" content="en-us">
|
<meta http-equiv="Content-Language" content="en-us">
|
||||||
|
|
||||||
|
|
||||||
<meta http-equiv="Content-Type"
|
<meta http-equiv="Content-Type"
|
||||||
content="text/html; charset=windows-1252">
|
content="text/html; charset=windows-1252">
|
||||||
|
|
||||||
|
|
||||||
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
||||||
|
|
||||||
|
|
||||||
<meta name="ProgId" content="FrontPage.Editor.Document">
|
<meta name="ProgId" content="FrontPage.Editor.Document">
|
||||||
<title>Shorewall Index</title>
|
<title>Shorewall Index</title>
|
||||||
|
|
||||||
<base target="main">
|
<base target="main">
|
||||||
|
|
||||||
|
|
||||||
<meta name="Microsoft Theme" content="none">
|
<meta name="Microsoft Theme" content="none">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<table border="0" cellpadding="0" cellspacing="0"
|
<table border="0" cellpadding="0" cellspacing="0"
|
||||||
style="border-collapse: collapse;" width="100%" id="AutoNumber1"
|
style="border-collapse: collapse;" width="100%" id="AutoNumber1"
|
||||||
bgcolor="#4b017c" height="90">
|
bgcolor="#4b017c" height="90">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td width="100%" height="90">
|
<td width="100%" height="90">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h3 align="center"><font color="#ffffff">Shorewall</font></h3>
|
<h3 align="center"><font color="#ffffff">Shorewall</font></h3>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td width="100%" bgcolor="#ffffff">
|
<td width="100%" bgcolor="#ffffff">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li> <a
|
<li> <a
|
||||||
href="seattlefirewall_index.htm">Home</a></li>
|
href="seattlefirewall_index.htm">Home</a></li>
|
||||||
<li> <a
|
<li> <a
|
||||||
href="shorewall_features.htm">Features</a></li>
|
href="shorewall_features.htm">Features</a></li>
|
||||||
<li> <a
|
<li> <a
|
||||||
href="shorewall_prerequisites.htm">Requirements</a></li>
|
href="shorewall_prerequisites.htm">Requirements</a></li>
|
||||||
<li> <a href="download.htm">Download</a><br>
|
<li> <a href="download.htm">Download</a><br>
|
||||||
</li>
|
|
||||||
<li> <a href="Install.htm">Installation/Upgrade/</a><br>
|
|
||||||
<a href="Install.htm">Configuration</a><br>
|
|
||||||
</li>
|
|
||||||
<li> <a href="shorewall_quickstart_guide.htm">QuickStart
|
|
||||||
Guides (HOWTOs)</a><br>
|
|
||||||
</li>
|
</li>
|
||||||
<li> <b><a
|
<li> <a href="Install.htm">Installation/Upgrade/</a><br>
|
||||||
|
<a href="Install.htm">Configuration</a><br>
|
||||||
|
</li>
|
||||||
|
<li> <a
|
||||||
|
href="shorewall_quickstart_guide.htm">QuickStart Guides (HOWTOs)</a><br>
|
||||||
|
</li>
|
||||||
|
<li> <b><a
|
||||||
href="shorewall_quickstart_guide.htm#Documentation">Documentation Index</a></b></li>
|
href="shorewall_quickstart_guide.htm#Documentation">Documentation Index</a></b></li>
|
||||||
<li> <a href="Documentation.htm">Reference
|
<li> <a href="Documentation.htm">Reference
|
||||||
Manual</a></li>
|
Manual</a></li>
|
||||||
<li> <a href="FAQ.htm">FAQs</a></li>
|
<li> <a href="FAQ.htm">FAQs</a></li>
|
||||||
<li><a href="useful_links.html">Useful
|
<li><a href="useful_links.html">Useful
|
||||||
Links</a><br>
|
Links</a><br>
|
||||||
</li>
|
</li>
|
||||||
<li> <a href="troubleshoot.htm">Troubleshooting</a></li>
|
<li> <a href="troubleshoot.htm">Troubleshooting</a></li>
|
||||||
<li> <a href="errata.htm">Errata</a></li>
|
<li> <a href="errata.htm">Errata</a></li>
|
||||||
<li> <a href="upgrade_issues.htm">Upgrade
|
<li> <a href="upgrade_issues.htm">Upgrade
|
||||||
Issues</a></li>
|
Issues</a></li>
|
||||||
<li> <a href="support.htm">Support</a></li>
|
<li> <a href="support.htm">Support</a></li>
|
||||||
<li> <a href="mailing_list.htm">Mailing
|
<li> <a
|
||||||
Lists</a></li>
|
href="http://lists.shorewall.net/mailing_list.htm">Mailing Lists</a></li>
|
||||||
<li> <a href="shorewall_mirrors.htm">Mirrors</a>
|
<li> <a href="shorewall_mirrors.htm">Mirrors</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><a target="_top"
|
||||||
|
href="http://slovakia.shorewall.net">Slovak Republic</a></li>
|
||||||
|
<li><a target="_top"
|
||||||
|
href="http://shorewall.infohiiway.com">Texas, USA</a></li>
|
||||||
|
<li><a target="_top"
|
||||||
|
href="http://germany.shorewall.net">Germany</a></li>
|
||||||
|
<li><a target="_top"
|
||||||
|
href="http://shorewall.correofuego.com.ar">Argentina</a></li>
|
||||||
|
<li><a target="_top"
|
||||||
|
href="http://france.shorewall.net">France</a></li>
|
||||||
|
<li><a href="http://www.shorewall.net"
|
||||||
|
target="_top">Washington State, USA</a><br>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li><a target="_top"
|
|
||||||
href="http://slovakia.shorewall.net">Slovak Republic</a></li>
|
|
||||||
<li><a target="_top"
|
|
||||||
href="http://shorewall.infohiiway.com">Texas, USA</a></li>
|
|
||||||
<li><a target="_top"
|
|
||||||
href="http://germany.shorewall.net">Germany</a></li>
|
|
||||||
<li><a target="_top"
|
|
||||||
href="http://shorewall.correofuego.com.ar">Argentina</a></li>
|
|
||||||
<li><a target="_top"
|
|
||||||
href="http://france.shorewall.net">France</a></li>
|
|
||||||
<li><a href="http://www.shorewall.net"
|
|
||||||
target="_top">Washington State, USA</a><br>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li> <a href="News.htm">News Archive</a></li>
|
<li> <a href="News.htm">News Archive</a></li>
|
||||||
<li> <a
|
<li> <a
|
||||||
href="Shorewall_CVS_Access.html">CVS Repository</a></li>
|
href="Shorewall_CVS_Access.html">CVS Repository</a></li>
|
||||||
<li> <a href="quotes.htm">Quotes from
|
<li> <a href="quotes.htm">Quotes from
|
||||||
Users</a></li>
|
Users</a></li>
|
||||||
<li> <a href="shoreline.htm">About the
|
<li> <a href="shoreline.htm">About the
|
||||||
Author</a></li>
|
Author</a></li>
|
||||||
<li> <a
|
<li> <a
|
||||||
href="sourceforge_index.htm#Donations">Donations</a></li>
|
href="sourceforge_index.htm#Donations">Donations</a></li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<form method="post" action="http://lists.shorewall.net/cgi-bin/htsearch">
|
<form method="post" action="http://lists.shorewall.net/cgi-bin/htsearch">
|
||||||
<strong><br>
|
<strong><br>
|
||||||
<b>Note: </b></strong>Search is unavailable Daily
|
<b>Note: </b></strong>Search is unavailable Daily
|
||||||
0200-0330 GMT.<br>
|
0200-0330 GMT.<br>
|
||||||
<strong></strong>
|
<strong></strong>
|
||||||
|
|
||||||
<p><strong>Quick Search</strong><br>
|
<p><strong>Quick Search</strong><br>
|
||||||
<font face="Arial" size="-1"> <input
|
<font face="Arial" size="-1"> <input
|
||||||
type="text" name="words" size="15"></font><font size="-1"> </font> <font
|
type="text" name="words" size="15"></font><font size="-1"> </font> <font
|
||||||
face="Arial" size="-1"> <input type="hidden" name="format"
|
face="Arial" size="-1"> <input type="hidden" name="format"
|
||||||
value="long"> <input type="hidden" name="method" value="and"> <input
|
value="long"> <input type="hidden" name="method" value="and"> <input
|
||||||
type="hidden" name="config" value="htdig"> <input type="submit"
|
type="hidden" name="config" value="htdig"> <input type="submit"
|
||||||
value="Search"></font> </p>
|
value="Search"></font> </p>
|
||||||
<font face="Arial"> <input
|
<font face="Arial"> <input
|
||||||
type="hidden" name="exclude"
|
type="hidden" name="exclude"
|
||||||
value="[http://lists.shorewall.net/pipermail/*]"> </font> </form>
|
value="[http://lists.shorewall.net/pipermail/*]"> </font> </form>
|
||||||
|
|
||||||
<p><b><a href="http://lists.shorewall.net/htdig/search.html">Extended Search</a></b></p>
|
<p><b><a href="http://lists.shorewall.net/htdig/search.html">Extended Search</a></b></p>
|
||||||
|
|
||||||
<p><a href="copyright.htm"><font size="2">Copyright</font> © <font
|
<p><a href="copyright.htm"><font size="2">Copyright</font> © <font
|
||||||
size="2">2001-2003 Thomas M. Eastep.</font></a></p>
|
size="2">2001-2003 Thomas M. Eastep.</font></a></p>
|
||||||
|
|
||||||
<p><a href="http://www.shorewall.net" target="_top"> </a><br>
|
<p><a href="http://www.shorewall.net" target="_top"> </a><br>
|
||||||
</p>
|
</p>
|
||||||
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@ -1,140 +1,144 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
|
||||||
<meta http-equiv="Content-Language" content="en-us">
|
<meta http-equiv="Content-Language" content="en-us">
|
||||||
|
|
||||||
<meta http-equiv="Content-Type"
|
<meta http-equiv="Content-Type"
|
||||||
content="text/html; charset=windows-1252">
|
content="text/html; charset=windows-1252">
|
||||||
|
|
||||||
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
||||||
|
|
||||||
<meta name="ProgId" content="FrontPage.Editor.Document">
|
<meta name="ProgId" content="FrontPage.Editor.Document">
|
||||||
<title>Shorewall Mailing Lists</title>
|
<title>Shorewall Mailing Lists</title>
|
||||||
|
|
||||||
|
|
||||||
<meta name="Microsoft Theme" content="none">
|
<meta name="Microsoft Theme" content="none">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<table height="90" bgcolor="#400169" id="AutoNumber1" width="100%"
|
<table height="90" bgcolor="#400169" id="AutoNumber1" width="100%"
|
||||||
style="border-collapse: collapse;" cellspacing="0" cellpadding="0"
|
style="border-collapse: collapse;" cellspacing="0" cellpadding="0"
|
||||||
border="0">
|
border="0">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td width="33%" valign="middle">
|
<td width="33%" valign="middle" align="left">
|
||||||
|
|
||||||
|
|
||||||
<h1 align="center"><a
|
<h1 align="center"><a
|
||||||
href="http://www.centralcommand.com/linux_products.html"><img
|
href="http://www.centralcommand.com/linux_products.html"><img
|
||||||
src="images/Vexira_Antivirus_Logo.gif" alt="Vexira Logo" width="78"
|
src="images/Vexira_Antivirus_Logo.gif" alt="Vexira Logo" width="78"
|
||||||
height="79" align="left">
|
height="79" align="left">
|
||||||
</a></h1>
|
</a></h1>
|
||||||
|
|
||||||
|
|
||||||
|
<a
|
||||||
<h1 align="center"><a
|
|
||||||
href="http://www.gnu.org/software/mailman/mailman.html"> <img
|
href="http://www.gnu.org/software/mailman/mailman.html"> <img
|
||||||
border="0" src="images/logo-sm.jpg" align="left" hspace="5" width="110"
|
border="0" src="images/logo-sm.jpg" align="left" hspace="5" width="110"
|
||||||
height="35" alt="">
|
height="35" alt="">
|
||||||
</a></h1>
|
</a>
|
||||||
|
<p align="right"><font color="#ffffff"><b> </b></font> </p>
|
||||||
<p align="right"><br>
|
</td>
|
||||||
<font color="#ffffff"><b> </b></font> </p>
|
<td valign="middle" width="34%" align="center">
|
||||||
</td>
|
|
||||||
<td valign="middle" width="34%" align="center">
|
|
||||||
<h1 align="center"><font color="#ffffff">Shorewall Mailing Lists</font></h1>
|
<h1 align="center"><font color="#ffffff">Shorewall Mailing Lists</font></h1>
|
||||||
</td>
|
</td>
|
||||||
<td valign="middle" width="33%">
|
<td valign="middle" width="33%"> <a
|
||||||
<h1 align="center"><a href="http://www.postfix.org/"> <img
|
href="http://www.postfix.org/"> <img
|
||||||
src="images/small-picture.gif" align="right" border="0" width="115"
|
src="images/small-picture.gif" align="right" border="0" width="115"
|
||||||
height="45" alt="(Postfix Logo)">
|
height="45" alt="(Postfix Logo)">
|
||||||
</a></h1>
|
</a><br>
|
||||||
<br>
|
|
||||||
|
<div align="left"><a href="http://www.spamassassin.org"><img
|
||||||
|
src="file:///J:/Shorewall-docs/images/ninjalogo.png" alt="" width="110"
|
||||||
|
height="42" align="right" border="0">
|
||||||
|
</a> </div>
|
||||||
|
<br>
|
||||||
|
|
||||||
<div align="right"><br>
|
<div align="right"><br>
|
||||||
<b><font color="#ffffff">Powered by Postfix </font></b><br>
|
<b><font color="#ffffff"><br>
|
||||||
</div>
|
Powered by Postfix </font></b><br>
|
||||||
</td>
|
</div>
|
||||||
</tr>
|
</td>
|
||||||
|
</tr>
|
||||||
</tbody>
|
|
||||||
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<h2 align="left">Not getting List Mail? -- <a
|
<h2 align="left">Not getting List Mail? -- <a
|
||||||
href="mailing_list_problems.htm">Check Here</a></h2>
|
href="mailing_list_problems.htm">Check Here</a></h2>
|
||||||
|
|
||||||
<p align="left">If you experience problems with any of these lists, please
|
<p align="left">If you experience problems with any of these lists, please
|
||||||
let <a href="mailto:teastep@shorewall.net">me</a> know</p>
|
let <a href="mailto:teastep@shorewall.net">me</a> know</p>
|
||||||
|
|
||||||
<h2 align="left">Not able to Post Mail to shorewall.net?</h2>
|
<h2 align="left">Not able to Post Mail to shorewall.net?</h2>
|
||||||
|
|
||||||
<p align="left">You can report such problems by sending mail to tom dot eastep
|
<p align="left">You can report such problems by sending mail to tom dot eastep
|
||||||
at hp dot com.</p>
|
at hp dot com.</p>
|
||||||
|
|
||||||
<h2>A Word about SPAM Filters <a href="http://ordb.org"></a><a
|
<h2>A Word about SPAM Filters <a href="http://ordb.org"></a><a
|
||||||
href="http://osirusoft.com/"> </a></h2>
|
href="http://osirusoft.com/"> </a></h2>
|
||||||
|
|
||||||
<p>Before subscribing please read my <a href="spam_filters.htm">policy
|
<p>Before subscribing please read my <a href="spam_filters.htm">policy
|
||||||
about list traffic that bounces.</a> Also please note that the mail server
|
about list traffic that bounces.</a> Also please note that the mail server
|
||||||
at shorewall.net checks incoming mail:<br>
|
at shorewall.net checks incoming mail:<br>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<ol>
|
<ol>
|
||||||
<li>against <a href="http://spamassassin.org">Spamassassin</a>
|
<li>against <a href="http://spamassassin.org">Spamassassin</a>
|
||||||
(including <a href="http://razor.sourceforge.net/">Vipul's Razor</a>).<br>
|
(including <a href="http://razor.sourceforge.net/">Vipul's Razor</a>).<br>
|
||||||
</li>
|
</li>
|
||||||
<li>to ensure that the sender address is fully qualified.</li>
|
<li>to ensure that the sender address is fully qualified.</li>
|
||||||
<li>to verify that the sender's domain has an A or MX record
|
<li>to verify that the sender's domain has an A or MX record
|
||||||
in DNS.</li>
|
in DNS.</li>
|
||||||
<li>to ensure that the host name in the HELO/EHLO command is
|
<li>to ensure that the host name in the HELO/EHLO command
|
||||||
a valid fully-qualified DNS name that resolves.</li>
|
is a valid fully-qualified DNS name that resolves.</li>
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
<h2>Please post in plain text</h2>
|
<h2>Please post in plain text</h2>
|
||||||
A growing number of MTAs serving list subscribers are rejecting all
|
A growing number of MTAs serving list subscribers are rejecting all
|
||||||
HTML traffic. At least one MTA has gone so far as to blacklist shorewall.net
|
HTML traffic. At least one MTA has gone so far as to blacklist shorewall.net
|
||||||
"for continuous abuse" because it has been my policy to allow HTML in list
|
"for continuous abuse" because it has been my policy to allow HTML in list
|
||||||
posts!!<br>
|
posts!!<br>
|
||||||
<br>
|
<br>
|
||||||
I think that blocking all HTML is a Draconian way to control spam
|
I think that blocking all HTML is a Draconian way to control spam
|
||||||
and that the ultimate losers here are not the spammers but the list subscribers
|
and that the ultimate losers here are not the spammers but the list subscribers
|
||||||
whose MTAs are bouncing all shorewall.net mail. As one list subscriber
|
whose MTAs are bouncing all shorewall.net mail. As one list subscriber
|
||||||
wrote to me privately "These e-mail admin's need to get a <i>(explitive
|
wrote to me privately "These e-mail admin's need to get a <i>(explitive deleted)</i>
|
||||||
deleted)</i> life instead of trying to rid the planet of HTML based e-mail".
|
life instead of trying to rid the planet of HTML based e-mail". Nevertheless,
|
||||||
Nevertheless, to allow subscribers to receive list posts as must as possible,
|
to allow subscribers to receive list posts as must as possible, I have now
|
||||||
I have now configured the list server at shorewall.net to strip all HTML
|
configured the list server at shorewall.net to strip all HTML from outgoing
|
||||||
from outgoing posts. This means that HTML-only posts will be bounced by
|
posts. This means that HTML-only posts will be bounced by the list server.<br>
|
||||||
the list server.<br>
|
|
||||||
|
|
||||||
<p align="left"> <b>Note: </b>The list server limits posts to 120kb.<br>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
|
<p align="left"> <b>Note: </b>The list server limits posts to 120kb.<br>
|
||||||
|
</p>
|
||||||
|
|
||||||
<h2>Other Mail Delivery Problems</h2>
|
<h2>Other Mail Delivery Problems</h2>
|
||||||
If you find that you are missing an occasional list post, your e-mail
|
If you find that you are missing an occasional list post, your e-mail
|
||||||
admin may be blocking mail whose <i>Received:</i> headers contain the names
|
admin may be blocking mail whose <i>Received:</i> headers contain the names
|
||||||
of certain ISPs. Again, I believe that such policies hurt more than they help
|
of certain ISPs. Again, I believe that such policies hurt more than they
|
||||||
but I'm not prepared to go so far as to start stripping <i>Received:</i>
|
help but I'm not prepared to go so far as to start stripping <i>Received:</i>
|
||||||
headers to circumvent those policies.<br>
|
headers to circumvent those policies.<br>
|
||||||
|
|
||||||
<h2 align="left">Mailing Lists Archive Search</h2>
|
<h2 align="left">Mailing Lists Archive Search</h2>
|
||||||
|
|
||||||
<form method="post" action="http://lists.shorewall.net/cgi-bin/htsearch">
|
<form method="post" action="http://lists.shorewall.net/cgi-bin/htsearch">
|
||||||
|
|
||||||
<p> <font size="-1"> Match:
|
<p> <font size="-1"> Match:
|
||||||
|
|
||||||
<select name="method">
|
<select name="method">
|
||||||
<option value="and">All </option>
|
<option value="and">All </option>
|
||||||
<option value="or">Any </option>
|
<option value="or">Any </option>
|
||||||
<option value="boolean">Boolean </option>
|
<option value="boolean">Boolean </option>
|
||||||
</select>
|
</select>
|
||||||
Format:
|
Format:
|
||||||
<select name="format">
|
<select name="format">
|
||||||
<option value="builtin-long">Long </option>
|
<option value="builtin-long">Long </option>
|
||||||
<option value="builtin-short">Short </option>
|
<option value="builtin-short">Short </option>
|
||||||
</select>
|
</select>
|
||||||
Sort by:
|
Sort by:
|
||||||
|
|
||||||
<select name="sort">
|
<select name="sort">
|
||||||
<option value="score">Score </option>
|
<option value="score">Score </option>
|
||||||
<option value="time">Time </option>
|
<option value="time">Time </option>
|
||||||
@ -143,139 +147,149 @@ but I'm not prepared to go so far as to start stripping <i>Received:</i>
|
|||||||
<option value="revtime">Reverse Time </option>
|
<option value="revtime">Reverse Time </option>
|
||||||
<option value="revtitle">Reverse Title </option>
|
<option value="revtitle">Reverse Title </option>
|
||||||
</select>
|
</select>
|
||||||
</font> <input type="hidden" name="config" value="htdig">
|
</font> <input type="hidden" name="config"
|
||||||
<input type="hidden" name="restrict"
|
value="htdig"> <input type="hidden" name="restrict"
|
||||||
value="[http://lists.shorewall.net/pipermail/.*]"> <input type="hidden"
|
value="[http://lists.shorewall.net/pipermail/.*]"> <input type="hidden"
|
||||||
name="exclude" value=""> <br>
|
name="exclude" value=""> <br>
|
||||||
Search: <input type="text" size="30" name="words"
|
Search: <input type="text" size="30" name="words"
|
||||||
value=""> <input type="submit" value="Search"> </p>
|
value=""> <input type="submit" value="Search"> </p>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<h2 align="left"><font color="#ff0000">Please do not try to download the entire
|
<h2 align="left"><font color="#ff0000">Please do not try to download the
|
||||||
Archive -- it is 75MB (and growing daily) and my slow DSL line simply won't
|
entire Archive -- it is 75MB (and growing daily) and my slow DSL line simply
|
||||||
stand the traffic. If I catch you, you will be blacklisted.<br>
|
won't stand the traffic. If I catch you, you will be blacklisted.<br>
|
||||||
</font></h2>
|
</font></h2>
|
||||||
|
|
||||||
<h2 align="left">Shorewall CA Certificate</h2>
|
<h2 align="left">Shorewall CA Certificate</h2>
|
||||||
If you want to trust X.509 certificates issued by Shoreline
|
If you want to trust X.509 certificates issued by Shoreline
|
||||||
Firewall (such as the one used on my web site), you may <a
|
Firewall (such as the one used on my web site), you may <a
|
||||||
href="Shorewall_CA_html.html">download and install my CA certificate</a>
|
href="Shorewall_CA_html.html">download and install my CA certificate</a>
|
||||||
in your browser. If you don't wish to trust my certificates then you
|
in your browser. If you don't wish to trust my certificates then you
|
||||||
can either use unencrypted access when subscribing to Shorewall mailing
|
can either use unencrypted access when subscribing to Shorewall mailing
|
||||||
lists or you can use secure access (SSL) and accept the server's certificate
|
lists or you can use secure access (SSL) and accept the server's certificate
|
||||||
when prompted by your browser.<br>
|
when prompted by your browser.<br>
|
||||||
|
|
||||||
<h2 align="left">Shorewall Users Mailing List</h2>
|
<h2 align="left">Shorewall Users Mailing List</h2>
|
||||||
|
|
||||||
<p align="left">The Shorewall Users Mailing list provides a way for users
|
<p align="left">The Shorewall Users Mailing list provides a way for users
|
||||||
to get answers to questions and to report problems. Information of
|
to get answers to questions and to report problems. Information of
|
||||||
general interest to the Shorewall user community is also posted to
|
general interest to the Shorewall user community is also posted to
|
||||||
this list.</p>
|
this list.</p>
|
||||||
|
|
||||||
<p align="left"><b>Before posting a problem report to this list, please see
|
<p align="left"><b>Before posting a problem report to this list, please see
|
||||||
the <a href="support.htm">problem reporting guidelines</a>.</b></p>
|
the <a href="support.htm">problem reporting guidelines</a>.</b></p>
|
||||||
|
|
||||||
<p align="left">To subscribe to the mailing list:<br>
|
|
||||||
</p>
|
|
||||||
<ul>
|
|
||||||
<li><b>Insecure: </b><a
|
|
||||||
href="http://lists.shorewall.net/mailman/listinfo/shorewall-users">http://lists.shorewall.net/mailman/listinfo/shorewall-users</a></li>
|
|
||||||
<li><b>SSL:</b> <a
|
|
||||||
href="https://lists.shorewall.net/mailman/listinfo/shorewall-users"
|
|
||||||
target="_top">https//lists.shorewall.net/mailman/listinfo/shorewall-users</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p align="left">To post to the list, post to <a
|
|
||||||
href="mailto:shorewall-users@lists.shorewall.net">shorewall-users@lists.shorewall.net</a>.</p>
|
|
||||||
|
|
||||||
<p align="left">The list archives are at <a
|
|
||||||
href="http://lists.shorewall.net/pipermail/shorewall-users/index.html">http://lists.shorewall.net/pipermail/shorewall-users</a>.</p>
|
|
||||||
|
|
||||||
<p align="left">Note that prior to 1/1/2002, the mailing list was hosted
|
|
||||||
at <a href="http://sourceforge.net">Sourceforge</a>. The archives from that
|
|
||||||
list may be found at <a
|
|
||||||
href="http://www.geocrawler.com/lists/3/Sourceforge/9327/0/">www.geocrawler.com/lists/3/Sourceforge/9327/0/</a>.</p>
|
|
||||||
|
|
||||||
<h2 align="left">Shorewall Announce Mailing List</h2>
|
|
||||||
|
|
||||||
<p align="left">This list is for announcements of general interest to the
|
|
||||||
Shorewall community. To subscribe:<br>
|
|
||||||
</p>
|
|
||||||
<p align="left"></p>
|
|
||||||
<ul>
|
|
||||||
<li><b>Insecure:</b> <a
|
|
||||||
href="http://lists.shorewall.net/mailman/listinfo/shorewall-announce">http://lists.shorewall.net/mailman/listinfo/shorewall-announce</a></li>
|
|
||||||
<li><b>SSL</b>: <a
|
|
||||||
href="https://lists.shorewall.net/mailman/listinfo/shorewall-announce"
|
|
||||||
target="_top">https//lists.shorewall.net/mailman/listinfo/shorewall-announce.</a></li>
|
|
||||||
</ul>
|
|
||||||
<p align="left"><br>
|
|
||||||
The list archives are at <a
|
|
||||||
href="http://lists.shorewall.net/pipermail/shorewall-announce">http://lists.shorewall.net/pipermail/shorewall-announce</a>.</p>
|
|
||||||
|
|
||||||
<h2 align="left">Shorewall Development Mailing List</h2>
|
|
||||||
|
|
||||||
<p align="left">The Shorewall Development Mailing list provides a forum for
|
|
||||||
the exchange of ideas about the future of Shorewall and for coordinating
|
|
||||||
ongoing Shorewall Development.</p>
|
|
||||||
|
|
||||||
<p align="left">To subscribe to the mailing list:<br>
|
<p align="left">To subscribe to the mailing list:<br>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><b>Insecure: </b><a
|
<li><b>Insecure: </b><a
|
||||||
|
href="http://lists.shorewall.net/mailman/listinfo/shorewall-users">http://lists.shorewall.net/mailman/listinfo/shorewall-users</a></li>
|
||||||
|
<li><b>SSL:</b> <a
|
||||||
|
href="https://lists.shorewall.net/mailman/listinfo/shorewall-users"
|
||||||
|
target="_top">https//lists.shorewall.net/mailman/listinfo/shorewall-users</a></li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<p align="left">To post to the list, post to <a
|
||||||
|
href="mailto:shorewall-users@lists.shorewall.net">shorewall-users@lists.shorewall.net</a>.</p>
|
||||||
|
|
||||||
|
<p align="left">The list archives are at <a
|
||||||
|
href="http://lists.shorewall.net/pipermail/shorewall-users/index.html">http://lists.shorewall.net/pipermail/shorewall-users</a>.</p>
|
||||||
|
|
||||||
|
<p align="left">Note that prior to 1/1/2002, the mailing list was hosted at
|
||||||
|
<a href="http://sourceforge.net">Sourceforge</a>. The archives from that list
|
||||||
|
may be found at <a
|
||||||
|
href="http://www.geocrawler.com/lists/3/Sourceforge/9327/0/">www.geocrawler.com/lists/3/Sourceforge/9327/0/</a>.</p>
|
||||||
|
|
||||||
|
<h2 align="left">Shorewall Announce Mailing List</h2>
|
||||||
|
|
||||||
|
<p align="left">This list is for announcements of general interest to the
|
||||||
|
Shorewall community. To subscribe:<br>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p align="left"></p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><b>Insecure:</b> <a
|
||||||
|
href="http://lists.shorewall.net/mailman/listinfo/shorewall-announce">http://lists.shorewall.net/mailman/listinfo/shorewall-announce</a></li>
|
||||||
|
<li><b>SSL</b>: <a
|
||||||
|
href="https://lists.shorewall.net/mailman/listinfo/shorewall-announce"
|
||||||
|
target="_top">https//lists.shorewall.net/mailman/listinfo/shorewall-announce.</a></li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<p align="left"><br>
|
||||||
|
The list archives are at <a
|
||||||
|
href="http://lists.shorewall.net/pipermail/shorewall-announce">http://lists.shorewall.net/pipermail/shorewall-announce</a>.</p>
|
||||||
|
|
||||||
|
<h2 align="left">Shorewall Development Mailing List</h2>
|
||||||
|
|
||||||
|
<p align="left">The Shorewall Development Mailing list provides a forum for
|
||||||
|
the exchange of ideas about the future of Shorewall and for coordinating
|
||||||
|
ongoing Shorewall Development.</p>
|
||||||
|
|
||||||
|
<p align="left">To subscribe to the mailing list:<br>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><b>Insecure: </b><a
|
||||||
href="http://lists.shorewall.net/mailman/listinfo/shorewall-devel">http://lists.shorewall.net/mailman/listinfo/shorewall-devel</a></li>
|
href="http://lists.shorewall.net/mailman/listinfo/shorewall-devel">http://lists.shorewall.net/mailman/listinfo/shorewall-devel</a></li>
|
||||||
<li><b>SSL:</b> <a
|
<li><b>SSL:</b> <a
|
||||||
href="https://lists.shorewall.net/mailman/listinfo/shorewall-devel"
|
href="https://lists.shorewall.net/mailman/listinfo/shorewall-devel"
|
||||||
target="_top">https//lists.shorewall.net/mailman/listinfo/shorewall-devel.</a></li>
|
target="_top">https//lists.shorewall.net/mailman/listinfo/shorewall-devel.</a></li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p align="left"> To post to the list, post to <a
|
<p align="left"> To post to the list, post to <a
|
||||||
href="mailto:shorewall-devel@lists.shorewall.net">shorewall-devel@lists.shorewall.net</a>. </p>
|
href="mailto:shorewall-devel@lists.shorewall.net">shorewall-devel@lists.shorewall.net</a>. </p>
|
||||||
|
|
||||||
<p align="left">The list archives are at <a
|
<p align="left">The list archives are at <a
|
||||||
href="http://lists.shorewall.net/pipermail/shorewall-devel">http://lists.shorewall.net/pipermail/shorewall-devel</a>.</p>
|
href="http://lists.shorewall.net/pipermail/shorewall-devel">http://lists.shorewall.net/pipermail/shorewall-devel</a>.</p>
|
||||||
|
|
||||||
<h2 align="left"><a name="Unsubscribe"></a>How to Unsubscribe from one of
|
<h2 align="left"><a name="Unsubscribe"></a>How to Unsubscribe from one of
|
||||||
the Mailing Lists</h2>
|
the Mailing Lists</h2>
|
||||||
|
|
||||||
<p align="left">There seems to be near-universal confusion about unsubscribing
|
<p align="left">There seems to be near-universal confusion about unsubscribing
|
||||||
from Mailman-managed lists although Mailman 2.1 has attempted to
|
from Mailman-managed lists although Mailman 2.1 has attempted to
|
||||||
make this less confusing. To unsubscribe:</p>
|
make this less confusing. To unsubscribe:</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
|
|
||||||
<p align="left">Follow the same link above that you used to subscribe
|
<p align="left">Follow the same link above that you used to subscribe
|
||||||
to the list.</p>
|
to the list.</p>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
|
|
||||||
<p align="left">Down at the bottom of that page is the following text:
|
<p align="left">Down at the bottom of that page is the following text:
|
||||||
" To <b>unsubscribe</b> from <i><list name></i>, get a password
|
" To <b>unsubscribe</b> from <i><list name></i>, get a password
|
||||||
reminder, or change your subscription options enter your subscription
|
reminder, or change your subscription options enter your subscription
|
||||||
email address:". Enter your email address in the box and click
|
email address:". Enter your email address in the box and click
|
||||||
on the "<b>Unsubscribe</b> or edit options" button.</p>
|
on the "<b>Unsubscribe</b> or edit options" button.</p>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
|
|
||||||
<p align="left">There will now be a box where you can enter your password
|
<p align="left">There will now be a box where you can enter your password
|
||||||
and click on "Unsubscribe"; if you have forgotten your password,
|
and click on "Unsubscribe"; if you have forgotten your password,
|
||||||
there is another button that will cause your password to be emailed
|
there is another button that will cause your password to be emailed
|
||||||
to you.</p>
|
to you.</p>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
<h2 align="left">Frustrated by having to Rebuild Mailman to use it with Postfix?</h2>
|
<h2 align="left">Frustrated by having to Rebuild Mailman to use it with Postfix?</h2>
|
||||||
|
|
||||||
<p align="left"><a href="gnu_mailman.htm">Check out these instructions</a></p>
|
<p align="left"><a href="gnu_mailman.htm">Check out these instructions</a></p>
|
||||||
|
|
||||||
<p align="left"><font size="2">Last updated 1/14/2003 - <a
|
<p align="left"><font size="2">Last updated 1/14/2003 - <a
|
||||||
href="support.htm">Tom Eastep</a></font></p>
|
href="support.htm">Tom Eastep</a></font></p>
|
||||||
|
|
||||||
<p align="left"><a href="copyright.htm"> <font size="2">Copyright</font> ©
|
<p align="left"><a href="copyright.htm"> <font size="2">Copyright</font>
|
||||||
<font size="2">2001, 2002, 2003 Thomas M. Eastep.</font></a><br>
|
© <font size="2">2001, 2002, 2003 Thomas M. Eastep.</font></a><br>
|
||||||
</p>
|
</p>
|
||||||
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
|
@ -1,144 +1,146 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
|
||||||
<meta http-equiv="Content-Type"
|
<meta http-equiv="Content-Type"
|
||||||
content="text/html; charset=windows-1252">
|
content="text/html; charset=windows-1252">
|
||||||
<title>My Shorewall Configuration</title>
|
<title>My Shorewall Configuration</title>
|
||||||
|
|
||||||
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
||||||
|
|
||||||
<meta name="ProgId" content="FrontPage.Editor.Document">
|
|
||||||
|
|
||||||
|
<meta name="ProgId" content="FrontPage.Editor.Document">
|
||||||
|
|
||||||
<meta name="Microsoft Theme" content="none">
|
<meta name="Microsoft Theme" content="none">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<table border="0" cellpadding="0" cellspacing="0"
|
<table border="0" cellpadding="0" cellspacing="0"
|
||||||
style="border-collapse: collapse;" width="100%" id="AutoNumber1"
|
style="border-collapse: collapse;" width="100%" id="AutoNumber1"
|
||||||
bgcolor="#400169" height="90">
|
bgcolor="#400169" height="90">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td width="100%">
|
<td width="100%">
|
||||||
|
|
||||||
<h1 align="center"><font color="#ffffff">About My Network</font></h1>
|
<h1 align="center"><font color="#ffffff">About My Network</font></h1>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<blockquote> </blockquote>
|
</tbody>
|
||||||
|
</table>
|
||||||
<h1>My Current Network </h1>
|
|
||||||
|
|
||||||
<blockquote>
|
<blockquote> </blockquote>
|
||||||
<p><big><font color="#ff0000"><b>Warning: </b></font><b><small>I</small></b></big><big><b><small>
|
|
||||||
use a combination of Static NAT and Proxy ARP, neither of which are relevant
|
<h1>My Current Network </h1>
|
||||||
to a simple configuration with a single public IP address.</small></b></big><big><b><small>
|
|
||||||
If you have just a single public IP address, most of what you see here won't
|
<blockquote>
|
||||||
apply to your setup so beware of copying parts of this configuration and
|
<p><big><font color="#ff0000"><b>Warning: </b></font><b><small>I</small></b></big><big><b><small>
|
||||||
expecting them to work for you. They may or may not work in your setup. </small></b></big><br>
|
use a combination of Static NAT and Proxy ARP, neither of which are relevant
|
||||||
</p>
|
to a simple configuration with a single public IP address.</small></b></big><big><b><small>
|
||||||
<p> I have DSL service and have 5 static IP addresses (206.124.146.176-180).
|
If you have just a single public IP address, most of what you see here won't
|
||||||
My DSL "modem" (<a href="http://www.fujitsu.com">Fujitsu</a> Speedport)
|
apply to your setup so beware of copying parts of this configuration and expecting
|
||||||
is connected to eth0. I have a local network connected to eth2 (subnet
|
them to work for you. What you copy may or may not work in your setup. </small></b></big><br>
|
||||||
192.168.1.0/24) and a DMZ connected to eth1 (192.168.2.0/24). </p>
|
</p>
|
||||||
|
|
||||||
|
<p> I have DSL service and have 5 static IP addresses (206.124.146.176-180).
|
||||||
|
My DSL "modem" (<a href="http://www.fujitsu.com">Fujitsu</a> Speedport)
|
||||||
|
is connected to eth0. I have a local network connected to eth2 (subnet
|
||||||
|
192.168.1.0/24) and a DMZ connected to eth1 (192.168.2.0/24). </p>
|
||||||
|
|
||||||
<p> I use:<br>
|
<p> I use:<br>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>Static NAT for ursa (my XP System) - Internal address 192.168.1.5
|
<li>Static NAT for ursa (my XP System) - Internal address 192.168.1.5
|
||||||
and external address 206.124.146.178.</li>
|
and external address 206.124.146.178.</li>
|
||||||
<li>Proxy ARP for wookie (my Linux System). This system has two
|
<li>Proxy ARP for wookie (my Linux System). This system has two
|
||||||
IP addresses: 192.168.1.3/24 and 206.124.146.179/24.</li>
|
IP addresses: 192.168.1.3/24 and 206.124.146.179/24.</li>
|
||||||
<li>SNAT through the primary gateway address (206.124.146.176)
|
<li>SNAT through the primary gateway address (206.124.146.176)
|
||||||
for my Wife's system (tarry) and the Wireless Access Point (wap)</li>
|
for my Wife's system (tarry) and the Wireless Access Point (wap)</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p> The firewall runs on a 128MB PII/233 with RH7.2 and Kernel 2.4.20-pre6.</p>
|
<p> The firewall runs on a 128MB PII/233 with RH7.2 and Kernel 2.4.20-pre6.</p>
|
||||||
|
|
||||||
<p> Wookie runs Samba and acts as the a WINS server. Wookie is in its
|
<p> Wookie runs Samba and acts as the a WINS server. Wookie is in its
|
||||||
own 'whitelist' zone called 'me'.</p>
|
own 'whitelist' zone called 'me'.</p>
|
||||||
|
|
||||||
<p> My laptop (eastept1) is connected to eth3 using a cross-over cable.
|
<p> My laptop (eastept1) is connected to eth3 using a cross-over cable.
|
||||||
It runs its own <a href="http://www.sygate.com"> Sygate</a> firewall software
|
It runs its own <a href="http://www.sygate.com"> Sygate</a> firewall
|
||||||
and is managed by Proxy ARP. It connects to the local network through
|
software and is managed by Proxy ARP. It connects to the local network
|
||||||
the PopTop server running on my firewall. </p>
|
through the PopTop server running on my firewall. </p>
|
||||||
|
|
||||||
<p> The single system in the DMZ (address 206.124.146.177) runs postfix,
|
<p> The single system in the DMZ (address 206.124.146.177) runs postfix,
|
||||||
Courier IMAP (imaps and pop3), DNS, a Web server (Apache) and an FTP server
|
Courier IMAP (imaps and pop3), DNS, a Web server (Apache) and an FTP
|
||||||
(Pure-ftpd). The system also runs fetchmail to fetch our email from
|
server (Pure-ftpd). The system also runs fetchmail to fetch our email
|
||||||
our old and current ISPs. That server is managed through Proxy ARP.</p>
|
from our old and current ISPs. That server is managed through Proxy ARP.</p>
|
||||||
|
|
||||||
<p> The firewall system itself runs a DHCP server that serves the local
|
<p> The firewall system itself runs a DHCP server that serves the local
|
||||||
network.</p>
|
network.</p>
|
||||||
|
|
||||||
<p> All administration and publishing is done using ssh/scp.</p>
|
<p> All administration and publishing is done using ssh/scp.</p>
|
||||||
|
|
||||||
<p> I run an SNMP server on my firewall to serve <a
|
<p> I run an SNMP server on my firewall to serve <a
|
||||||
href="http://www.ee.ethz.ch/%7Eoetiker/webtools/mrtg/"> MRTG</a> running
|
href="http://www.ee.ethz.ch/%7Eoetiker/webtools/mrtg/"> MRTG</a> running
|
||||||
in the DMZ.</p>
|
in the DMZ.</p>
|
||||||
|
|
||||||
<p align="center"> <img border="0"
|
<p align="center"> <img border="0"
|
||||||
src="images/network.png" width="764" height="846">
|
src="images/network.png" width="764" height="846">
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p> </p>
|
<p> </p>
|
||||||
|
|
||||||
<p>The ethernet interface in the Server is configured
|
<p>The ethernet interface in the Server is configured
|
||||||
with IP address 206.124.146.177, netmask
|
with IP address 206.124.146.177, netmask
|
||||||
255.255.255.0. The server's default gateway is
|
255.255.255.0. The server's default gateway is
|
||||||
206.124.146.254 (Router at my ISP. This is the same
|
206.124.146.254 (Router at my ISP. This is the same
|
||||||
default gateway used by the firewall itself). On the firewall,
|
default gateway used by the firewall itself). On the firewall,
|
||||||
Shorewall automatically adds a host route to
|
Shorewall automatically adds a host route to
|
||||||
206.124.146.177 through eth1 (192.168.2.1) because
|
206.124.146.177 through eth1 (192.168.2.1) because
|
||||||
of the entry in /etc/shorewall/proxyarp (see
|
of the entry in /etc/shorewall/proxyarp (see
|
||||||
below).</p>
|
below).</p>
|
||||||
|
|
||||||
<p>A similar setup is used on eth3 (192.168.3.1) which
|
<p>A similar setup is used on eth3 (192.168.3.1) which
|
||||||
interfaces to my laptop (206.124.146.180).<br>
|
interfaces to my laptop (206.124.146.180).<br>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>Ursa (192.168.1.5 AKA 206.124.146.178) runs a PPTP server for Road Warrior
|
<p>Ursa (192.168.1.5 AKA 206.124.146.178) runs a PPTP server for Road Warrior
|
||||||
access.<br>
|
access.<br>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p><font color="#ff0000" size="5"></font></p>
|
<p><font color="#ff0000" size="5"></font></p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<h3>Shorewall.conf</h3>
|
<h3>Shorewall.conf</h3>
|
||||||
|
|
||||||
<pre> SUBSYSLOCK=/var/lock/subsys/shorewall<br> STATEDIR=/var/state/shorewall<br><br> LOGRATE=<br> LOGBURST=<br><br> ADD_IP_ALIASES="Yes"<br><br> CLAMPMSS=Yes<br><br> MULTIPORT=Yes</pre>
|
<pre> SUBSYSLOCK=/var/lock/subsys/shorewall<br> STATEDIR=/var/state/shorewall<br><br> LOGRATE=<br> LOGBURST=<br><br> ADD_IP_ALIASES="Yes"<br><br> CLAMPMSS=Yes<br><br> MULTIPORT=Yes</pre>
|
||||||
|
|
||||||
<h3>Zones File:</h3>
|
<h3>Zones File:</h3>
|
||||||
|
|
||||||
<pre><font face="Courier" size="2"> #ZONE DISPLAY COMMENTS<br> net Internet Internet<br> me Eastep My Workstation<br> loc Local Local networks<br> dmz DMZ Demilitarized zone<br> tx Texas Peer Network in Dallas Texas<br> #LAST LINE - ADD YOUR ENTRIES ABOVE THIS ONE - DO NOT REMOVE</font></pre>
|
<pre><font face="Courier" size="2"> #ZONE DISPLAY COMMENTS<br> net Internet Internet<br> me Eastep My Workstation<br> loc Local Local networks<br> dmz DMZ Demilitarized zone<br> tx Texas Peer Network in Dallas Texas<br> #LAST LINE - ADD YOUR ENTRIES ABOVE THIS ONE - DO NOT REMOVE</font></pre>
|
||||||
|
|
||||||
<h3>Interfaces File: </h3>
|
<h3>Interfaces File: </h3>
|
||||||
|
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p> This is set up so that I can start the firewall before bringing up my
|
<p> This is set up so that I can start the firewall before bringing up
|
||||||
Ethernet interfaces. </p>
|
my Ethernet interfaces. </p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<pre><font face="Courier" size="2"> #ZONE INTERFACE BROADCAST OPTIONS<br> net eth0 206.124.146.255 routefilter,norfc1918,blacklist,filterping<br> loc eth2 192.168.1.255 dhcp,filterping,maclist<br> dmz eth1 206.124.146.255 filterping<br> net eth3 206.124.146.255 filterping,blacklist<br> - texas - filterping<br> loc ppp+ - filterping<br> #LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE</font></pre>
|
<pre><font face="Courier" size="2"> #ZONE INTERFACE BROADCAST OPTIONS<br> net eth0 206.124.146.255 routefilter,norfc1918,blacklist,filterping<br> loc eth2 192.168.1.255 dhcp,filterping,maclist<br> dmz eth1 206.124.146.255 filterping<br> net eth3 206.124.146.255 filterping,blacklist<br> - texas - filterping<br> loc ppp+ - filterping<br> #LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE</font></pre>
|
||||||
|
|
||||||
<h3>Hosts File: </h3>
|
<h3>Hosts File: </h3>
|
||||||
|
|
||||||
<pre><font face="Courier" size="2"> #ZONE HOST(S) OPTIONS<br> me eth2:192.168.1.3,eth2:206.124.146.179<br> tx texas:192.168.9.0/24<br> #LAST LINE -- ADD YOUR ENTRIES ABOVE -- DO NOT REMOVE</font></pre>
|
<pre><font face="Courier" size="2"> #ZONE HOST(S) OPTIONS<br> me eth2:192.168.1.3,eth2:206.124.146.179<br> tx texas:192.168.9.0/24<br> #LAST LINE -- ADD YOUR ENTRIES ABOVE -- DO NOT REMOVE</font></pre>
|
||||||
|
|
||||||
<h3>Routestopped File:</h3>
|
<h3>Routestopped File:</h3>
|
||||||
|
|
||||||
<pre><font face="Courier" size="2"> #INTERFACE HOST(S)<br> eth1 206.124.146.177<br> eth2 -<br> eth3 206.124.146.180</font></pre>
|
<pre><font face="Courier" size="2"> #INTERFACE HOST(S)<br> eth1 206.124.146.177<br> eth2 -<br> eth3 206.124.146.180</font></pre>
|
||||||
|
|
||||||
<h3>Common File: </h3>
|
|
||||||
|
|
||||||
<pre><font size="2" face="Courier"> . /etc/shorewall/common.def<br> run_iptables -A common -p udp --sport 53 -mstate --state NEW -j DROP<br></font></pre>
|
|
||||||
<h3>Policy File:</h3>
|
|
||||||
|
|
||||||
|
<h3>Common File: </h3>
|
||||||
|
|
||||||
|
<pre><font size="2" face="Courier"> . /etc/shorewall/common.def<br> run_iptables -A common -p udp --sport 53 -mstate --state NEW -j DROP<br></font></pre>
|
||||||
|
|
||||||
|
<h3>Policy File:</h3>
|
||||||
|
|
||||||
<pre><font size="2" face="Courier">
|
<pre><font size="2" face="Courier">
|
||||||
#SOURCE DEST POLICY LOG LEVEL LIMIT:BURST
|
#SOURCE DEST POLICY LOG LEVEL LIMIT:BURST
|
||||||
me all ACCEPT
|
me all ACCEPT
|
||||||
@ -146,42 +148,43 @@ Ethernet interfaces. </p>
|
|||||||
all me CONTINUE #<font
|
all me CONTINUE #<font
|
||||||
color="#ff0000">WARNING: You must be running Shorewall 1.3.1 or later for<br> </font>#<font
|
color="#ff0000">WARNING: You must be running Shorewall 1.3.1 or later for<br> </font>#<font
|
||||||
color="#ff0000"> this policy to work as expected!!!</font> <br> loc loc ACCEPT<br> loc net ACCEPT<br> $FW loc ACCEPT<br> $FW tx ACCEPT<br> loc tx ACCEPT<br> loc fw REJECT<br> net net ACCEPT<br> net all DROP info 10/sec:40<br> all all REJECT info<br> #LAST LINE -- ADD YOUR ENTRIES ABOVE THIS LINE -- DO NOT REMOTE</font></pre>
|
color="#ff0000"> this policy to work as expected!!!</font> <br> loc loc ACCEPT<br> loc net ACCEPT<br> $FW loc ACCEPT<br> $FW tx ACCEPT<br> loc tx ACCEPT<br> loc fw REJECT<br> net net ACCEPT<br> net all DROP info 10/sec:40<br> all all REJECT info<br> #LAST LINE -- ADD YOUR ENTRIES ABOVE THIS LINE -- DO NOT REMOTE</font></pre>
|
||||||
|
|
||||||
<h3>Masq File: </h3>
|
|
||||||
|
|
||||||
<blockquote>
|
|
||||||
|
|
||||||
<p> Although most of our internal systems use static NAT, my wife's system
|
|
||||||
(192.168.1.4) uses IP Masquerading (actually SNAT) as do visitors with
|
|
||||||
laptops. Also, I masquerade wookie to the peer subnet in Texas.</p>
|
|
||||||
</blockquote>
|
|
||||||
|
|
||||||
|
<h3>Masq File: </h3>
|
||||||
|
|
||||||
|
<blockquote>
|
||||||
|
|
||||||
|
<p> Although most of our internal systems use static NAT, my wife's system
|
||||||
|
(192.168.1.4) uses IP Masquerading (actually SNAT) as do visitors with
|
||||||
|
laptops. Also, I masquerade wookie to the peer subnet in Texas.</p>
|
||||||
|
</blockquote>
|
||||||
|
|
||||||
<pre><font size="2" face="Courier"> #INTERFACE SUBNET ADDRESS<br> eth0 192.168.1.0/24 206.124.146.176<br> texas 206.124.146.179 192.168.1.254<br> #LAST LINE -- ADD YOUR ENTRIES ABOVE THIS LINE -- DO NOT REMOVE</font></pre>
|
<pre><font size="2" face="Courier"> #INTERFACE SUBNET ADDRESS<br> eth0 192.168.1.0/24 206.124.146.176<br> texas 206.124.146.179 192.168.1.254<br> #LAST LINE -- ADD YOUR ENTRIES ABOVE THIS LINE -- DO NOT REMOVE</font></pre>
|
||||||
|
|
||||||
<h3>NAT File: </h3>
|
<h3>NAT File: </h3>
|
||||||
|
|
||||||
<pre><font size="2" face="Courier"> #EXTERNAL INTERFACE INTERNAL ALL LOCAL<br> 206.124.146.178 eth0 192.168.1.5 No No<br> 206.124.146.179 eth0 192.168.1.3 No No<br> #LAST LINE -- ADD YOUR ENTRIES ABOVE THIS LINE -- DO NOT REMOVE</font></pre>
|
<pre><font size="2" face="Courier"> #EXTERNAL INTERFACE INTERNAL ALL LOCAL<br> 206.124.146.178 eth0 192.168.1.5 No No<br> 206.124.146.179 eth0 192.168.1.3 No No<br> #LAST LINE -- ADD YOUR ENTRIES ABOVE THIS LINE -- DO NOT REMOVE</font></pre>
|
||||||
|
|
||||||
<h3>Proxy ARP File:</h3>
|
<h3>Proxy ARP File:</h3>
|
||||||
|
|
||||||
<pre><font face="Courier" size="2"> #ADDRESS INTERFACE EXTERNAL HAVEROU</font><font
|
<pre><font face="Courier" size="2"> #ADDRESS INTERFACE EXTERNAL HAVEROU</font><font
|
||||||
face="Courier" size="2">TE<br> 206.124.146.177 eth1 eth0 No<br> 206.124.146.180 eth3 eth0 No<br></font><pre><font
|
face="Courier" size="2">TE<br> 206.124.146.177 eth1 eth0 No<br> 206.124.146.180 eth3 eth0 No<br></font><pre><font
|
||||||
face="Courier" size="2"> #LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE</font></pre></pre>
|
face="Courier" size="2"> #LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE</font></pre></pre>
|
||||||
|
|
||||||
<h3>Tunnels File (Shell variable TEXAS set in /etc/shorewall/params):</h3>
|
<h3>Tunnels File (Shell variable TEXAS set in /etc/shorewall/params):</h3>
|
||||||
|
|
||||||
<pre><small> #TYPE ZONE GATEWAY</small><small> <br> gre net $TEXAS</small><small><br> #LAST LINE -- DO NOT REMOVE<br></small></pre>
|
<pre><small> #TYPE ZONE GATEWAY</small><small> <br> gre net $TEXAS</small><small><br> #LAST LINE -- DO NOT REMOVE<br></small></pre>
|
||||||
|
|
||||||
<h3>Rules File (The shell variables
|
<h3>Rules File (The shell variables
|
||||||
are set in /etc/shorewall/params):</h3>
|
are set in /etc/shorewall/params):</h3>
|
||||||
|
|
||||||
<pre><font face="Courier" size="2"> #ACTION SOURCE DEST PROTO DEST SOURCE ORIGINAL<br> # PORT(S) PORT(S) PORT(S) DEST<br> #<br> # Local Network to Internet - Reject attempts by Trojans to call home<br> #<br> REJECT:info loc net tcp 6667<br> #<br> # Local Network to Firewall <br> #<br> ACCEPT loc fw tcp ssh<br> ACCEPT loc fw tcp time<br> #<br> # Local Network to DMZ <br> #<br> ACCEPT loc dmz udp domain<br> ACCEPT loc dmz tcp smtp<br> ACCEPT loc dmz tcp domain<br> ACCEPT loc dmz tcp ssh<br> ACCEPT loc dmz tcp auth<br> ACCEPT loc dmz tcp imap<br> ACCEPT loc dmz tcp https<br> ACCEPT loc dmz tcp imaps<br> ACCEPT loc dmz tcp cvspserver<br> ACCEPT loc dmz tcp www<br> ACCEPT loc dmz tcp ftp<br> ACCEPT loc dmz tcp pop3<br> ACCEPT loc dmz icmp echo-request<br> #<br> # Internet to DMZ <br> #<br> ACCEPT net dmz tcp www<br> ACCEPT net dmz tcp smtp<br> ACCEPT net dmz tcp ftp<br> ACCEPT net dmz tcp auth<br> ACCEPT net dmz tcp https<br> ACCEPT net dmz tcp imaps<br> ACCEPT net dmz tcp domain<br> ACCEPT net dmz tcp cvspserver<br> ACCEPT net dmz udp domain<br> ACCEPT net dmz icmp echo-request<br> ACCEPT net:$MIRRORS dmz tcp rsync<br> #<br> # Net to Me (ICQ chat and file transfers) <br> #<br> ACCEPT net me tcp 4000:4100<br> #<br> # Net to Local <br> #<br> ACCEPT net loc tcp auth<br> REJECT net loc tcp www<br> ACCEPT net loc:192.168.1.5 tcp 1723<br> ACCEPT net loc:192.168.1.5 gre<br> #<br> # DMZ to Internet<br> #<br> ACCEPT dmz net icmp echo-request<br> ACCEPT dmz net tcp smtp<br> ACCEPT dmz net tcp auth<br> ACCEPT dmz net tcp domain<br> ACCEPT dmz net tcp www<br> ACCEPT dmz net tcp https<br> ACCEPT dmz net tcp whois<br> ACCEPT dmz net tcp echo<br> ACCEPT dmz net udp domain<br> ACCEPT dmz net:$NTPSERVERS udp ntp<br> ACCEPT dmz net:$POPSERVERS tcp pop3<br> #<br> # The following compensates for a bug, either in some FTP clients or in the<br> # Netfilter connection tracking code that occasionally denies active mode<br> # FTP clients<br> #<br> ACCEPT:info dmz net tcp 1024: 20<br> #<br> # DMZ to Firewall -- snmp<br> #<br> ACCEPT dmz fw tcp snmp<br> ACCEPT dmz fw udp snmp<br> #<br> # DMZ to Local Network <br> #<br> ACCEPT dmz loc tcp smtp<br> ACCEPT dmz loc tcp auth<br> ACCEPT dmz loc icmp echo-request<br> # Internet to Firewall<br> #<br> REJECT net fw tcp www<br> #<br> # Firewall to Internet<br> #<br> ACCEPT fw net:$NTPSERVERS udp ntp<br> ACCEPT fw net udp domain<br> ACCEPT fw net tcp domain<br> ACCEPT fw net tcp www<br> ACCEPT fw net tcp https<br> ACCEPT fw net tcp ssh<br> ACCEPT fw net tcp whois<br> ACCEPT fw net icmp echo-request<br> #<br> # Firewall to DMZ<br> #<br> ACCEPT fw dmz tcp www<br> ACCEPT fw dmz tcp ftp<br> ACCEPT fw dmz tcp ssh<br> ACCEPT fw dmz tcp smtp<br> ACCEPT fw dmz udp domain<br> #<br> # Let Texas Ping<br> #<br> ACCEPT tx fw icmp echo-request<br> ACCEPT tx loc icmp echo-request<br><br> #LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE</font></pre>
|
<pre><font face="Courier" size="2"> #ACTION SOURCE DEST PROTO DEST SOURCE ORIGINAL<br> # PORT(S) PORT(S) PORT(S) DEST<br> #<br> # Local Network to Internet - Reject attempts by Trojans to call home<br> #<br> REJECT:info loc net tcp 6667<br> #<br> # Local Network to Firewall <br> #<br> ACCEPT loc fw tcp ssh<br> ACCEPT loc fw tcp time<br> #<br> # Local Network to DMZ <br> #<br> ACCEPT loc dmz udp domain<br> ACCEPT loc dmz tcp smtp<br> ACCEPT loc dmz tcp domain<br> ACCEPT loc dmz tcp ssh<br> ACCEPT loc dmz tcp auth<br> ACCEPT loc dmz tcp imap<br> ACCEPT loc dmz tcp https<br> ACCEPT loc dmz tcp imaps<br> ACCEPT loc dmz tcp cvspserver<br> ACCEPT loc dmz tcp www<br> ACCEPT loc dmz tcp ftp<br> ACCEPT loc dmz tcp pop3<br> ACCEPT loc dmz icmp echo-request<br> #<br> # Internet to DMZ <br> #<br> ACCEPT net dmz tcp www<br> ACCEPT net dmz tcp smtp<br> ACCEPT net dmz tcp ftp<br> ACCEPT net dmz tcp auth<br> ACCEPT net dmz tcp https<br> ACCEPT net dmz tcp imaps<br> ACCEPT net dmz tcp domain<br> ACCEPT net dmz tcp cvspserver<br> ACCEPT net dmz udp domain<br> ACCEPT net dmz icmp echo-request<br> ACCEPT net:$MIRRORS dmz tcp rsync<br> #<br> # Net to Me (ICQ chat and file transfers) <br> #<br> ACCEPT net me tcp 4000:4100<br> #<br> # Net to Local <br> #<br> ACCEPT net loc tcp auth<br> REJECT net loc tcp www<br> ACCEPT net loc:192.168.1.5 tcp 1723<br> ACCEPT net loc:192.168.1.5 gre<br> #<br> # DMZ to Internet<br> #<br> ACCEPT dmz net icmp echo-request<br> ACCEPT dmz net tcp smtp<br> ACCEPT dmz net tcp auth<br> ACCEPT dmz net tcp domain<br> ACCEPT dmz net tcp www<br> ACCEPT dmz net tcp https<br> ACCEPT dmz net tcp whois<br> ACCEPT dmz net tcp echo<br> ACCEPT dmz net udp domain<br> ACCEPT dmz net:$NTPSERVERS udp ntp<br> ACCEPT dmz net:$POPSERVERS tcp pop3<br> #<br> # The following compensates for a bug, either in some FTP clients or in the<br> # Netfilter connection tracking code that occasionally denies active mode<br> # FTP clients<br> #<br> ACCEPT:info dmz net tcp 1024: 20<br> #<br> # DMZ to Firewall -- snmp<br> #<br> ACCEPT dmz fw tcp snmp<br> ACCEPT dmz fw udp snmp<br> #<br> # DMZ to Local Network <br> #<br> ACCEPT dmz loc tcp smtp<br> ACCEPT dmz loc tcp auth<br> ACCEPT dmz loc icmp echo-request<br> # Internet to Firewall<br> #<br> REJECT net fw tcp www<br> #<br> # Firewall to Internet<br> #<br> ACCEPT fw net:$NTPSERVERS udp ntp<br> ACCEPT fw net udp domain<br> ACCEPT fw net tcp domain<br> ACCEPT fw net tcp www<br> ACCEPT fw net tcp https<br> ACCEPT fw net tcp ssh<br> ACCEPT fw net tcp whois<br> ACCEPT fw net icmp echo-request<br> #<br> # Firewall to DMZ<br> #<br> ACCEPT fw dmz tcp www<br> ACCEPT fw dmz tcp ftp<br> ACCEPT fw dmz tcp ssh<br> ACCEPT fw dmz tcp smtp<br> ACCEPT fw dmz udp domain<br> #<br> # Let Texas Ping<br> #<br> ACCEPT tx fw icmp echo-request<br> ACCEPT tx loc icmp echo-request<br><br> #LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE</font></pre>
|
||||||
|
|
||||||
<p><font size="2"> Last updated 1/12/2003 - </font><font size="2">
|
<p><font size="2"> Last updated 1/12/2003 - </font><font size="2">
|
||||||
<a href="support.htm">Tom Eastep</a></font>
|
<a href="support.htm">Tom Eastep</a></font>
|
||||||
</p>
|
</p>
|
||||||
<a href="copyright.htm"><font size="2">Copyright</font> ©
|
<a href="copyright.htm"><font size="2">Copyright</font> ©
|
||||||
<font size="2">2001, 2002, 2003 Thomas M. Eastep.</font></a><br>
|
<font size="2">2001, 2002, 2003 Thomas M. Eastep.</font></a><br>
|
||||||
|
<br>
|
||||||
<br>
|
<br>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -2,137 +2,148 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>ICMP Echo-request (Ping)</title>
|
<title>ICMP Echo-request (Ping)</title>
|
||||||
|
|
||||||
<meta http-equiv="content-type"
|
<meta http-equiv="content-type"
|
||||||
content="text/html; charset=ISO-8859-1">
|
content="text/html; charset=ISO-8859-1">
|
||||||
|
|
||||||
<meta name="author" content="Tom Eastep">
|
<meta name="author" content="Tom Eastep">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<table border="0" cellpadding="0" cellspacing="0"
|
<table border="0" cellpadding="0" cellspacing="0"
|
||||||
style="border-collapse: collapse;" bordercolor="#111111" width="100%"
|
style="border-collapse: collapse;" bordercolor="#111111" width="100%"
|
||||||
id="AutoNumber1" bgcolor="#400169" height="90">
|
id="AutoNumber1" bgcolor="#400169" height="90">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td width="100%">
|
<td width="100%">
|
||||||
<h1 align="center"><font color="#ffffff">ICMP Echo-request (Ping)</font></h1>
|
<h1 align="center"><font color="#ffffff">ICMP Echo-request (Ping)</font></h1>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<br>
|
<br>
|
||||||
Shorewall 'Ping' management has evolved over time with the latest change
|
Shorewall 'Ping' management has evolved over time with the latest change
|
||||||
coming in Shorewall version 1.3.14. In that version, a new option (<b>OLD_PING_HANDLING</b>)
|
coming in Shorewall version 1.3.14. In that version, a new option (<b>OLD_PING_HANDLING</b>)
|
||||||
was added to /etc/shorewall/shorewall.conf. The value of that option determines
|
was added to /etc/shorewall/shorewall.conf. The value of that option determines
|
||||||
the overall handling of ICMP echo requests (pings).<br>
|
the overall handling of ICMP echo requests (pings).<br>
|
||||||
|
|
||||||
<h2>Shorewall Versions >= 1.3.14 with OLD_PING_HANDLING=No in /etc/shorewall/shorewall.conf</h2>
|
<h2>Shorewall Versions >= 1.3.14 with OLD_PING_HANDLING=No in /etc/shorewall/shorewall.conf</h2>
|
||||||
In 1.3.14, Ping handling was put under control of the rules and policies
|
In 1.3.14, Ping handling was put under control of the rules and policies
|
||||||
just like any other connection request. In order to accept ping requests
|
just like any other connection request. In order to accept ping requests from
|
||||||
from zone z1 to zone z2, you need a rule in /etc/shoreall/rules of the form:<br>
|
zone z1 to zone z2 where the policy for z1 to z2 is not ACCEPT, you need
|
||||||
<blockquote>ACCEPT <i>z1 z2
|
a rule in /etc/shoreall/rules of the form:<br>
|
||||||
|
|
||||||
|
<blockquote>ACCEPT <i>z1 z2
|
||||||
</i>icmp 8<br>
|
</i>icmp 8<br>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
Example: <br>
|
Example: <br>
|
||||||
<br>
|
<br>
|
||||||
To permit ping from the local zone to the firewall:<br>
|
To permit ping from the local zone to the firewall:<br>
|
||||||
<blockquote>ACCEPT loc fw
|
|
||||||
|
<blockquote>ACCEPT loc fw
|
||||||
icmp 8<br>
|
icmp 8<br>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
If you would like to accept 'ping' by default, create <b>/etc/shorewall/icmpdef
|
If you would like to accept 'ping' by default even when the relevant
|
||||||
</b>if it doesn't already exist and in that file place the following command:<br>
|
policy is DROP or REJECT, create <b>/etc/shorewall/icmpdef </b>if it doesn't
|
||||||
<blockquote>
|
already exist and in that file place the following command:<br>
|
||||||
|
|
||||||
|
<blockquote>
|
||||||
<pre><b><font color="#009900">run_iptables -A icmpdef -p icmp --icmp-type 8 -j ACCEPT<br></font></b></pre>
|
<pre><b><font color="#009900">run_iptables -A icmpdef -p icmp --icmp-type 8 -j ACCEPT<br></font></b></pre>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
With that rule in place, if you want to ignore 'ping' from z1 to z2 then
|
With that rule in place, if you want to ignore 'ping' from z1 to z2 then
|
||||||
you need a rule of the form:<br>
|
you need a rule of the form:<br>
|
||||||
<blockquote>DROP <i>z1 z2
|
|
||||||
|
<blockquote>DROP <i>z1 z2
|
||||||
</i>icmp 8<br>
|
</i>icmp 8<br>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
Example:<br>
|
Example:<br>
|
||||||
<br>
|
<br>
|
||||||
To drop ping from the internet, you would need this rule in /etc/shorewall/rules:<br>
|
To drop ping from the internet, you would need this rule in /etc/shorewall/rules:<br>
|
||||||
<blockquote>DROP net fw
|
|
||||||
|
<blockquote>DROP net fw
|
||||||
icmp 8<br>
|
icmp 8<br>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<blockquote> </blockquote>
|
<blockquote> </blockquote>
|
||||||
|
|
||||||
<h2>Shorewall Versions < 1.3.14 or with OLD_PING_HANDLING=Yes in /etc/shorewall/shorewall.conf<br>
|
<h2>Shorewall Versions < 1.3.14 or with OLD_PING_HANDLING=Yes in /etc/shorewall/shorewall.conf<br>
|
||||||
</h2>
|
</h2>
|
||||||
There are several aspects to the old Shorewall Ping management:<br>
|
There are several aspects to the old Shorewall Ping management:<br>
|
||||||
|
|
||||||
<ol>
|
|
||||||
<li>The <b>noping</b> and <b>filterping </b>interface options in <a
|
|
||||||
href="Documentation.htm#Interfaces">/etc/shorewall/interfaces</a>.</li>
|
|
||||||
<li>The <b>FORWARDPING</b> option in<a href="Documentation.htm#Conf">
|
|
||||||
/etc/shorewall/shorewall.conf</a>.</li>
|
|
||||||
<li>Explicit rules in <a href="Documentation.htm#Rules">/etc/shorewall/rules</a>.</li>
|
|
||||||
|
|
||||||
</ol>
|
|
||||||
There are two cases to consider:<br>
|
|
||||||
|
|
||||||
<ol>
|
|
||||||
<li>Ping requests addressed to the firewall itself; and</li>
|
|
||||||
<li>Ping requests being forwarded to another system. Included here are
|
|
||||||
all cases of packet forwarding including NAT, DNAT rule, Proxy ARP and simple
|
|
||||||
routing.</li>
|
|
||||||
|
|
||||||
</ol>
|
|
||||||
These cases will be covered separately.<br>
|
|
||||||
|
|
||||||
<h3>Ping Requests Addressed to the Firewall Itself</h3>
|
|
||||||
For ping requests addressed to the firewall, the sequence is as follows:<br>
|
|
||||||
|
|
||||||
<ol>
|
|
||||||
<li>If neither <b>noping</b> nor <b>filterping </b>are specified for the
|
|
||||||
interface that receives the ping request then the request will be responded
|
|
||||||
to with an ICMP echo-reply.</li>
|
|
||||||
<li>If <b>noping</b> is specified for the interface that receives the
|
|
||||||
ping request then the request is ignored.</li>
|
|
||||||
<li>If <b>filterping </b>is specified for the interface then the request
|
|
||||||
is passed to the rules/policy evaluation.</li>
|
|
||||||
|
|
||||||
</ol>
|
|
||||||
|
|
||||||
<h3>Ping Requests Forwarded by the Firewall</h3>
|
|
||||||
These requests are <b>always</b> passed to rules/policy evaluation.<br>
|
|
||||||
|
|
||||||
<h3>Rules Evaluation</h3>
|
|
||||||
Ping requests are ICMP type 8. So the general rule format is:<br>
|
|
||||||
<br>
|
|
||||||
<i>Target Source
|
|
||||||
Destination </i>icmp 8<br>
|
|
||||||
<br>
|
|
||||||
Example 1. Accept pings from the net to the dmz (pings are responded to
|
|
||||||
with an ICMP echo-reply):<br>
|
|
||||||
<br>
|
|
||||||
ACCEPT net dmz
|
|
||||||
icmp 8<br>
|
|
||||||
<br>
|
|
||||||
Example 2. Drop pings from the net to the firewall<br>
|
|
||||||
<br>
|
|
||||||
DROP net fw
|
|
||||||
icmp 8<br>
|
|
||||||
|
|
||||||
<h3>Policy Evaluation</h3>
|
|
||||||
If no applicable rule is found, then the policy for the source to the destination
|
|
||||||
is applied.<br>
|
|
||||||
|
|
||||||
<ol>
|
|
||||||
<li>If the relevant policy is ACCEPT then the request is responded to
|
|
||||||
with an ICMP echo-reply.</li>
|
|
||||||
<li>If <b>FORWARDPING</b> is set to Yes in /etc/shorewall/shorewall.conf
|
|
||||||
then the request is responded to with an ICMP echo-reply.</li>
|
|
||||||
<li>Otherwise, the relevant REJECT or DROP policy is used and the request
|
|
||||||
is either rejected or simply ignored.</li>
|
|
||||||
|
|
||||||
</ol>
|
|
||||||
|
|
||||||
<p><font size="2">Updated 1/21/2003 - <a href="support.htm">Tom Eastep</a>
|
|
||||||
</font></p>
|
|
||||||
|
|
||||||
|
<ol>
|
||||||
|
<li>The <b>noping</b> and <b>filterping </b>interface options in <a
|
||||||
|
href="Documentation.htm#Interfaces">/etc/shorewall/interfaces</a>.</li>
|
||||||
|
<li>The <b>FORWARDPING</b> option in<a href="Documentation.htm#Conf">
|
||||||
|
/etc/shorewall/shorewall.conf</a>.</li>
|
||||||
|
<li>Explicit rules in <a href="Documentation.htm#Rules">/etc/shorewall/rules</a>.</li>
|
||||||
|
|
||||||
|
</ol>
|
||||||
|
There are two cases to consider:<br>
|
||||||
|
|
||||||
|
<ol>
|
||||||
|
<li>Ping requests addressed to the firewall itself; and</li>
|
||||||
|
<li>Ping requests being forwarded to another system. Included here are
|
||||||
|
all cases of packet forwarding including NAT, DNAT rule, Proxy ARP and simple
|
||||||
|
routing.</li>
|
||||||
|
|
||||||
|
</ol>
|
||||||
|
These cases will be covered separately.<br>
|
||||||
|
|
||||||
|
<h3>Ping Requests Addressed to the Firewall Itself</h3>
|
||||||
|
For ping requests addressed to the firewall, the sequence is as follows:<br>
|
||||||
|
|
||||||
|
<ol>
|
||||||
|
<li>If neither <b>noping</b> nor <b>filterping </b>are specified for
|
||||||
|
the interface that receives the ping request then the request will be responded
|
||||||
|
to with an ICMP echo-reply.</li>
|
||||||
|
<li>If <b>noping</b> is specified for the interface that receives the
|
||||||
|
ping request then the request is ignored.</li>
|
||||||
|
<li>If <b>filterping </b>is specified for the interface then the request
|
||||||
|
is passed to the rules/policy evaluation.</li>
|
||||||
|
|
||||||
|
</ol>
|
||||||
|
|
||||||
|
<h3>Ping Requests Forwarded by the Firewall</h3>
|
||||||
|
These requests are <b>always</b> passed to rules/policy evaluation.<br>
|
||||||
|
|
||||||
|
<h3>Rules Evaluation</h3>
|
||||||
|
Ping requests are ICMP type 8. So the general rule format is:<br>
|
||||||
|
<br>
|
||||||
|
<i>Target Source
|
||||||
|
Destination </i>icmp 8<br>
|
||||||
|
<br>
|
||||||
|
Example 1. Accept pings from the net to the dmz (pings are responded to
|
||||||
|
with an ICMP echo-reply):<br>
|
||||||
|
<br>
|
||||||
|
ACCEPT net dmz
|
||||||
|
icmp 8<br>
|
||||||
|
<br>
|
||||||
|
Example 2. Drop pings from the net to the firewall<br>
|
||||||
|
<br>
|
||||||
|
DROP net fw
|
||||||
|
icmp 8<br>
|
||||||
|
|
||||||
|
<h3>Policy Evaluation</h3>
|
||||||
|
If no applicable rule is found, then the policy for the source to the destination
|
||||||
|
is applied.<br>
|
||||||
|
|
||||||
|
<ol>
|
||||||
|
<li>If the relevant policy is ACCEPT then the request is responded to
|
||||||
|
with an ICMP echo-reply.</li>
|
||||||
|
<li>If <b>FORWARDPING</b> is set to Yes in /etc/shorewall/shorewall.conf
|
||||||
|
then the request is responded to with an ICMP echo-reply.</li>
|
||||||
|
<li>Otherwise, the relevant REJECT or DROP policy is used and the request
|
||||||
|
is either rejected or simply ignored.</li>
|
||||||
|
|
||||||
|
</ol>
|
||||||
|
|
||||||
|
<p><font size="2">Updated 1/21/2003 - <a href="support.htm">Tom Eastep</a>
|
||||||
|
</font></p>
|
||||||
|
|
||||||
<p><a href="copyright.htm"><font size="2">Copyright</font> © <font
|
<p><a href="copyright.htm"><font size="2">Copyright</font> © <font
|
||||||
size="2">2001, 2002, 2003 Thomas M. Eastep.</font></a></p>
|
size="2">2001, 2002, 2003 Thomas M. Eastep.</font></a></p>
|
||||||
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
</body>
|
</body>
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,125 +1,126 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
|
||||||
<meta http-equiv="Content-Type"
|
<meta http-equiv="Content-Type"
|
||||||
content="text/html; charset=windows-1252">
|
content="text/html; charset=windows-1252">
|
||||||
<title>About the Shorewall Author</title>
|
<title>About the Shorewall Author</title>
|
||||||
|
|
||||||
|
|
||||||
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
||||||
|
|
||||||
<meta name="ProgId" content="FrontPage.Editor.Document">
|
|
||||||
|
|
||||||
|
<meta name="ProgId" content="FrontPage.Editor.Document">
|
||||||
|
|
||||||
<meta name="Microsoft Theme" content="none">
|
<meta name="Microsoft Theme" content="none">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<table border="0" cellpadding="0" cellspacing="0"
|
<table border="0" cellpadding="0" cellspacing="0"
|
||||||
style="border-collapse: collapse;" width="100%" id="AutoNumber1"
|
style="border-collapse: collapse;" width="100%" id="AutoNumber1"
|
||||||
bgcolor="#400169" height="90">
|
bgcolor="#400169" height="90">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td width="100%">
|
<td width="100%">
|
||||||
|
|
||||||
<h1 align="center"><font color="#ffffff">Tom Eastep</font></h1>
|
<h1 align="center"><font color="#ffffff">Tom Eastep</font></h1>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<p align="center"> <img border="3" src="images/TomNTarry.png"
|
<p align="center"> <img border="3" src="images/TomNTarry.png"
|
||||||
alt="Tom on the PCT - 1991" width="316" height="392">
|
alt="Tom on the PCT - 1991" width="316" height="392">
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p align="center">Tarry & Tom -- August 2002<br>
|
<p align="center">Tarry & Tom -- August 2002<br>
|
||||||
<br>
|
<br>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>Born 1945 in <a
|
<li>Born 1945 in <a
|
||||||
href="http://www.experiencewashington.com">Washington State</a> .</li>
|
href="http://www.experiencewashington.com">Washington State</a> .</li>
|
||||||
<li>BA Mathematics from <a href="http://www.wsu.edu">Washington
|
<li>BA Mathematics from <a href="http://www.wsu.edu">Washington
|
||||||
State University</a> 1967</li>
|
State University</a> 1967</li>
|
||||||
<li>MA Mathematics from <a
|
<li>MA Mathematics from <a
|
||||||
href="http://www.washington.edu">University of Washington</a> 1969</li>
|
href="http://www.washington.edu">University of Washington</a> 1969</li>
|
||||||
<li>Burroughs Corporation (now <a
|
<li>Burroughs Corporation (now <a
|
||||||
href="http://www.unisys.com">Unisys</a> ) 1969 - 1980</li>
|
href="http://www.unisys.com">Unisys</a> ) 1969 - 1980</li>
|
||||||
<li><a href="http://www.tandem.com">Tandem Computers, Incorporated</a>
|
<li><a href="http://www.tandem.com">Tandem Computers, Incorporated</a>
|
||||||
(now part of the <a href="http://www.hp.com">The New HP</a>) 1980 -
|
(now part of the <a href="http://www.hp.com">The New HP</a>) 1980
|
||||||
present</li>
|
- present</li>
|
||||||
<li>Married 1969 - no children.</li>
|
<li>Married 1969 - no children.</li>
|
||||||
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p>I am currently a member of the design team for the next-generation
|
|
||||||
operating system from the NonStop Enterprise Division of HP. </p>
|
|
||||||
|
|
||||||
<p>I became interested in Internet Security when I established a home office
|
|
||||||
in 1999 and had DSL service installed in our home. I investigated
|
|
||||||
ipchains and developed the scripts which are now collectively known as
|
|
||||||
<a href="http://seawall.sourceforge.net"> Seattle Firewall</a>. Expanding
|
|
||||||
on what I learned from Seattle Firewall, I then designed and wrote
|
|
||||||
Shorewall. </p>
|
|
||||||
|
|
||||||
<p>I telework from our home in <a href="http://www.cityofshoreline.com">Shoreline,
|
|
||||||
Washington</a> where I live with my wife Tarry. </p>
|
|
||||||
|
|
||||||
<p>Our current home network consists of: </p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>1.2Gz Athlon, Windows XP Pro, 320MB RAM, 40GB & 20GB
|
|
||||||
IDE HDs and LNE100TX (Tulip) NIC - My personal Windows system.
|
|
||||||
Serves as a PPTP server for Road Warrior access. Also has <a
|
|
||||||
href="http://www.mandrakelinux.com">Mandrake</a> 9.0 installed.</li>
|
|
||||||
<li>Celeron 1.4Gz, RH8.0, 384MB RAM, 60GB HD, LNE100TX(Tulip)
|
|
||||||
NIC - My personal Linux System which runs Samba configured as a
|
|
||||||
WINS server. This system also has <a
|
|
||||||
href="http://www.vmware.com/">VMware</a> installed and can run
|
|
||||||
both <a href="http://www.debian.org">Debian Woody</a> and <a
|
|
||||||
href="http://www.suse.com">SuSE 8.1</a> in virtual machines.</li>
|
|
||||||
<li>K6-2/350, RH8.0, 384MB RAM, 8GB IDE HD, EEPRO100 NIC
|
|
||||||
- Email (Postfix & Courier-IMAP), HTTP (Apache), FTP (Pure_ftpd),
|
|
||||||
DNS server (Bind).</li>
|
|
||||||
<li>PII/233, RH8.0, 256MB MB RAM, 2GB SCSI HD - 3 LNE100TX
|
|
||||||
(Tulip) and 1 TLAN NICs - Firewall running Shorewall 1.3.12+ and a
|
|
||||||
DHCP server.</li>
|
|
||||||
<li>Duron 750, Win ME, 192MB RAM, 20GB HD, RTL8139 NIC - My
|
|
||||||
wife's personal system.</li>
|
|
||||||
<li>PII/400 Laptop, WinXP SP1, 224MB RAM, 12GB HD, onboard
|
|
||||||
EEPRO100 and EEPRO100 in expansion base and LinkSys WAC11 - My main
|
|
||||||
work system.</li>
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<p>I am currently a member of the design team for the next-generation
|
||||||
|
operating system from the NonStop Enterprise Division of HP. </p>
|
||||||
|
|
||||||
|
<p>I became interested in Internet Security when I established a home office
|
||||||
|
in 1999 and had DSL service installed in our home. I investigated
|
||||||
|
ipchains and developed the scripts which are now collectively known as
|
||||||
|
<a href="http://seawall.sourceforge.net"> Seattle Firewall</a>. Expanding
|
||||||
|
on what I learned from Seattle Firewall, I then designed and wrote
|
||||||
|
Shorewall. </p>
|
||||||
|
|
||||||
|
<p>I telework from our home in <a href="http://www.cityofshoreline.com">Shoreline,
|
||||||
|
Washington</a> where I live with my wife Tarry. </p>
|
||||||
|
|
||||||
|
<p>Our current home network consists of: </p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>1.2Gz Athlon, Windows XP Pro, 320MB RAM, 40GB & 20GB
|
||||||
|
IDE HDs and LNE100TX (Tulip) NIC - My personal Windows system. Serves
|
||||||
|
as a PPTP server for Road Warrior access. Dual boots <a
|
||||||
|
href="http://www.mandrakelinux.com">Mandrake</a> 9.0.</li>
|
||||||
|
<li>Celeron 1.4Gz, RH8.0, 384MB RAM, 60GB HD, LNE100TX(Tulip)
|
||||||
|
NIC - My personal Linux System which runs Samba configured as a
|
||||||
|
WINS server. This system also has <a
|
||||||
|
href="http://www.vmware.com/">VMware</a> installed and can run both
|
||||||
|
<a href="http://www.debian.org">Debian Woody</a> and <a
|
||||||
|
href="http://www.suse.com">SuSE 8.1</a> in virtual machines.</li>
|
||||||
|
<li>K6-2/350, RH8.0, 384MB RAM, 8GB IDE HD, EEPRO100 NIC
|
||||||
|
- Email (Postfix, Courier-IMAP and Mailman), HTTP (Apache), FTP (Pure_ftpd),
|
||||||
|
DNS server (Bind 9).</li>
|
||||||
|
<li>PII/233, RH8.0, 256MB MB RAM, 2GB SCSI HD - 3 LNE100TX
|
||||||
|
(Tulip) and 1 TLAN NICs - Firewall running Shorewall 1.3.14 and a DHCP
|
||||||
|
server.</li>
|
||||||
|
<li>Duron 750, Win ME, 192MB RAM, 20GB HD, RTL8139 NIC -
|
||||||
|
My wife's personal system.</li>
|
||||||
|
<li>PII/400 Laptop, WinXP SP1, 224MB RAM, 12GB HD, onboard
|
||||||
|
EEPRO100 and EEPRO100 in expansion base and LinkSys WAC11 - My main
|
||||||
|
work system.</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
<p>For more about our network see <a href="myfiles.htm">my Shorewall Configuration</a>.</p>
|
<p>For more about our network see <a href="myfiles.htm">my Shorewall Configuration</a>.</p>
|
||||||
|
|
||||||
<p>All of our other systems are made by <a
|
<p>All of our other systems are made by <a
|
||||||
href="http://www.compaq.com">Compaq</a> (part of the new <a
|
href="http://www.compaq.com">Compaq</a> (part of the new <a
|
||||||
href="http://www.hp.com/">HP</a>).. All of our Tulip NICs are <a
|
href="http://www.hp.com/">HP</a>).. All of our Tulip NICs are <a
|
||||||
href="http://www.netgear.com">Netgear</a> FA310TXs.</p>
|
href="http://www.netgear.com">Netgear</a> FA310TXs.</p>
|
||||||
|
|
||||||
<p><a href="http://www.redhat.com"><img border="0"
|
<p><a href="http://www.redhat.com"><img border="0"
|
||||||
src="images/poweredby.png" width="88" height="31">
|
src="images/poweredby.png" width="88" height="31">
|
||||||
</a><a href="http://www.compaq.com"><img border="0"
|
</a><a href="http://www.compaq.com"><img border="0"
|
||||||
src="images/poweredbycompaqlog0.gif" hspace="3" width="83" height="25">
|
src="images/poweredbycompaqlog0.gif" hspace="3" width="83" height="25">
|
||||||
</a><a href="http://www.pureftpd.org"><img border="0"
|
</a><a href="http://www.pureftpd.org"><img border="0"
|
||||||
src="images/pure.jpg" width="88" height="31">
|
src="images/pure.jpg" width="88" height="31">
|
||||||
</a><font size="4"><a href="http://www.apache.org"><img
|
</a><font size="4"><a href="http://www.apache.org"><img
|
||||||
border="0" src="images/apache_pb1.gif" hspace="2" width="170"
|
border="0" src="images/apache_pb1.gif" hspace="2" width="170"
|
||||||
height="20">
|
height="20">
|
||||||
</a><a href="http://www.mandrakelinux.com"><img
|
</a><a href="http://www.mandrakelinux.com"><img
|
||||||
src="images/medbutton.png" alt="Powered by Mandrake" width="90"
|
src="images/medbutton.png" alt="Powered by Mandrake" width="90"
|
||||||
height="32">
|
height="32">
|
||||||
</a><img src="images/shorewall.jpg" alt="Protected by Shorewall"
|
</a><img src="images/shorewall.jpg" alt="Protected by Shorewall"
|
||||||
width="125" height="40" hspace="4">
|
width="125" height="40" hspace="4">
|
||||||
</font></p>
|
</font></p>
|
||||||
|
|
||||||
<p><font size="2">Last updated 1/7/2003 - </font><font size="2"> <a
|
<p><font size="2">Last updated 1/24/2003 - </font><font size="2"> <a
|
||||||
href="support.htm">Tom Eastep</a></font> </p>
|
href="support.htm">Tom Eastep</a></font> </p>
|
||||||
<font face="Trebuchet MS"><a href="copyright.htm"><font
|
<font face="Trebuchet MS"><a href="copyright.htm"><font
|
||||||
size="2">Copyright</font> © <font size="2">2001, 2002, 2003 Thomas
|
size="2">Copyright</font> © <font size="2">2001, 2002, 2003 Thomas
|
||||||
M. Eastep.</font></a></font><br>
|
M. Eastep.</font></a></font><br>
|
||||||
|
<br>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,111 +1,114 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
|
||||||
<meta http-equiv="Content-Language" content="en-us">
|
<meta http-equiv="Content-Language" content="en-us">
|
||||||
|
|
||||||
<meta http-equiv="Content-Type"
|
<meta http-equiv="Content-Type"
|
||||||
content="text/html; charset=windows-1252">
|
content="text/html; charset=windows-1252">
|
||||||
|
|
||||||
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
||||||
|
|
||||||
<meta name="ProgId" content="FrontPage.Editor.Document">
|
<meta name="ProgId" content="FrontPage.Editor.Document">
|
||||||
<title>Shorewall Features</title>
|
<title>Shorewall Features</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<table border="0" cellpadding="0" cellspacing="0"
|
<table border="0" cellpadding="0" cellspacing="0"
|
||||||
style="border-collapse: collapse;" bordercolor="#111111" width="100%"
|
style="border-collapse: collapse;" bordercolor="#111111" width="100%"
|
||||||
id="AutoNumber1" bgcolor="#400169" height="90">
|
id="AutoNumber1" bgcolor="#400169" height="90">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td width="100%">
|
<td width="100%">
|
||||||
<h1 align="center"><font color="#ffffff">Shorewall Features</font></h1>
|
<h1 align="center"><font color="#ffffff">Shorewall Features</font></h1>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>Uses Netfilter's connection tracking facilities for stateful packet
|
<li>Uses Netfilter's connection tracking facilities for stateful packet
|
||||||
filtering.</li>
|
filtering.</li>
|
||||||
<li>Can be used in a <b> wide range of router/firewall/gateway applications</b>.
|
<li>Can be used in a <b> wide range of router/firewall/gateway applications</b>.
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>Completely customizable using configuration files.</li>
|
<li>Completely customizable using configuration files.</li>
|
||||||
<li>No limit on the number of network interfaces.</li>
|
<li>No limit on the number of network interfaces.</li>
|
||||||
<li>Allows you to partitions the network into <i><a
|
<li>Allows you to partitions the network into <i><a
|
||||||
href="Documentation.htm#Zones">zones</a></i> and gives you complete
|
href="Documentation.htm#Zones">zones</a></i> and gives you complete
|
||||||
control over the connections permitted between each pair of zones.</li>
|
control over the connections permitted between each pair of zones.</li>
|
||||||
<li>Multiple interfaces per zone and multiple zones per interface
|
<li>Multiple interfaces per zone and multiple zones per interface
|
||||||
permitted.</li>
|
permitted.</li>
|
||||||
<li>Supports nested and overlapping zones.</li>
|
<li>Supports nested and overlapping zones.</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li> <a href="shorewall_quickstart_guide.htm">QuickStart Guides</a> to
|
<li> <a href="shorewall_quickstart_guide.htm">QuickStart Guides</a>
|
||||||
help get your first firewall up and running quickly</li>
|
to help get your first firewall up and running quickly</li>
|
||||||
<li>Extensive <b> <a href="Documentation_Index.htm" target="_top">documentation</a>
|
<li>Extensive <b> <a
|
||||||
</b> included in the .tgz and .rpm downloads.</li>
|
href="shorewall_quickstart_guide.htm#Documentation" target="_top">documentation</a>
|
||||||
<li><b>Flexible address management/routing support</b> (and you can use
|
</b> included in the .tgz and .rpm downloads.</li>
|
||||||
all types in the same firewall):
|
<li><b>Flexible address management/routing support</b> (and you can
|
||||||
|
use all types in the same firewall):
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="Documentation.htm#Masq">Masquerading/SNAT</a></li>
|
<li><a href="Documentation.htm#Masq">Masquerading/SNAT</a></li>
|
||||||
<li><a href="Documentation.htm#PortForward">Port Forwarding (DNAT)</a>.</li>
|
<li><a href="Documentation.htm#PortForward">Port Forwarding (DNAT)</a>.</li>
|
||||||
<li><a href="Documentation.htm#NAT"> Static NAT</a>.</li>
|
<li><a href="Documentation.htm#NAT"> Static NAT</a>.</li>
|
||||||
<li><a href="Documentation.htm#ProxyArp"> Proxy ARP</a>.</li>
|
<li><a href="Documentation.htm#ProxyArp"> Proxy ARP</a>.</li>
|
||||||
<li>Simple host/subnet Routing</li>
|
<li>Simple host/subnet Routing</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="blacklisting_support.htm"><b>Blacklisting</b></a> of individual
|
<li><a href="blacklisting_support.htm"><b>Blacklisting</b></a> of individual
|
||||||
IP addresses and subnetworks is supported.</li>
|
IP addresses and subnetworks is supported.</li>
|
||||||
<li><b><a href="starting_and_stopping_shorewall.htm">Operational support</a></b>:
|
<li><b><a href="starting_and_stopping_shorewall.htm">Operational support</a></b>:
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>Commands to start, stop and clear the firewall</li>
|
<li>Commands to start, stop and clear the firewall</li>
|
||||||
<li>Supports status monitoring with an audible alarm
|
<li>Supports status monitoring with an audible alarm
|
||||||
when an "interesting" packet is detected.</li>
|
when an "interesting" packet is detected.</li>
|
||||||
<li>Wide variety of informational commands.</li>
|
<li>Wide variety of informational commands.</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><b>VPN Support</b>
|
<li><b>VPN Support</b>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="Documentation.htm#Tunnels">IPSEC, GRE and IPIP Tunnels</a>.</li>
|
<li><a href="Documentation.htm#Tunnels">IPSEC, GRE, IPIP and
|
||||||
<li><a href="PPTP.htm">PPTP </a> clients and Servers.</li>
|
OpenVPN Tunnels</a>.</li>
|
||||||
|
<li><a href="PPTP.htm">PPTP </a> clients and Servers.</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>Support for <a href="traffic_shaping.htm"><b>Traffic Control/Shaping</b></a>
|
<li>Support for <a href="traffic_shaping.htm"><b>Traffic Control/Shaping</b></a>
|
||||||
integration.</li>
|
integration.</li>
|
||||||
<li>Wide support for different <b>GNU/Linux Distributions</b>.
|
<li>Wide support for different <b>GNU/Linux Distributions</b>.
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="Install.htm#Install_RPM"><b>RPM</b></a> and <a
|
<li><a href="Install.htm#Install_RPM"><b>RPM</b></a> and <a
|
||||||
href="http://security.dsi.unimi.it/%7Elorenzo/debian.html"><b>Debian</b></a>
|
href="http://security.dsi.unimi.it/%7Elorenzo/debian.html"><b>Debian</b></a>
|
||||||
packages available.</li>
|
packages available.</li>
|
||||||
<li>Includes <a href="Install.htm"><b>automated install, upgrade, fallback
|
<li>Includes <a href="Install.htm"><b>automated install, upgrade,
|
||||||
and uninstall facilities</b></a> for users who can't use or choose
|
fallback and uninstall facilities</b></a> for users who can't use
|
||||||
not to use the RPM or Debian packages.</li>
|
or choose not to use the RPM or Debian packages.</li>
|
||||||
<li>Included as a standard part of<b> <a
|
<li>Included as a standard part of<b> <a
|
||||||
href="http://leaf.sourceforge.net/devel/jnilo"> LEAF/Bering</a> </b>(router/firewall
|
href="http://leaf.sourceforge.net/devel/jnilo"> LEAF/Bering</a> </b>(router/firewall
|
||||||
on a floppy, CD or compact flash).</li>
|
on a floppy, CD or compact flash).</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
|
||||||
<li><a href="MAC_Validation.html">Media Access Control (<b>MAC</b>) Address
|
|
||||||
<b>Verification</b><br>
|
|
||||||
</a><br>
|
|
||||||
</li>
|
</li>
|
||||||
|
<li><a href="MAC_Validation.html">Media Access Control (<b>MAC</b>) Address
|
||||||
|
<b>Verification</b><br>
|
||||||
|
</a><br>
|
||||||
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p><font size="2">Last updated 11/09/2002 - <a href="support.htm">Tom Eastep</a></font></p>
|
<p><font size="2">Last updated 1/31/2003 - <a href="support.htm">Tom Eastep</a></font></p>
|
||||||
|
|
||||||
<p align="left"><font face="Trebuchet MS"><a href="copyright.htm"> <font
|
<p align="left"><font face="Trebuchet MS"><a href="copyright.htm"> <font
|
||||||
size="2">Copyright</font> © <font size="2">2001,2002 Thomas M. Eastep.</font></a></font><br>
|
size="2">Copyright</font> © <font size="2">2001-2003 Thomas M. Eastep.</font></a></font><br>
|
||||||
</p>
|
</p>
|
||||||
|
<br>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,288 +1,296 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
|
||||||
<meta http-equiv="Content-Language" content="en-us">
|
<meta http-equiv="Content-Language" content="en-us">
|
||||||
|
|
||||||
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
||||||
|
|
||||||
<meta name="ProgId" content="FrontPage.Editor.Document">
|
<meta name="ProgId" content="FrontPage.Editor.Document">
|
||||||
|
|
||||||
<meta http-equiv="Content-Type"
|
<meta http-equiv="Content-Type"
|
||||||
content="text/html; charset=windows-1252">
|
content="text/html; charset=windows-1252">
|
||||||
<title>Shorewall QuickStart Guide</title>
|
<title>Shorewall QuickStart Guide</title>
|
||||||
|
|
||||||
|
|
||||||
<meta name="Microsoft Theme" content="none">
|
<meta name="Microsoft Theme" content="none">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<table border="0" cellpadding="0" cellspacing="0"
|
<table border="0" cellpadding="0" cellspacing="0"
|
||||||
style="border-collapse: collapse;" width="100%" id="AutoNumber1"
|
style="border-collapse: collapse;" width="100%" id="AutoNumber1"
|
||||||
bgcolor="#400169" height="90">
|
bgcolor="#400169" height="90">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td width="100%">
|
<td width="100%">
|
||||||
|
|
||||||
|
|
||||||
<h1 align="center"><font color="#ffffff">Shorewall QuickStart Guides
|
<h1 align="center"><font color="#ffffff">Shorewall QuickStart Guides
|
||||||
(HOWTO's)<br>
|
(HOWTO's)<br>
|
||||||
Version 3.1</font></h1>
|
Version 3.1</font></h1>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<p align="center">With thanks to Richard who reminded me once again that we
|
<p align="center">With thanks to Richard who reminded me once again that
|
||||||
must all first walk before we can run.</p>
|
we must all first walk before we can run.<br>
|
||||||
|
The French Translations are courtesy of Patrice Vetsel<br>
|
||||||
|
</p>
|
||||||
|
|
||||||
<h2>The Guides</h2>
|
<h2>The Guides</h2>
|
||||||
|
|
||||||
<p>These guides provide step-by-step instructions for configuring Shorewall
|
<p>These guides provide step-by-step instructions for configuring Shorewall
|
||||||
in common firewall setups.</p>
|
in common firewall setups.</p>
|
||||||
|
|
||||||
<p>The following guides are for <b>users who have a single public IP address</b>:</p>
|
<p>The following guides are for <b>users who have a single public IP address</b>:</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="standalone.htm">Standalone</a> Linux System</li>
|
<li><a href="standalone.htm">Standalone</a> Linux System
|
||||||
<li><a href="two-interface.htm">Two-interface</a> Linux
|
(<a href="standalone_fr.html">Version Française</a>)</li>
|
||||||
System acting as a firewall/router for a small local network</li>
|
<li><a href="two-interface.htm">Two-interface</a> Linux
|
||||||
<li><a href="three-interface.htm">Three-interface</a> Linux
|
System acting as a firewall/router for a small local network (<a
|
||||||
System acting as a firewall/router for a small local network and
|
href="two-interface_fr.html">Version Française</a>)</li>
|
||||||
a DMZ.</li>
|
<li><a href="three-interface.htm">Three-interface</a>
|
||||||
|
Linux System acting as a firewall/router for a small local network
|
||||||
|
and a DMZ. (<a href="three-interface_fr.html">Version Française</a>)</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p>The above guides are designed to get your first firewall up and running
|
<p>The above guides are designed to get your first firewall up and running
|
||||||
quickly in the three most common Shorewall configurations.</p>
|
quickly in the three most common Shorewall configurations.</p>
|
||||||
|
|
||||||
<p>The <a href="shorewall_setup_guide.htm">Shorewall Setup Guide</a> outlines
|
<p>The <a href="shorewall_setup_guide.htm">Shorewall Setup Guide</a> outlines
|
||||||
the steps necessary to set up a firewall where <b>there are multiple
|
the steps necessary to set up a firewall where <b>there are multiple
|
||||||
public IP addresses involved or if you want to learn more about Shorewall
|
public IP addresses involved or if you want to learn more about Shorewall
|
||||||
than is explained in the single-address guides above.</b></p>
|
than is explained in the single-address guides above.</b></p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="shorewall_setup_guide.htm#Introduction">1.0
|
<li><a href="shorewall_setup_guide.htm#Introduction">1.0
|
||||||
Introduction</a></li>
|
Introduction</a></li>
|
||||||
<li><a href="shorewall_setup_guide.htm#Concepts">2.0 Shorewall
|
<li><a href="shorewall_setup_guide.htm#Concepts">2.0 Shorewall
|
||||||
Concepts</a></li>
|
Concepts</a></li>
|
||||||
<li><a href="shorewall_setup_guide.htm#Interfaces">3.0
|
<li><a href="shorewall_setup_guide.htm#Interfaces">3.0
|
||||||
Network Interfaces</a></li>
|
Network Interfaces</a></li>
|
||||||
<li><a href="shorewall_setup_guide.htm#Addressing">4.0
|
<li><a href="shorewall_setup_guide.htm#Addressing">4.0
|
||||||
Addressing, Subnets and Routing</a>
|
Addressing, Subnets and Routing</a>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="shorewall_setup_guide.htm#Addresses">4.1
|
<li><a href="shorewall_setup_guide.htm#Addresses">4.1
|
||||||
IP Addresses</a></li>
|
IP Addresses</a></li>
|
||||||
<li><a
|
<li><a
|
||||||
href="shorewall_setup_guide.htm#Subnets">4.2 Subnets</a></li>
|
href="shorewall_setup_guide.htm#Subnets">4.2 Subnets</a></li>
|
||||||
<li><a href="shorewall_setup_guide.htm#Routing">4.3 Routing</a></li>
|
<li><a href="shorewall_setup_guide.htm#Routing">4.3
|
||||||
<li><a href="shorewall_setup_guide.htm#ARP">4.4 Address
|
Routing</a></li>
|
||||||
Resolution Protocol</a></li>
|
<li><a href="shorewall_setup_guide.htm#ARP">4.4 Address
|
||||||
|
Resolution Protocol</a></li>
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li><a href="shorewall_setup_guide.htm#RFC1918">4.5 RFC
|
|
||||||
1918</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li><a href="shorewall_setup_guide.htm#Options">5.0 Setting
|
|
||||||
up your Network</a>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li><a href="shorewall_setup_guide.htm#Routed">5.1 Routed</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li><a href="shorewall_setup_guide.htm#NonRouted">5.2
|
|
||||||
Non-routed</a>
|
|
||||||
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li><a href="shorewall_setup_guide.htm#SNAT">5.2.1
|
|
||||||
SNAT</a></li>
|
|
||||||
<li><a href="shorewall_setup_guide.htm#DNAT">5.2.2
|
|
||||||
DNAT</a></li>
|
|
||||||
<li><a href="shorewall_setup_guide.htm#ProxyARP">5.2.3
|
|
||||||
Proxy ARP</a></li>
|
|
||||||
<li><a href="shorewall_setup_guide.htm#NAT">5.2.4 Static
|
|
||||||
NAT</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li><a href="shorewall_setup_guide.htm#Rules">5.3 Rules</a></li>
|
|
||||||
<li><a href="shorewall_setup_guide.htm#OddsAndEnds">5.4
|
|
||||||
Odds and Ends</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li><a href="shorewall_setup_guide.htm#DNS">6.0 DNS</a></li>
|
|
||||||
<li><a
|
|
||||||
href="shorewall_setup_guide.htm#StartingAndStopping">7.0 Starting and
|
|
||||||
Stopping the Firewall</a></li>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h2><a name="Documentation"></a>Documentation Index</h2>
|
|
||||||
|
|
||||||
<p>The following documentation covers a variety of topics and <b>supplements
|
|
||||||
the <a href="shorewall_quickstart_guide.htm">QuickStart Guides</a>
|
|
||||||
described above</b>. Please review the appropriate guide before trying
|
|
||||||
to use this documentation directly.</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li><a href="blacklisting_support.htm">Blacklisting</a>
|
|
||||||
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Static Blacklisting using /etc/shorewall/blacklist</li>
|
|
||||||
<li>Dynamic Blacklisting using /sbin/shorewall</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li><a href="configuration_file_basics.htm">Common configuration
|
|
||||||
file features</a>
|
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="configuration_file_basics.htm#Comments">Comments
|
<li><a href="shorewall_setup_guide.htm#RFC1918">4.5
|
||||||
in configuration files</a></li>
|
RFC 1918</a></li>
|
||||||
<li><a
|
|
||||||
href="configuration_file_basics.htm#Continuation">Line Continuation</a></li>
|
|
||||||
<li><a href="configuration_file_basics.htm#Ports">Port
|
|
||||||
Numbers/Service Names</a></li>
|
|
||||||
<li><a href="configuration_file_basics.htm#Ranges">Port
|
|
||||||
Ranges</a></li>
|
|
||||||
<li><a
|
|
||||||
href="configuration_file_basics.htm#Variables">Using Shell Variables</a></li>
|
|
||||||
<li><a href="configuration_file_basics.htm#dnsnames">Using
|
|
||||||
DNS Names</a><br>
|
|
||||||
</li>
|
|
||||||
<li><a
|
|
||||||
href="configuration_file_basics.htm#Compliment">Complementing an IP address
|
|
||||||
or Subnet</a></li>
|
|
||||||
<li><a href="configuration_file_basics.htm#Configs">Shorewall
|
|
||||||
Configurations (making a test configuration)</a></li>
|
|
||||||
<li><a href="configuration_file_basics.htm#MAC">Using
|
|
||||||
MAC Addresses in Shorewall</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="Documentation.htm">Configuration File Reference
|
<li><a href="shorewall_setup_guide.htm#Options">5.0 Setting
|
||||||
Manual</a>
|
up your Network</a>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><a href="shorewall_setup_guide.htm#Routed">5.1 Routed</a></li>
|
||||||
|
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><a href="shorewall_setup_guide.htm#NonRouted">5.2
|
||||||
|
Non-routed</a>
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><a href="shorewall_setup_guide.htm#SNAT">5.2.1
|
||||||
|
SNAT</a></li>
|
||||||
|
<li><a href="shorewall_setup_guide.htm#DNAT">5.2.2
|
||||||
|
DNAT</a></li>
|
||||||
|
<li><a href="shorewall_setup_guide.htm#ProxyARP">5.2.3
|
||||||
|
Proxy ARP</a></li>
|
||||||
|
<li><a href="shorewall_setup_guide.htm#NAT">5.2.4
|
||||||
|
Static NAT</a></li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<ul>
|
</ul>
|
||||||
<li> <a href="Documentation.htm#Variables">params</a></li>
|
</li>
|
||||||
<li><font color="#000099"><a
|
<li><a href="shorewall_setup_guide.htm#Rules">5.3 Rules</a></li>
|
||||||
href="Documentation.htm#Zones">zones</a></font></li>
|
<li><a href="shorewall_setup_guide.htm#OddsAndEnds">5.4
|
||||||
<li><font color="#000099"><a
|
Odds and Ends</a></li>
|
||||||
href="Documentation.htm#Interfaces">interfaces</a></font></li>
|
|
||||||
<li><font color="#000099"><a
|
|
||||||
href="Documentation.htm#Hosts">hosts</a></font></li>
|
|
||||||
<li><font color="#000099"><a
|
|
||||||
href="Documentation.htm#Policy">policy</a></font></li>
|
|
||||||
<li><font color="#000099"><a
|
|
||||||
href="Documentation.htm#Rules">rules</a></font></li>
|
|
||||||
<li><a href="Documentation.htm#Common">common</a></li>
|
|
||||||
<li><font color="#000099"><a
|
|
||||||
href="Documentation.htm#Masq">masq</a></font></li>
|
|
||||||
<li><font color="#000099"><a
|
|
||||||
href="Documentation.htm#ProxyArp">proxyarp</a></font></li>
|
|
||||||
<li><font color="#000099"><a
|
|
||||||
href="Documentation.htm#NAT">nat</a></font></li>
|
|
||||||
<li><font color="#000099"><a
|
|
||||||
href="Documentation.htm#Tunnels">tunnels</a></font></li>
|
|
||||||
<li><a href="traffic_shaping.htm#tcrules">tcrules</a></li>
|
|
||||||
<li><font color="#000099"><a
|
|
||||||
href="Documentation.htm#Conf">shorewall.conf</a></font></li>
|
|
||||||
<li><a href="Documentation.htm#modules">modules</a></li>
|
|
||||||
<li><a href="Documentation.htm#TOS">tos</a> </li>
|
|
||||||
<li><a href="Documentation.htm#Blacklist">blacklist</a></li>
|
|
||||||
<li><a href="Documentation.htm#rfc1918">rfc1918</a></li>
|
|
||||||
<li><a href="Documentation.htm#Routestopped">routestopped</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="dhcp.htm">DHCP</a></li>
|
<li><a href="shorewall_setup_guide.htm#DNS">6.0 DNS</a></li>
|
||||||
<li><font color="#000099"><a
|
<li><a
|
||||||
href="shorewall_extension_scripts.htm">Extension Scripts</a></font>
|
href="shorewall_setup_guide.htm#StartingAndStopping">7.0 Starting and
|
||||||
(How to extend Shorewall without modifying Shorewall code)</li>
|
Stopping the Firewall</a></li>
|
||||||
<li><a href="fallback.htm">Fallback/Uninstall</a></li>
|
|
||||||
<li><a href="shorewall_firewall_structure.htm">Firewall
|
|
||||||
Structure</a></li>
|
|
||||||
<li><font color="#000099"><a href="kernel.htm">Kernel Configuration</a></font></li>
|
|
||||||
<li><a href="shorewall_logging.html">Logging</a><br>
|
|
||||||
</li>
|
|
||||||
<li><a href="MAC_Validation.html">MAC Verification</a><br>
|
|
||||||
</li>
|
|
||||||
<li><a href="myfiles.htm">My Configuration Files</a> (How I personally
|
|
||||||
use Shorewall)</li>
|
|
||||||
<li><a href="ping.html">'Ping' Management</a><br>
|
|
||||||
</li>
|
|
||||||
<li><a href="ports.htm">Port Information</a>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Which applications use which ports</li>
|
|
||||||
<li>Ports used by Trojans</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li><a href="ProxyARP.htm">Proxy ARP</a></li>
|
|
||||||
<li><a href="samba.htm">Samba</a></li>
|
|
||||||
<li><font color="#000099"><a
|
|
||||||
href="starting_and_stopping_shorewall.htm">Starting/stopping the Firewall</a></font></li>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Description of all /sbin/shorewall commands</li>
|
|
||||||
<li>How to safely test a Shorewall configuration change<br>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
<li><font color="#000099"><a href="NAT.htm">Static NAT</a></font></li>
|
|
||||||
<li><a href="Shorewall_Squid_Usage.html">Squid as a Transparent Proxy with
|
|
||||||
Shorewall</a><br>
|
|
||||||
</li>
|
|
||||||
<li><a href="traffic_shaping.htm">Traffic Shaping/QOS</a></li>
|
|
||||||
<li>VPN
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li><a href="IPSEC.htm">IPSEC</a></li>
|
|
||||||
<li><a href="IPIP.htm">GRE and IPIP</a></li>
|
|
||||||
<li><a href="PPTP.htm">PPTP</a></li>
|
|
||||||
<li><a href="VPN.htm">IPSEC/PPTP</a> from a system behind
|
|
||||||
your firewall to a remote network.</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li><a href="whitelisting_under_shorewall.htm">White List
|
|
||||||
Creation</a></li>
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<h2><a name="Documentation"></a>Documentation Index</h2>
|
||||||
|
|
||||||
|
<p>The following documentation covers a variety of topics and <b>supplements
|
||||||
|
the <a href="shorewall_quickstart_guide.htm">QuickStart Guides</a>
|
||||||
|
described above</b>. Please review the appropriate guide before trying
|
||||||
|
to use this documentation directly.</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><a href="blacklisting_support.htm">Blacklisting</a>
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Static Blacklisting using /etc/shorewall/blacklist</li>
|
||||||
|
<li>Dynamic Blacklisting using /sbin/shorewall</li>
|
||||||
|
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="configuration_file_basics.htm">Common configuration
|
||||||
|
file features</a>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><a
|
||||||
|
href="configuration_file_basics.htm#Comments">Comments in configuration
|
||||||
|
files</a></li>
|
||||||
|
<li><a
|
||||||
|
href="configuration_file_basics.htm#Continuation">Line Continuation</a></li>
|
||||||
|
<li><a href="configuration_file_basics.htm#Ports">Port
|
||||||
|
Numbers/Service Names</a></li>
|
||||||
|
<li><a href="configuration_file_basics.htm#Ranges">Port
|
||||||
|
Ranges</a></li>
|
||||||
|
<li><a
|
||||||
|
href="configuration_file_basics.htm#Variables">Using Shell Variables</a></li>
|
||||||
|
<li><a
|
||||||
|
href="configuration_file_basics.htm#dnsnames">Using DNS Names</a><br>
|
||||||
|
</li>
|
||||||
|
<li><a
|
||||||
|
href="configuration_file_basics.htm#Compliment">Complementing an IP address
|
||||||
|
or Subnet</a></li>
|
||||||
|
<li><a href="configuration_file_basics.htm#Configs">Shorewall
|
||||||
|
Configurations (making a test configuration)</a></li>
|
||||||
|
<li><a href="configuration_file_basics.htm#MAC">Using
|
||||||
|
MAC Addresses in Shorewall</a></li>
|
||||||
|
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="Documentation.htm">Configuration File Reference
|
||||||
|
Manual</a>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li> <a href="Documentation.htm#Variables">params</a></li>
|
||||||
|
<li><font color="#000099"><a
|
||||||
|
href="Documentation.htm#Zones">zones</a></font></li>
|
||||||
|
<li><font color="#000099"><a
|
||||||
|
href="Documentation.htm#Interfaces">interfaces</a></font></li>
|
||||||
|
<li><font color="#000099"><a
|
||||||
|
href="Documentation.htm#Hosts">hosts</a></font></li>
|
||||||
|
<li><font color="#000099"><a
|
||||||
|
href="Documentation.htm#Policy">policy</a></font></li>
|
||||||
|
<li><font color="#000099"><a
|
||||||
|
href="Documentation.htm#Rules">rules</a></font></li>
|
||||||
|
<li><a href="Documentation.htm#Common">common</a></li>
|
||||||
|
<li><font color="#000099"><a
|
||||||
|
href="Documentation.htm#Masq">masq</a></font></li>
|
||||||
|
<li><font color="#000099"><a
|
||||||
|
href="Documentation.htm#ProxyArp">proxyarp</a></font></li>
|
||||||
|
<li><font color="#000099"><a
|
||||||
|
href="Documentation.htm#NAT">nat</a></font></li>
|
||||||
|
<li><font color="#000099"><a
|
||||||
|
href="Documentation.htm#Tunnels">tunnels</a></font></li>
|
||||||
|
<li><a href="traffic_shaping.htm#tcrules">tcrules</a></li>
|
||||||
|
<li><font color="#000099"><a
|
||||||
|
href="Documentation.htm#Conf">shorewall.conf</a></font></li>
|
||||||
|
<li><a href="Documentation.htm#modules">modules</a></li>
|
||||||
|
<li><a href="Documentation.htm#TOS">tos</a> </li>
|
||||||
|
<li><a href="Documentation.htm#Blacklist">blacklist</a></li>
|
||||||
|
<li><a href="Documentation.htm#rfc1918">rfc1918</a></li>
|
||||||
|
<li><a href="Documentation.htm#Routestopped">routestopped</a></li>
|
||||||
|
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="dhcp.htm">DHCP</a></li>
|
||||||
|
<li><font color="#000099"><a
|
||||||
|
href="shorewall_extension_scripts.htm">Extension Scripts</a></font> (How
|
||||||
|
to extend Shorewall without modifying Shorewall code)</li>
|
||||||
|
<li><a href="fallback.htm">Fallback/Uninstall</a></li>
|
||||||
|
<li><a href="shorewall_firewall_structure.htm">Firewall
|
||||||
|
Structure</a></li>
|
||||||
|
<li><font color="#000099"><a href="kernel.htm">Kernel
|
||||||
|
Configuration</a></font></li>
|
||||||
|
<li><a href="shorewall_logging.html">Logging</a><br>
|
||||||
|
</li>
|
||||||
|
<li><a href="MAC_Validation.html">MAC Verification</a><br>
|
||||||
|
</li>
|
||||||
|
<li><a href="myfiles.htm">My Configuration Files</a> (How I personally
|
||||||
|
use Shorewall)</li>
|
||||||
|
<li><a href="ping.html">'Ping' Management</a><br>
|
||||||
|
</li>
|
||||||
|
<li><a href="ports.htm">Port Information</a>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Which applications use which ports</li>
|
||||||
|
<li>Ports used by Trojans</li>
|
||||||
|
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="ProxyARP.htm">Proxy ARP</a></li>
|
||||||
|
<li><a href="samba.htm">Samba</a></li>
|
||||||
|
<li><font color="#000099"><a
|
||||||
|
href="starting_and_stopping_shorewall.htm">Starting/stopping the Firewall</a></font></li>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Description of all /sbin/shorewall commands</li>
|
||||||
|
<li>How to safely test a Shorewall configuration change<br>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
<li><font color="#000099"><a href="NAT.htm">Static NAT</a></font></li>
|
||||||
|
<li><a href="Shorewall_Squid_Usage.html">Squid as a Transparent Proxy
|
||||||
|
with Shorewall</a><br>
|
||||||
|
</li>
|
||||||
|
<li><a href="traffic_shaping.htm">Traffic Shaping/QOS</a></li>
|
||||||
|
<li>VPN
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><a href="IPSEC.htm">IPSEC</a></li>
|
||||||
|
<li><a href="IPIP.htm">GRE and IPIP</a></li>
|
||||||
|
<li><a href="PPTP.htm">PPTP</a></li>
|
||||||
|
<li><a href="VPN.htm">IPSEC/PPTP</a> from a system behind
|
||||||
|
your firewall to a remote network.</li>
|
||||||
|
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="whitelisting_under_shorewall.htm">White List
|
||||||
|
Creation</a></li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
<p>If you use one of these guides and have a suggestion for improvement <a
|
<p>If you use one of these guides and have a suggestion for improvement <a
|
||||||
href="mailto:webmaster@shorewall.net">please let me know</a>.</p>
|
href="mailto:webmaster@shorewall.net">please let me know</a>.</p>
|
||||||
|
|
||||||
<p><font size="2">Last modified 1/9/2003 - <a href="support.htm">Tom Eastep</a></font></p>
|
<p><font size="2">Last modified 1/28/2003 - <a href="support.htm">Tom Eastep</a></font></p>
|
||||||
|
|
||||||
<p><a href="copyright.htm"><font size="2">Copyright 2002, 2003 Thomas M.
|
<p><a href="copyright.htm"><font size="2">Copyright 2002, 2003 Thomas M.
|
||||||
Eastep</font></a><br>
|
Eastep</font></a><br>
|
||||||
</p>
|
</p>
|
||||||
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
</body>
|
</body>
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,44 +1,62 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||||
<html>
|
<html>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Language" content="en-us">
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
|
<meta http-equiv="Content-Language" content="en-us">
|
||||||
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
|
||||||
<meta name="ProgId" content="FrontPage.Editor.Document">
|
<meta http-equiv="Content-Type"
|
||||||
<title>SPAM Filters</title>
|
content="text/html; charset=windows-1252">
|
||||||
|
|
||||||
|
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
||||||
|
|
||||||
|
<meta name="ProgId" content="FrontPage.Editor.Document">
|
||||||
|
<title>SPAM Filters</title>
|
||||||
</head>
|
</head>
|
||||||
|
<body>
|
||||||
<body>
|
|
||||||
|
<table border="0" cellpadding="0" cellspacing="0"
|
||||||
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1" bgcolor="#400169" height="90">
|
style="border-collapse: collapse;" bordercolor="#111111" width="100%"
|
||||||
<tr>
|
id="AutoNumber1" bgcolor="#400169" height="90">
|
||||||
<td width="100%">
|
<tbody>
|
||||||
<h1 align="center"><font color="#FFFFFF">SPAM Filters</font></h1>
|
<tr>
|
||||||
</td>
|
<td width="100%">
|
||||||
</tr>
|
<h1 align="center"><font color="#ffffff">SPAM Filters</font></h1>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<h1 align="center"><br>
|
<h1 align="center"><br>
|
||||||
<a href="http://ordb.org">
|
<a href="http://ordb.org"> <a href="http://www.spamassassin.org"><img
|
||||||
<img border="0" src="images/but3.png" hspace="3" width="88" height="31"></a></h1>
|
src="images/ninjalogo.png" alt="(SpamAssassin Logo)" width="100"
|
||||||
<p>Like all of you, I'm concerned about the increasing volume of Unsolicited
|
height="38">
|
||||||
Commercial Email (UCE or SPAM). I am therefore sympathetic with those of you who
|
</a><img border="0" src="images/but3.png" hspace="3" width="88"
|
||||||
are installing SPAM filters on your mail servers. A couple of recent incidents
|
height="31">
|
||||||
involving mis-configured filters have prompted me to establish this page to spell
|
</a></h1>
|
||||||
out what I will do when these filters bounce list postings.</p>
|
|
||||||
|
<p>Like all of you, I'm concerned about the increasing volume of Unsolicited
|
||||||
|
Commercial Email (UCE or SPAM). I am therefore sympathetic with those of
|
||||||
|
you who are installing SPAM filters on your mail servers. A couple of recent
|
||||||
|
incidents involving mis-configured filters have prompted me to establish
|
||||||
|
this page to spell out what I will do when these filters bounce list postings.</p>
|
||||||
|
|
||||||
<p>When your SPAM filter bounces/rejects list mail, I will:</p>
|
<p>When your SPAM filter bounces/rejects list mail, I will:</p>
|
||||||
|
|
||||||
<ol>
|
<ol>
|
||||||
<li>immediately turn off delivery to you from all Shorewall lists to
|
<li>immediately turn off delivery to you from all Shorewall lists to which
|
||||||
which you subscribe.</li>
|
you subscribe.</li>
|
||||||
<li><u>try</u> to send you an email from a source other than shorewall.net</li>
|
<li><u>try</u> to send you an email from a source other than shorewall.net</li>
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
<p>When you have corrected the problem, please let me know and I will re-enable
|
|
||||||
|
<p>When you have corrected the problem, please let me know and I will re-enable
|
||||||
delivery (or you can reenable delivery yourself).</p>
|
delivery (or you can reenable delivery yourself).</p>
|
||||||
<p><font size="2">Last Updated 3/21/2002 - Tom Eastep</font></p>
|
|
||||||
|
<p><font size="2">Last Updated 1/29/2003 - Tom Eastep</font></p>
|
||||||
<p><font face="Trebuchet MS"><a href="copyright.htm"><font size="2">Copyright</font>
|
|
||||||
© <font size="2">2001, 2002 Thomas M. Eastep.</font></a></font></p>
|
<p><font face="Trebuchet MS"><a href="copyright.htm"><font size="2">Copyright</font>
|
||||||
|
© <font size="2">2001, 2002, 2003 Thomas M. Eastep.</font></a></font></p>
|
||||||
|
<br>
|
||||||
</body>
|
</body>
|
||||||
|
</html>
|
||||||
</html>
|
|
||||||
|
@ -1,429 +1,426 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
|
||||||
<meta http-equiv="Content-Language" content="en-us">
|
<meta http-equiv="Content-Language" content="en-us">
|
||||||
|
|
||||||
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
||||||
|
|
||||||
<meta name="ProgId" content="FrontPage.Editor.Document">
|
<meta name="ProgId" content="FrontPage.Editor.Document">
|
||||||
|
|
||||||
<meta http-equiv="Content-Type"
|
<meta http-equiv="Content-Type"
|
||||||
content="text/html; charset=windows-1252">
|
content="text/html; charset=windows-1252">
|
||||||
<title>Standalone Firewall</title>
|
<title>Standalone Firewall</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<table border="0" cellpadding="0" cellspacing="0"
|
<table border="0" cellpadding="0" cellspacing="0"
|
||||||
style="border-collapse: collapse;" bordercolor="#111111" width="100%"
|
style="border-collapse: collapse;" bordercolor="#111111" width="100%"
|
||||||
id="AutoNumber6" bgcolor="#400169" height="90">
|
id="AutoNumber6" bgcolor="#400169" height="90">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td width="100%">
|
<td width="100%">
|
||||||
<h1 align="center"><font color="#ffffff">Standalone Firewall</font></h1>
|
<h1 align="center"><font color="#ffffff">Standalone Firewall</font></h1>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<h2 align="center">Version 2.0.1</h2>
|
<h2 align="center">Version 2.0.1</h2>
|
||||||
|
|
||||||
<p align="left">Setting up Shorewall on a standalone Linux system is very
|
<p align="left">Setting up Shorewall on a standalone Linux system is very
|
||||||
easy if you understand the basics and follow the documentation.</p>
|
easy if you understand the basics and follow the documentation.</p>
|
||||||
|
|
||||||
<p>This guide doesn't attempt to acquaint you with all of the features of
|
<p>This guide doesn't attempt to acquaint you with all of the features of
|
||||||
Shorewall. It rather focuses on what is required to configure Shorewall
|
Shorewall. It rather focuses on what is required to configure Shorewall
|
||||||
in one of its most common configurations:</p>
|
in one of its most common configurations:</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>Linux system</li>
|
<li>Linux system</li>
|
||||||
<li>Single external IP address</li>
|
<li>Single external IP address</li>
|
||||||
<li>Connection through Cable Modem, DSL, ISDN, Frame Relay, dial-up...</li>
|
<li>Connection through Cable Modem, DSL, ISDN, Frame Relay, dial-up...</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p>This guide assumes that you have the iproute/iproute2 package installed
|
<p>This guide assumes that you have the iproute/iproute2 package installed
|
||||||
(on RedHat, the package is called <i>iproute</i>)<i>. </i>You can tell
|
(on RedHat, the package is called <i>iproute</i>)<i>. </i>You can tell
|
||||||
if this package is installed by the presence of an <b>ip</b> program on
|
if this package is installed by the presence of an <b>ip</b> program on
|
||||||
your firewall system. As root, you can use the 'which' command to check
|
your firewall system. As root, you can use the 'which' command to check
|
||||||
for this program:</p>
|
for this program:</p>
|
||||||
|
|
||||||
<pre> [root@gateway root]# which ip<br> /sbin/ip<br> [root@gateway root]#</pre>
|
<pre> [root@gateway root]# which ip<br> /sbin/ip<br> [root@gateway root]#</pre>
|
||||||
|
|
||||||
<p>I recommend that you read through the guide first to familiarize yourself
|
<p>I recommend that you read through the guide first to familiarize yourself
|
||||||
with what's involved then go back through it again making your configuration
|
with what's involved then go back through it again making your configuration
|
||||||
changes. Points at which configuration changes are recommended are flagged
|
changes. Points at which configuration changes are recommended are flagged
|
||||||
with <img border="0" src="images/BD21298_.gif" width="13" height="13">
|
with <img border="0" src="images/BD21298_.gif" width="13" height="13">
|
||||||
.</p>
|
.</p>
|
||||||
|
|
||||||
<p><img border="0" src="images/j0213519.gif" width="60" height="60">
|
<p><img border="0" src="images/j0213519.gif" width="60" height="60">
|
||||||
If you edit your configuration files on a Windows system, you must
|
If you edit your configuration files on a Windows system, you must
|
||||||
save them as Unix files if your editor supports that option or you must
|
save them as Unix files if your editor supports that option or you must
|
||||||
run them through dos2unix before trying to use them. Similarly, if you copy
|
run them through dos2unix before trying to use them. Similarly, if you
|
||||||
a configuration file from your Windows hard drive to a floppy disk, you must
|
copy a configuration file from your Windows hard drive to a floppy disk,
|
||||||
run dos2unix against the copy before using it with Shorewall.</p>
|
you must run dos2unix against the copy before using it with Shorewall.</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="http://www.simtel.net/pub/pd/51438.html">Windows Version
|
<li><a href="http://www.simtel.net/pub/pd/51438.html">Windows Version
|
||||||
of dos2unix</a></li>
|
of dos2unix</a></li>
|
||||||
<li><a href="http://www.megaloman.com/%7Ehany/software/hd2u/">Linux
|
<li><a href="http://www.megaloman.com/%7Ehany/software/hd2u/">Linux
|
||||||
Version of dos2unix</a></li>
|
Version of dos2unix</a></li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h2 align="left">Shorewall Concepts</h2>
|
<h2 align="left">Shorewall Concepts</h2>
|
||||||
|
|
||||||
<p> <img border="0" src="images/BD21298_.gif" width="13" height="13"
|
<p> <img border="0" src="images/BD21298_.gif" width="13" height="13"
|
||||||
alt="">
|
alt="">
|
||||||
The configuration files for Shorewall are contained in the directory
|
The configuration files for Shorewall are contained in the directory
|
||||||
/etc/shorewall -- for simple setups, you only need to deal with a few of
|
/etc/shorewall -- for simple setups, you only need to deal with a few of
|
||||||
these as described in this guide. After you have <a href="Install.htm">installed
|
these as described in this guide. After you have <a
|
||||||
Shorewall</a>, <b>download the <a
|
href="Install.htm">installed Shorewall</a>, <b>download the <a
|
||||||
href="/pub/shorewall/LATEST.samples/one-interface.tgz">one-interface sample</a>,
|
href="/pub/shorewall/LATEST.samples/one-interface.tgz">one-interface sample</a>,
|
||||||
un-tar it (tar -zxvf one-interface.tgz) and and copy the files to /etc/shorewall
|
un-tar it (tar -zxvf one-interface.tgz) and and copy the files to /etc/shorewall
|
||||||
(they will replace files with the same names that were placed in /etc/shorewall
|
(they will replace files with the same names that were placed in /etc/shorewall
|
||||||
during Shorewall installation)</b>.</p>
|
during Shorewall installation)</b>.</p>
|
||||||
|
|
||||||
<p>As each file is introduced, I suggest that you look through the actual
|
<p>As each file is introduced, I suggest that you look through the actual
|
||||||
file on your system -- each file contains detailed configuration instructions
|
file on your system -- each file contains detailed configuration instructions
|
||||||
and default entries.</p>
|
and default entries.</p>
|
||||||
|
|
||||||
<p>Shorewall views the network where it is running as being composed of a
|
<p>Shorewall views the network where it is running as being composed of a
|
||||||
set of <i>zones.</i> In the one-interface sample configuration, only one
|
set of <i>zones.</i> In the one-interface sample configuration, only one
|
||||||
zone is defined:</p>
|
zone is defined:</p>
|
||||||
|
|
||||||
<table border="0" style="border-collapse: collapse;" cellpadding="3"
|
<table border="0" style="border-collapse: collapse;" cellpadding="3"
|
||||||
cellspacing="0" id="AutoNumber2">
|
cellspacing="0" id="AutoNumber2">
|
||||||
<tbody>
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td><u><b>Name</b></u></td>
|
||||||
|
<td><u><b>Description</b></u></td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><u><b>Name</b></u></td>
|
<td><b>net</b></td>
|
||||||
<td><u><b>Description</b></u></td>
|
<td><b>The Internet</b></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
|
||||||
<td><b>net</b></td>
|
</tbody>
|
||||||
<td><b>The Internet</b></td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
</tbody>
|
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<p>Shorewall zones are defined in <a href="Documentation.htm#Zones"> /etc/shorewall/zones</a>.</p>
|
<p>Shorewall zones are defined in <a href="Documentation.htm#Zones"> /etc/shorewall/zones</a>.</p>
|
||||||
|
|
||||||
<p>Shorewall also recognizes the firewall system as its own zone - by default,
|
<p>Shorewall also recognizes the firewall system as its own zone - by default,
|
||||||
the firewall itself is known as <b>fw</b>.</p>
|
the firewall itself is known as <b>fw</b>.</p>
|
||||||
|
|
||||||
<p>Rules about what traffic to allow and what traffic to deny are expressed
|
<p>Rules about what traffic to allow and what traffic to deny are expressed
|
||||||
in terms of zones.</p>
|
in terms of zones.</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>You express your default policy for connections from one zone
|
<li>You express your default policy for connections from one zone
|
||||||
to another zone in the<a href="Documentation.htm#Policy"> /etc/shorewall/policy
|
to another zone in the<a href="Documentation.htm#Policy"> /etc/shorewall/policy
|
||||||
</a>file.</li>
|
</a>file.</li>
|
||||||
<li>You define exceptions to those default policies in the <a
|
<li>You define exceptions to those default policies in the <a
|
||||||
href="Documentation.htm#Rules">/etc/shorewall/rules </a>file.</li>
|
href="Documentation.htm#Rules">/etc/shorewall/rules </a>file.</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p>For each connection request entering the firewall, the request is first
|
<p>For each connection request entering the firewall, the request is first
|
||||||
checked against the /etc/shorewall/rules file. If no rule in that file
|
checked against the /etc/shorewall/rules file. If no rule in that file
|
||||||
matches the connection request then the first policy in /etc/shorewall/policy
|
matches the connection request then the first policy in /etc/shorewall/policy
|
||||||
that matches the request is applied. If that policy is REJECT or DROP
|
that matches the request is applied. If that policy is REJECT or DROP
|
||||||
the request is first checked against the rules in /etc/shorewall/common
|
the request is first checked against the rules in /etc/shorewall/common (the
|
||||||
(the samples provide that file for you).</p>
|
samples provide that file for you).</p>
|
||||||
|
|
||||||
<p>The /etc/shorewall/policy file included with the one-interface sample
|
<p>The /etc/shorewall/policy file included with the one-interface sample has
|
||||||
has the following policies:</p>
|
the following policies:</p>
|
||||||
|
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<table border="1" cellpadding="2" style="border-collapse: collapse;"
|
<table border="1" cellpadding="2" style="border-collapse: collapse;"
|
||||||
id="AutoNumber3">
|
id="AutoNumber3">
|
||||||
<tbody>
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td><u><b>SOURCE ZONE</b></u></td>
|
||||||
|
<td><u><b>DESTINATION ZONE</b></u></td>
|
||||||
|
<td><u><b>POLICY</b></u></td>
|
||||||
|
<td><u><b>LOG LEVEL</b></u></td>
|
||||||
|
<td><u><b>LIMIT:BURST</b></u></td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><u><b>SOURCE ZONE</b></u></td>
|
<td>fw</td>
|
||||||
<td><u><b>DESTINATION ZONE</b></u></td>
|
<td>net</td>
|
||||||
<td><u><b>POLICY</b></u></td>
|
<td>ACCEPT</td>
|
||||||
<td><u><b>LOG LEVEL</b></u></td>
|
<td> </td>
|
||||||
<td><u><b>LIMIT:BURST</b></u></td>
|
<td> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>fw</td>
|
<td>net</td>
|
||||||
<td>net</td>
|
<td>all<br>
|
||||||
<td>ACCEPT</td>
|
</td>
|
||||||
<td> </td>
|
<td>DROP</td>
|
||||||
<td> </td>
|
<td>info</td>
|
||||||
</tr>
|
<td> </td>
|
||||||
<tr>
|
</tr>
|
||||||
<td>net</td>
|
<tr>
|
||||||
<td>net</td>
|
<td>all</td>
|
||||||
<td>DROP</td>
|
<td>all</td>
|
||||||
<td>info</td>
|
<td>REJECT</td>
|
||||||
<td> </td>
|
<td>info</td>
|
||||||
</tr>
|
<td> </td>
|
||||||
<tr>
|
</tr>
|
||||||
<td>all</td>
|
|
||||||
<td>all</td>
|
</tbody>
|
||||||
<td>REJECT</td>
|
|
||||||
<td>info</td>
|
|
||||||
<td> </td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
</tbody>
|
|
||||||
</table>
|
</table>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<pre> fw net ACCEPT<br> net all DROP info<br> all all REJECT info</pre>
|
|
||||||
|
|
||||||
<p>The above policy will:</p>
|
<p>The above policy will:</p>
|
||||||
|
|
||||||
<ol>
|
<ol>
|
||||||
<li>allow all connection requests from the firewall to the internet</li>
|
<li>allow all connection requests from the firewall to the internet</li>
|
||||||
<li>drop (ignore) all connection requests from the internet to your
|
<li>drop (ignore) all connection requests from the internet to your
|
||||||
firewall</li>
|
firewall</li>
|
||||||
<li>reject all other connection requests (Shorewall requires this
|
<li>reject all other connection requests (Shorewall requires this
|
||||||
catchall policy).</li>
|
catchall policy).</li>
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
<p>At this point, edit your /etc/shorewall/policy and make any changes that
|
<p>At this point, edit your /etc/shorewall/policy and make any changes that
|
||||||
you wish.</p>
|
you wish.</p>
|
||||||
|
|
||||||
<h2 align="left">External Interface</h2>
|
<h2 align="left">External Interface</h2>
|
||||||
|
|
||||||
<p align="left">The firewall has a single network interface. Where Internet
|
<p align="left">The firewall has a single network interface. Where Internet
|
||||||
connectivity is through a cable or DSL "Modem", the <i>External Interface</i>
|
connectivity is through a cable or DSL "Modem", the <i>External Interface</i>
|
||||||
will be the ethernet adapter (<b>eth0</b>) that is connected to that "Modem"
|
will be the ethernet adapter (<b>eth0</b>) that is connected to that "Modem"
|
||||||
<u>unless</u> you connect via <i><u>P</u>oint-to-<u>P</u>oint <u>P</u>rotocol
|
<u>unless</u> you connect via <i><u>P</u>oint-to-<u>P</u>oint <u>P</u>rotocol
|
||||||
over <u>E</u>thernet</i> (PPPoE) or <i><u>P</u>oint-to-<u>P</u>oint <u>T</u>unneling
|
over <u>E</u>thernet</i> (PPPoE) or <i><u>P</u>oint-to-<u>P</u>oint <u>T</u>unneling
|
||||||
<u>P</u>rotocol </i>(PPTP) in which case the External Interface will be
|
<u>P</u>rotocol </i>(PPTP) in which case the External Interface will be
|
||||||
a <b>ppp0</b>. If you connect via a regular modem, your External Interface
|
a <b>ppp0</b>. If you connect via a regular modem, your External Interface
|
||||||
will also be <b>ppp0</b>. If you connect using ISDN, your external interface
|
will also be <b>ppp0</b>. If you connect using ISDN, your external interface
|
||||||
will be<b> ippp0.</b></p>
|
will be<b> ippp0.</b></p>
|
||||||
|
|
||||||
<p align="left"><img border="0" src="images/BD21298_3.gif" width="13"
|
<p align="left"><img border="0" src="images/BD21298_3.gif" width="13"
|
||||||
height="13">
|
height="13">
|
||||||
The Shorewall one-interface sample configuration assumes that the
|
The Shorewall one-interface sample configuration assumes that the
|
||||||
external interface is <b>eth0</b>. If your configuration is different,
|
external interface is <b>eth0</b>. If your configuration is different,
|
||||||
you will have to modify the sample /etc/shorewall/interfaces file accordingly.
|
you will have to modify the sample /etc/shorewall/interfaces file accordingly.
|
||||||
While you are there, you may wish to review the list of options that are
|
While you are there, you may wish to review the list of options that are
|
||||||
specified for the interface. Some hints:</p>
|
specified for the interface. Some hints:</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<p align="left">If your external interface is <b>ppp0</b> or <b>ippp0</b>,
|
<p align="left">If your external interface is <b>ppp0</b> or <b>ippp0</b>,
|
||||||
you can replace the "detect" in the second column with "-". </p>
|
you can replace the "detect" in the second column with "-". </p>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<p align="left">If your external interface is <b>ppp0</b> or <b>ippp0</b>
|
<p align="left">If your external interface is <b>ppp0</b> or <b>ippp0</b>
|
||||||
or if you have a static IP address, you can remove "dhcp" from the option
|
or if you have a static IP address, you can remove "dhcp" from the option
|
||||||
list. </p>
|
list. </p>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div align="left">
|
<div align="left">
|
||||||
<h2 align="left">IP Addresses</h2>
|
<h2 align="left">IP Addresses</h2>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div align="left">
|
<div align="left">
|
||||||
<p align="left">RFC 1918 reserves several <i>Private </i>IP address ranges
|
<p align="left">RFC 1918 reserves several <i>Private </i>IP address ranges
|
||||||
for use in private networks:</p>
|
for use in private networks:</p>
|
||||||
|
|
||||||
<div align="left">
|
<div align="left">
|
||||||
<pre> 10.0.0.0 - 10.255.255.255<br> 172.16.0.0 - 172.31.255.255<br> 192.168.0.0 - 192.168.255.255</pre>
|
<pre> 10.0.0.0 - 10.255.255.255<br> 172.16.0.0 - 172.31.255.255<br> 192.168.0.0 - 192.168.255.255</pre>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p align="left">These addresses are sometimes referred to as <i>non-routable</i>
|
<p align="left">These addresses are sometimes referred to as <i>non-routable</i>
|
||||||
because the Internet backbone routers will not forward a packet whose
|
because the Internet backbone routers will not forward a packet whose
|
||||||
destination address is reserved by RFC 1918. In some cases though, ISPs
|
destination address is reserved by RFC 1918. In some cases though, ISPs
|
||||||
are assigning these addresses then using <i>Network Address Translation
|
are assigning these addresses then using <i>Network Address Translation
|
||||||
</i>to rewrite packet headers when forwarding to/from the internet.</p>
|
</i>to rewrite packet headers when forwarding to/from the internet.</p>
|
||||||
|
|
||||||
<p align="left"><img border="0" src="images/BD21298_.gif" align="left"
|
<p align="left"><img border="0" src="images/BD21298_.gif" align="left"
|
||||||
width="13" height="13">
|
width="13" height="13">
|
||||||
Before starting Shorewall, you should look at the IP address
|
Before starting Shorewall, you should look at the IP address
|
||||||
of your external interface and if it is one of the above ranges, you
|
of your external interface and if it is one of the above ranges, you should
|
||||||
should remove the 'norfc1918' option from the entry in /etc/shorewall/interfaces.</p>
|
remove the 'norfc1918' option from the entry in /etc/shorewall/interfaces.</p>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div align="left">
|
|
||||||
<h2 align="left">Enabling other Connections</h2>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div align="left">
|
<div align="left">
|
||||||
<p align="left">If you wish to enable connections from the internet to your
|
<h2 align="left">Enabling other Connections</h2>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div align="left">
|
||||||
|
<p align="left">If you wish to enable connections from the internet to your
|
||||||
firewall, the general format is:</p>
|
firewall, the general format is:</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div align="left">
|
<div align="left">
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<table border="1" cellpadding="2" style="border-collapse: collapse;"
|
<table border="1" cellpadding="2" style="border-collapse: collapse;"
|
||||||
id="AutoNumber4">
|
id="AutoNumber4">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
|
||||||
<td><u><b>ACTION</b></u></td>
|
|
||||||
<td><u><b>SOURCE</b></u></td>
|
|
||||||
<td><u><b>DESTINATION</b></u></td>
|
|
||||||
<td><u><b>PROTOCOL</b></u></td>
|
|
||||||
<td><u><b>PORT</b></u></td>
|
|
||||||
<td><u><b>SOURCE PORT</b></u></td>
|
|
||||||
<td><u><b>ORIGINAL ADDRESS</b></u></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>ACCEPT</td>
|
<td><u><b>ACTION</b></u></td>
|
||||||
<td>net</td>
|
<td><u><b>SOURCE</b></u></td>
|
||||||
<td>fw</td>
|
<td><u><b>DESTINATION</b></u></td>
|
||||||
<td><i><protocol></i></td>
|
<td><u><b>PROTOCOL</b></u></td>
|
||||||
<td><i><port></i></td>
|
<td><u><b>PORT</b></u></td>
|
||||||
<td> </td>
|
<td><u><b>SOURCE PORT</b></u></td>
|
||||||
<td> </td>
|
<td><u><b>ORIGINAL ADDRESS</b></u></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
</tbody>
|
<td>ACCEPT</td>
|
||||||
|
<td>net</td>
|
||||||
|
<td>fw</td>
|
||||||
|
<td><i><protocol></i></td>
|
||||||
|
<td><i><port></i></td>
|
||||||
|
<td> </td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div align="left">
|
||||||
|
<p align="left">Example - You want to run a Web Server and a POP3 Server on
|
||||||
|
your firewall system:</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div align="left">
|
<div align="left">
|
||||||
<p align="left">Example - You want to run a Web Server and a POP3 Server
|
<blockquote>
|
||||||
on your firewall system:</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div align="left">
|
|
||||||
<blockquote>
|
|
||||||
<table border="1" cellpadding="2" style="border-collapse: collapse;"
|
<table border="1" cellpadding="2" style="border-collapse: collapse;"
|
||||||
id="AutoNumber5">
|
id="AutoNumber5">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
|
||||||
<td><u><b>ACTION</b></u></td>
|
|
||||||
<td><u><b>SOURCE</b></u></td>
|
|
||||||
<td><u><b>DESTINATION</b></u></td>
|
|
||||||
<td><u><b>PROTOCOL</b></u></td>
|
|
||||||
<td><u><b>PORT</b></u></td>
|
|
||||||
<td><u><b>SOURCE PORT</b></u></td>
|
|
||||||
<td><u><b>ORIGINAL ADDRESS</b></u></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>ACCEPT</td>
|
<td><u><b>ACTION</b></u></td>
|
||||||
<td>net</td>
|
<td><u><b>SOURCE</b></u></td>
|
||||||
<td>fw</td>
|
<td><u><b>DESTINATION</b></u></td>
|
||||||
<td>tcp</td>
|
<td><u><b>PROTOCOL</b></u></td>
|
||||||
<td>80</td>
|
<td><u><b>PORT</b></u></td>
|
||||||
<td> </td>
|
<td><u><b>SOURCE PORT</b></u></td>
|
||||||
<td> </td>
|
<td><u><b>ORIGINAL ADDRESS</b></u></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>ACCEPT</td>
|
<td>ACCEPT</td>
|
||||||
<td>net</td>
|
<td>net</td>
|
||||||
<td>fw</td>
|
<td>fw</td>
|
||||||
<td>tcp</td>
|
<td>tcp</td>
|
||||||
<td>110</td>
|
<td>80</td>
|
||||||
<td> </td>
|
<td> </td>
|
||||||
<td> </td>
|
<td> </td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
</tbody>
|
<td>ACCEPT</td>
|
||||||
|
<td>net</td>
|
||||||
|
<td>fw</td>
|
||||||
|
<td>tcp</td>
|
||||||
|
<td>110</td>
|
||||||
|
<td> </td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div align="left">
|
||||||
|
<p align="left">If you don't know what port and protocol a particular application
|
||||||
|
uses, see <a href="ports.htm">here</a>.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div align="left">
|
<div align="left">
|
||||||
<p align="left">If you don't know what port and protocol a particular
|
<p align="left"><b>Important: </b>I don't recommend enabling telnet to/from
|
||||||
application uses, see <a href="ports.htm">here</a>.</p>
|
the internet because it uses clear text (even for login!). If you want
|
||||||
</div>
|
|
||||||
|
|
||||||
<div align="left">
|
|
||||||
<p align="left"><b>Important: </b>I don't recommend enabling telnet to/from
|
|
||||||
the internet because it uses clear text (even for login!). If you want
|
|
||||||
shell access to your firewall from the internet, use SSH:</p>
|
shell access to your firewall from the internet, use SSH:</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div align="left">
|
<div align="left">
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<table border="1" cellpadding="2" style="border-collapse: collapse;"
|
<table border="1" cellpadding="2" style="border-collapse: collapse;"
|
||||||
id="AutoNumber4">
|
id="AutoNumber4">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
|
||||||
<td><u><b>ACTION</b></u></td>
|
|
||||||
<td><u><b>SOURCE</b></u></td>
|
|
||||||
<td><u><b>DESTINATION</b></u></td>
|
|
||||||
<td><u><b>PROTOCOL</b></u></td>
|
|
||||||
<td><u><b>PORT</b></u></td>
|
|
||||||
<td><u><b>SOURCE PORT</b></u></td>
|
|
||||||
<td><u><b>ORIGINAL ADDRESS</b></u></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>ACCEPT</td>
|
<td><u><b>ACTION</b></u></td>
|
||||||
<td>net</td>
|
<td><u><b>SOURCE</b></u></td>
|
||||||
<td>fw</td>
|
<td><u><b>DESTINATION</b></u></td>
|
||||||
<td>tcp</td>
|
<td><u><b>PROTOCOL</b></u></td>
|
||||||
<td>22</td>
|
<td><u><b>PORT</b></u></td>
|
||||||
<td> </td>
|
<td><u><b>SOURCE PORT</b></u></td>
|
||||||
<td> </td>
|
<td><u><b>ORIGINAL ADDRESS</b></u></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
</tbody>
|
<td>ACCEPT</td>
|
||||||
|
<td>net</td>
|
||||||
|
<td>fw</td>
|
||||||
|
<td>tcp</td>
|
||||||
|
<td>22</td>
|
||||||
|
<td> </td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div align="left">
|
<div align="left">
|
||||||
<pre> ACCEPT net fw tcp 22</pre>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div align="left">
|
|
||||||
<p align="left"><img border="0" src="images/BD21298_3.gif" width="13"
|
<p align="left"><img border="0" src="images/BD21298_3.gif" width="13"
|
||||||
height="13">
|
height="13">
|
||||||
At this point, edit /etc/shorewall/rules to add other connections
|
At this point, edit /etc/shorewall/rules to add other connections
|
||||||
as desired.</p>
|
as desired.</p>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div align="left">
|
|
||||||
<h2 align="left">Starting and Stopping Your Firewall</h2>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div align="left">
|
<div align="left">
|
||||||
|
<h2 align="left">Starting and Stopping Your Firewall</h2>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div align="left">
|
||||||
<p align="left"> <img border="0" src="images/BD21298_2.gif"
|
<p align="left"> <img border="0" src="images/BD21298_2.gif"
|
||||||
width="13" height="13" alt="Arrow">
|
width="13" height="13" alt="Arrow">
|
||||||
The <a href="Install.htm">installation procedure </a> configures
|
The <a href="Install.htm">installation procedure </a> configures
|
||||||
your system to start Shorewall at system boot but beginning with Shorewall
|
your system to start Shorewall at system boot but beginning with Shorewall
|
||||||
version 1.3.9 startup is disabled so that your system won't try to start
|
version 1.3.9 startup is disabled so that your system won't try to start
|
||||||
Shorewall before configuration is complete. Once you have completed configuration
|
Shorewall before configuration is complete. Once you have completed configuration
|
||||||
of your firewall, you can enable Shorewall startup by removing the file /etc/shorewall/startup_disabled.<br>
|
of your firewall, you can enable Shorewall startup by removing the file
|
||||||
</p>
|
/etc/shorewall/startup_disabled.<br>
|
||||||
|
</p>
|
||||||
<p align="left"><font color="#ff0000"><b>IMPORTANT</b>: Users of the .deb
|
|
||||||
|
<p align="left"><font color="#ff0000"><b>IMPORTANT</b>: Users of the .deb
|
||||||
package must edit /etc/default/shorewall and set 'startup=1'.</font><br>
|
package must edit /etc/default/shorewall and set 'startup=1'.</font><br>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div align="left">
|
<div align="left">
|
||||||
<p align="left">The firewall is started using the "shorewall start" command
|
<p align="left">The firewall is started using the "shorewall start" command
|
||||||
and stopped using "shorewall stop". When the firewall is stopped, routing
|
and stopped using "shorewall stop". When the firewall is stopped, routing
|
||||||
is enabled on those hosts that have an entry in <a
|
is enabled on those hosts that have an entry in <a
|
||||||
href="Documentation.htm#Routestopped">/etc/shorewall/routestopped</a>. A
|
href="Documentation.htm#Routestopped">/etc/shorewall/routestopped</a>. A
|
||||||
running firewall may be restarted using the "shorewall restart" command.
|
running firewall may be restarted using the "shorewall restart" command.
|
||||||
If you want to totally remove any trace of Shorewall from your Netfilter
|
If you want to totally remove any trace of Shorewall from your Netfilter
|
||||||
configuration, use "shorewall clear".</p>
|
configuration, use "shorewall clear".</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div align="left">
|
<div align="left">
|
||||||
<p align="left"><b>WARNING: </b>If you are connected to your firewall from
|
<p align="left"><b>WARNING: </b>If you are connected to your firewall from
|
||||||
the internet, do not issue a "shorewall stop" command unless you have
|
the internet, do not issue a "shorewall stop" command unless you have
|
||||||
added an entry for the IP address that you are connected from to <a
|
added an entry for the IP address that you are connected from to <a
|
||||||
href="Documentation.htm#Routestopped">/etc/shorewall/routestopped</a>.
|
href="Documentation.htm#Routestopped">/etc/shorewall/routestopped</a>.
|
||||||
Also, I don't recommend using "shorewall restart"; it is better to create
|
Also, I don't recommend using "shorewall restart"; it is better to create
|
||||||
an <i><a href="configuration_file_basics.htm#Configs">alternate configuration</a></i>
|
an <i><a href="configuration_file_basics.htm#Configs">alternate configuration</a></i>
|
||||||
and test it using the <a href="starting_and_stopping_shorewall.htm">"shorewall
|
and test it using the <a href="starting_and_stopping_shorewall.htm">"shorewall
|
||||||
try" command</a>.</p>
|
try" command</a>.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p align="left"><font size="2">Last updated 12/9/2002 - <a
|
<p align="left"><font size="2">Last updated 1/26/2003 - <a
|
||||||
href="support.htm">Tom Eastep</a></font></p>
|
href="support.htm">Tom Eastep</a></font></p>
|
||||||
|
|
||||||
<p align="left"><a href="copyright.htm"><font size="2">Copyright 2002 Thomas
|
<p align="left"><a href="copyright.htm"><font size="2">Copyright 2002, 2003
|
||||||
M. Eastep</font></a></p>
|
Thomas M. Eastep</font></a></p>
|
||||||
<br>
|
<br>
|
||||||
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
|
||||||
<meta http-equiv="Content-Language" content="en-us">
|
<meta http-equiv="Content-Language" content="en-us">
|
||||||
|
|
||||||
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
||||||
|
|
||||||
<meta name="ProgId" content="FrontPage.Editor.Document">
|
<meta name="ProgId" content="FrontPage.Editor.Document">
|
||||||
|
|
||||||
<meta http-equiv="Content-Type"
|
<meta http-equiv="Content-Type"
|
||||||
content="text/html; charset=windows-1252">
|
content="text/html; charset=windows-1252">
|
||||||
<title>Starting and Stopping Shorewall</title>
|
<title>Starting and Stopping Shorewall</title>
|
||||||
@ -15,37 +15,38 @@
|
|||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<table border="0" cellpadding="0" cellspacing="0"
|
<table border="0" cellpadding="0" cellspacing="0"
|
||||||
style="border-collapse: collapse;" bordercolor="#111111" width="100%"
|
style="border-collapse: collapse;" bordercolor="#111111" width="100%"
|
||||||
id="AutoNumber1" bgcolor="#400169" height="90">
|
id="AutoNumber1" bgcolor="#400169" height="90">
|
||||||
|
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
||||||
<td width="100%">
|
<td width="100%">
|
||||||
|
|
||||||
<h1 align="center"><font color="#ffffff">Starting/Stopping and Monitoring
|
|
||||||
the Firewall</font></h1>
|
<h1 align="center"><font color="#ffffff">Starting/Stopping and Monitoring
|
||||||
|
the Firewall</font></h1>
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<p> If you have a permanent internet connection such as DSL or Cable,
|
<p> If you have a permanent internet connection such as DSL or Cable,
|
||||||
I recommend that you start the firewall automatically at boot. Once
|
I recommend that you start the firewall automatically at boot. Once
|
||||||
you have installed "firewall" in your init.d directory, simply type
|
you have installed "firewall" in your init.d directory, simply type
|
||||||
"chkconfig --add firewall". This will start the firewall in run
|
"chkconfig --add firewall". This will start the firewall in run
|
||||||
levels 2-5 and stop it in run levels 1 and 6. If you want to configure
|
levels 2-5 and stop it in run levels 1 and 6. If you want to configure
|
||||||
your firewall differently from this default, you can use the "--level"
|
your firewall differently from this default, you can use the "--level"
|
||||||
option in chkconfig (see "man chkconfig") or using your favorite
|
option in chkconfig (see "man chkconfig") or using your favorite
|
||||||
graphical run-level editor.</p>
|
graphical run-level editor.</p>
|
||||||
|
|
||||||
|
|
||||||
@ -54,198 +55,278 @@ graphical run-level editor.</p>
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<p><strong><u> <font color="#000099"> Important Notes:</font></u></strong><br>
|
<p><strong><u> <font color="#000099"> Important Notes:</font></u></strong><br>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<ol>
|
<ol>
|
||||||
<li>Shorewall startup is disabled by default. Once you have configured
|
<li>Shorewall startup is disabled by default. Once you have configured
|
||||||
your firewall, you can enable startup by removing the file /etc/shorewall/startup_disabled.
|
your firewall, you can enable startup by removing the file /etc/shorewall/startup_disabled.
|
||||||
Note: Users of the .deb package must edit /etc/default/shorewall and set
|
Note: Users of the .deb package must edit /etc/default/shorewall and set
|
||||||
'startup=1'.<br>
|
'startup=1'.<br>
|
||||||
</li>
|
</li>
|
||||||
<li>If you use dialup, you may want to start the firewall in your
|
<li>If you use dialup, you may want to start the firewall in
|
||||||
/etc/ppp/ip-up.local script. I recommend just placing "shorewall restart"
|
your /etc/ppp/ip-up.local script. I recommend just placing "shorewall
|
||||||
in that script.</li>
|
restart" in that script.</li>
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<p> You can manually start and stop Shoreline Firewall using the "shorewall"
|
<p> You can manually start and stop Shoreline Firewall using the "shorewall"
|
||||||
shell program: </p>
|
shell program: </p>
|
||||||
|
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>shorewall start - starts the firewall</li>
|
<li>shorewall start - starts the firewall</li>
|
||||||
<li>shorewall stop - stops the firewall</li>
|
<li>shorewall stop - stops the firewall</li>
|
||||||
<li>shorewall restart - stops the firewall (if it's running)
|
<li>shorewall restart - stops the firewall (if it's
|
||||||
and then starts it again</li>
|
running) and then starts it again</li>
|
||||||
<li>shorewall reset - reset the packet and byte counters
|
<li>shorewall reset - reset the packet and byte counters
|
||||||
in the firewall</li>
|
in the firewall</li>
|
||||||
<li>shorewall clear - remove all rules and chains installed
|
<li>shorewall clear - remove all rules and chains
|
||||||
by Shoreline Firewall</li>
|
installed by Shoreline Firewall</li>
|
||||||
<li>shorewall refresh - refresh the rules involving the broadcast
|
<li>shorewall refresh - refresh the rules involving the broadcast
|
||||||
addresses of firewall interfaces and the black and white lists.</li>
|
addresses of firewall interfaces and the black and white lists.</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
If you include the keyword <i>debug</i> as the first argument, then a shell
|
If you include the keyword <i>debug</i> as the first argument, then a
|
||||||
trace of the command is produced as in:<br>
|
shell trace of the command is produced as in:<br>
|
||||||
|
|
||||||
<pre> <font color="#009900"><b>shorewall debug start 2> /tmp/trace</b></font><br></pre>
|
<pre> <font color="#009900"><b>shorewall debug start 2> /tmp/trace</b></font><br></pre>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<p>The above command would trace the 'start' command and place the trace
|
<p>The above command would trace the 'start' command and place the trace information
|
||||||
information in the file /tmp/trace</p>
|
in the file /tmp/trace<br>
|
||||||
<p> The "shorewall" program may also be used to monitor the firewall.</p>
|
</p>
|
||||||
|
|
||||||
|
<p>The <a href="#StateDiagram">Shorewall State Diagram</a> is shown at the
|
||||||
|
bottom of this page.<br>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>The "shorewall" program may also be used to monitor the firewall.</p>
|
||||||
|
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>shorewall status - produce a verbose report about the firewall
|
<li>shorewall status - produce a verbose report about the firewall
|
||||||
(iptables -L -n -v)</li>
|
(iptables -L -n -v)</li>
|
||||||
<li>shorewall show <i>chain</i> - produce a verbose report about
|
<li>shorewall show <i>chain</i> - produce a verbose report about
|
||||||
<i>chain </i>(iptables -L <i>chain</i> -n -v)</li>
|
<i>chain </i>(iptables -L <i>chain</i> -n -v)</li>
|
||||||
<li>shorewall show nat - produce a verbose report about the nat table
|
<li>shorewall show nat - produce a verbose report about the nat
|
||||||
(iptables -t nat -L -n -v)</li>
|
table (iptables -t nat -L -n -v)</li>
|
||||||
<li>shorewall show tos - produce a verbose report about the mangle
|
<li>shorewall show tos - produce a verbose report about the mangle
|
||||||
table (iptables -t mangle -L -n -v)</li>
|
table (iptables -t mangle -L -n -v)</li>
|
||||||
<li>shorewall show log - display the last 20 packet log entries.</li>
|
<li>shorewall show log - display the last 20 packet log entries.</li>
|
||||||
<li>shorewall show connections - displays the IP connections currently
|
<li>shorewall show connections - displays the IP connections currently
|
||||||
being tracked by the firewall.</li>
|
being tracked by the firewall.</li>
|
||||||
<li>shorewall
|
<li>shorewall
|
||||||
show
|
show
|
||||||
tc - displays information
|
tc - displays information
|
||||||
about the traffic control/shaping configuration.</li>
|
about the traffic control/shaping configuration.</li>
|
||||||
<li>shorewall monitor [ delay ] - Continuously display the firewall
|
<li>shorewall monitor [ delay ] - Continuously display the firewall
|
||||||
status, last 20 log entries and nat. When the log entry display
|
status, last 20 log entries and nat. When the log entry display
|
||||||
changes, an audible alarm is sounded.</li>
|
changes, an audible alarm is sounded.</li>
|
||||||
<li>shorewall hits - Produces several reports about the Shorewall
|
<li>shorewall hits - Produces several reports about the Shorewall
|
||||||
packet log messages in the current /var/log/messages file.</li>
|
packet log messages in the current /var/log/messages file.</li>
|
||||||
<li>shorewall version - Displays the installed version number.</li>
|
<li>shorewall version - Displays the installed version number.</li>
|
||||||
<li>shorewall check - Performs a <u>cursory</u> validation of
|
<li>shorewall check - Performs a <u>cursory</u> validation
|
||||||
the zones, interfaces, hosts, rules and policy files. <font
|
of the zones, interfaces, hosts, rules and policy files. <font
|
||||||
size="4" color="#ff6666"><b>The "check" command does not parse and validate
|
size="4" color="#ff6666"><b>The "check" command does not parse and validate
|
||||||
the generated iptables commands so even though the "check" command
|
the generated iptables commands so even though the "check" command
|
||||||
completes successfully, the configuration may fail to start. See the
|
completes successfully, the configuration may fail to start. See the
|
||||||
recommended way to make configuration changes described below. </b></font>
|
recommended way to make configuration changes described below. </b></font>
|
||||||
</li>
|
</li>
|
||||||
<li>shorewall try<i> configuration-directory</i> [<i> timeout</i>
|
<li>shorewall try<i> configuration-directory</i> [<i> timeout</i>
|
||||||
] - Restart shorewall using the specified configuration and if an error
|
] - Restart shorewall using the specified configuration and if an
|
||||||
occurs or if the<i> timeout </i> option is given and the new configuration
|
error occurs or if the<i> timeout </i> option is given and the new configuration
|
||||||
has been up for that many seconds then shorewall is restarted using
|
has been up for that many seconds then shorewall is restarted using
|
||||||
the standard configuration.</li>
|
the standard configuration.</li>
|
||||||
<li>shorewall deny, shorewall reject, shorewall accept and shorewall
|
<li>shorewall deny, shorewall reject, shorewall accept and shorewall
|
||||||
save implement <a href="blacklisting_support.htm">dynamic blacklisting</a>.</li>
|
save implement <a href="blacklisting_support.htm">dynamic blacklisting</a>.</li>
|
||||||
<li>shorewall logwatch (added in version 1.3.2) - Monitors the
|
<li>shorewall logwatch (added in version 1.3.2) - Monitors the
|
||||||
<a href="#Conf">LOGFILE </a>and produces an audible alarm when new Shorewall
|
<a href="#Conf">LOGFILE </a>and produces an audible alarm when new
|
||||||
messages are logged.</li>
|
Shorewall messages are logged.</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
Finally, the "shorewall" program may be used to dynamically alter the
|
||||||
|
contents of a zone.<br>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>shorewall add <i>interface</i>[:<i>host]</i> <i>zone </i>- Adds
|
||||||
|
the specified interface (and host if included) to the specified zone.</li>
|
||||||
|
<li>shorewall delete <i>interface</i>[:<i>host]</i> <i>zone </i>-
|
||||||
|
Deletes the specified interface (and host if included) from the specified
|
||||||
|
zone.</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
Finally, the "shorewall" program may be used to dynamically alter the contents
|
|
||||||
of a zone.<br>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>shorewall add <i>interface</i>[:<i>host]</i> <i>zone </i>- Adds the
|
|
||||||
specified interface (and host if included) to the specified zone.</li>
|
|
||||||
<li>shorewall delete <i>interface</i>[:<i>host]</i> <i>zone </i>- Deletes
|
|
||||||
the specified interface (and host if included) from the specified zone.</li>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<blockquote>Examples:<br>
|
<blockquote>Examples:<br>
|
||||||
|
|
||||||
<blockquote><font color="#009900"><b>shorewall add ipsec0:192.0.2.24 vpn1</b></font>
|
<blockquote><font color="#009900"><b>shorewall add ipsec0:192.0.2.24 vpn1</b></font>
|
||||||
-- adds the address 192.0.2.24 from interface ipsec0 to the zone vpn1<br>
|
-- adds the address 192.0.2.24 from interface ipsec0 to the zone vpn1<br>
|
||||||
<font color="#009900"><b> shorewall delete ipsec0:192.0.2.24 vpn1</b></font>
|
<font color="#009900"><b> shorewall delete ipsec0:192.0.2.24 vpn1</b></font>
|
||||||
-- deletes the address 192.0.2.24 from interface ipsec0 from zone vpn1<br>
|
-- deletes the address 192.0.2.24 from interface ipsec0 from zone vpn1<br>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
|
|
||||||
<p> The <b>shorewall start</b>, <b>shorewall restart, shorewall check </b> and
|
<p> The <b>shorewall start</b>, <b>shorewall restart, shorewall check </b> and
|
||||||
<b>shorewall try </b>commands allow you to specify which <a
|
<b>shorewall try </b>commands allow you to specify which <a
|
||||||
href="configuration_file_basics.htm#Configs"> Shorewall configuration</a>
|
href="configuration_file_basics.htm#Configs"> Shorewall configuration</a>
|
||||||
to use:</p>
|
to use:</p>
|
||||||
|
|
||||||
|
|
||||||
<blockquote>
|
|
||||||
|
|
||||||
<p> shorewall [ -c <i>configuration-directory</i> ] {start|restart|check}<br>
|
|
||||||
shorewall try <i>configuration-directory</i></p>
|
|
||||||
</blockquote>
|
|
||||||
|
|
||||||
|
|
||||||
<p> If a <i>configuration-directory</i> is specified, each time that Shorewall
|
<blockquote>
|
||||||
is going to use a file in /etc/shorewall it will first look in the <i>configuration-directory</i>
|
|
||||||
. If the file is present in the <i>configuration-directory</i>, that file
|
|
||||||
will be used; otherwise, the file in /etc/shorewall will be used.</p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<p> When changing the configuration of a production firewall, I recommend
|
<p> shorewall [ -c <i>configuration-directory</i> ] {start|restart|check}<br>
|
||||||
the following:</p>
|
shorewall try <i>configuration-directory</i></p>
|
||||||
|
</blockquote>
|
||||||
|
|
||||||
|
|
||||||
|
<p> If a <i>configuration-directory</i> is specified, each time that Shorewall
|
||||||
|
is going to use a file in /etc/shorewall it will first look in the <i>configuration-directory</i>
|
||||||
|
. If the file is present in the <i>configuration-directory</i>, that
|
||||||
|
file will be used; otherwise, the file in /etc/shorewall will be used.</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<p> When changing the configuration of a production firewall, I recommend
|
||||||
|
the following:</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li><font color="#009900"><b>mkdir /etc/test</b></font></li>
|
<li><font color="#009900"><b>mkdir /etc/test</b></font></li>
|
||||||
|
|
||||||
<li><font color="#009900"><b>cd /etc/test</b></font></li>
|
<li><font color="#009900"><b>cd /etc/test</b></font></li>
|
||||||
|
|
||||||
<li><copy any files that you need to change from /etc/shorewall
|
<li><copy any files that you need to change from /etc/shorewall
|
||||||
to . and change them here></li>
|
to . and change them here></li>
|
||||||
|
|
||||||
<li><font color="#009900"><b>shorewall -c . check</b></font></li>
|
<li><font color="#009900"><b>shorewall -c . check</b></font></li>
|
||||||
|
|
||||||
<li><correct any errors found by check and check again></li>
|
<li><correct any errors found by check and check again></li>
|
||||||
|
|
||||||
<li><font color="#009900"><b>/sbin/shorewall try .</b></font></li>
|
<li><font color="#009900"><b>/sbin/shorewall try .</b></font></li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
<p> If the configuration starts but doesn't work, just "shorewall restart"
|
<p> If the configuration starts but doesn't work, just "shorewall restart"
|
||||||
to restore the old configuration. If the new configuration fails to start,
|
to restore the old configuration. If the new configuration fails to start,
|
||||||
the "try" command will automatically start the old one for you.</p>
|
the "try" command will automatically start the old one for you.</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<p> When the new configuration works then just </p>
|
<p> When the new configuration works then just </p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li><font color="#009900"><b>cp * /etc/shorewall</b></font></li>
|
<li><font color="#009900"><b>cp * /etc/shorewall</b></font></li>
|
||||||
|
|
||||||
<li><font color="#009900"><b>cd</b></font></li>
|
<li><font color="#009900"><b>cd</b></font></li>
|
||||||
|
|
||||||
<li><font color="#009900"><b>rm -rf /etc/test</b></font></li>
|
<li><font color="#009900"><b>rm -rf /etc/test</b></font></li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<p><font size="2"> Updated 1/9/2003 - <a href="support.htm">Tom Eastep</a>
|
<p><a name="StateDiagram"></a>The Shorewall State Diargram is depicted below.<br>
|
||||||
</font></p>
|
</p>
|
||||||
|
<div align="center"><img
|
||||||
|
src="file:///J:/Shorewall-docs/images/State_Diagram.png"
|
||||||
|
alt="(State Diagram)" width="747" height="714" align="middle">
|
||||||
|
<br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<p> <br>
|
||||||
|
</p>
|
||||||
|
You will note that the commands that result in state transitions use
|
||||||
|
the word "firewall" rather than "shorewall". That is because the actual
|
||||||
|
transitions are done by /usr/lib/shorewall/firewall (/usr/share/shorewall/firewall
|
||||||
|
on Debian); /sbin/shorewall runs 'firewall" according to the following table:<br>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<table cellpadding="2" cellspacing="2" border="1">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td valign="top">shorewall start<br>
|
||||||
|
</td>
|
||||||
|
<td valign="top">firewall start<br>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td valign="top">shorewall stop<br>
|
||||||
|
</td>
|
||||||
|
<td valign="top">firewall stop<br>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td valign="top">shorewall restart<br>
|
||||||
|
</td>
|
||||||
|
<td valign="top">firewall restart<br>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td valign="top">shorewall add<br>
|
||||||
|
</td>
|
||||||
|
<td valign="top">firewall add<br>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td valign="top">shorewall delete<br>
|
||||||
|
</td>
|
||||||
|
<td valign="top">firewall delete<br>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td valign="top">shorewall refresh<br>
|
||||||
|
</td>
|
||||||
|
<td valign="top">firewall refresh<br>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td valign="top">shorewall try<br>
|
||||||
|
</td>
|
||||||
|
<td valign="top">firewall -c <new configuration> restart<br>
|
||||||
|
If unsuccessful then firewall start (standard configuration)<br>
|
||||||
|
If timeout then firewall restart (standard configuration)<br>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<p><font size="2"> Updated 1/29/2003 - <a href="support.htm">Tom Eastep</a>
|
||||||
|
</font></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<p><font face="Trebuchet MS"><a href="copyright.htm"><font size="2">Copyright</font>
|
<p><font face="Trebuchet MS"><a href="copyright.htm"><font size="2">Copyright</font>
|
||||||
© <font size="2">2001, 2002, 2003 Thomas M. Eastep.</font></a></font></p>
|
© <font size="2">2001, 2002, 2003 Thomas M. Eastep.</font></a></font></p>
|
||||||
|
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,176 +1,234 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
|
||||||
<meta http-equiv="Content-Type"
|
<meta http-equiv="Content-Type"
|
||||||
content="text/html; charset=windows-1252">
|
content="text/html; charset=windows-1252">
|
||||||
<title>Upgrade Issues</title>
|
<title>Upgrade Issues</title>
|
||||||
|
|
||||||
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
||||||
|
|
||||||
<meta name="ProgId" content="FrontPage.Editor.Document">
|
|
||||||
|
|
||||||
|
<meta name="ProgId" content="FrontPage.Editor.Document">
|
||||||
|
|
||||||
<meta name="Microsoft Theme" content="none">
|
<meta name="Microsoft Theme" content="none">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<table border="0" cellpadding="0" cellspacing="0"
|
<table border="0" cellpadding="0" cellspacing="0"
|
||||||
style="border-collapse: collapse;" width="100%" id="AutoNumber1"
|
style="border-collapse: collapse;" width="100%" id="AutoNumber1"
|
||||||
bgcolor="#400169" height="90">
|
bgcolor="#400169" height="90">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td width="100%">
|
<td width="100%">
|
||||||
|
|
||||||
<h1 align="center"><font color="#ffffff">Upgrade Issues</font></h1>
|
<h1 align="center"><font color="#ffffff">Upgrade Issues</font></h1>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<p>For upgrade instructions see the <a
|
<p>For upgrade instructions see the <a
|
||||||
href="Install.htm">Install/Upgrade page</a>.</p>
|
href="Install.htm">Install/Upgrade page</a>.</p>
|
||||||
|
|
||||||
|
<h3>Version >= 1.3.14</h3>
|
||||||
|
<img src="images/BD21298_3.gif" alt="" width="13" height="13">
|
||||||
|
Beginning in version 1.3.14, Shorewall treats entries in <a
|
||||||
|
href="Documentation.htm#Masq">/etc/shorewall/masq </a>differently. The change
|
||||||
|
involves entries with an <b>interface name</b> in the <b>SUBNET</b> (second)
|
||||||
|
<b>column</b>:<br>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Prior to 1.3.14, Shorewall would detect the FIRST subnet on the interface
|
||||||
|
(as shown by "ip addr show <i>interface</i>") and would masquerade traffic
|
||||||
|
from that subnet. Any other subnets that routed through eth1 needed their
|
||||||
|
own entry in /etc/shorewall/masq to be masqueraded or to have SNAT applied.</li>
|
||||||
|
<li>Beginning with Shorewall 1.3.14, Shorewall uses the firewall's routing
|
||||||
|
table to determine ALL subnets routed through the named interface. Traffic
|
||||||
|
originating in ANY of those subnets is masqueraded or has SNAT applied.</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
You will need to make a change to your configuration if:<br>
|
||||||
|
|
||||||
|
<ol>
|
||||||
|
<li>You have one or more entries in /etc/shorewall/masq with an interface
|
||||||
|
name in the SUBNET (second) column; and</li>
|
||||||
|
<li>That interface connects to more than one subnetwork.</li>
|
||||||
|
|
||||||
|
</ol>
|
||||||
|
Two examples:<br>
|
||||||
|
<br>
|
||||||
|
<b>Example 1</b> -- Suppose that your current config is as follows:<br>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<pre> [root@gateway test]# cat /etc/shorewall/masq<br> #INTERFACE SUBNET ADDRESS<br> eth0 eth2 206.124.146.176<br> eth0 192.168.10.0/24 206.124.146.176<br> #LAST LINE -- ADD YOUR ENTRIES ABOVE THIS LINE -- DO NOT REMOVE<br> [root@gateway test]# ip route show dev eth2<br> 192.168.1.0/24 scope link<br> 192.168.10.0/24 proto kernel scope link src 192.168.10.254<br> [root@gateway test]#</pre>
|
||||||
|
|
||||||
|
<blockquote>In this case, the second entry in /etc/shorewall/masq is no longer
|
||||||
|
required.<br>
|
||||||
|
</blockquote>
|
||||||
|
<b>Example 2</b>-- What if your current configuration is like this?<br>
|
||||||
|
|
||||||
|
<pre> [root@gateway test]# cat /etc/shorewall/masq <br> #INTERFACE SUBNET ADDRESS <br> eth0 eth2 206.124.146.176<br> #LAST LINE -- ADD YOUR ENTRIES ABOVE THIS LINE -- DO NOT REMOVE <br> [root@gateway test]# ip route show dev eth2 <br> 192.168.1.0/24 scope link<br> 192.168.10.0/24 proto kernel scope link src 192.168.10.254 <br> [root@gateway test]#</pre>
|
||||||
|
|
||||||
|
<blockquote>In this case, you would want to change the entry in /etc/shorewall/masq
|
||||||
|
to:<br>
|
||||||
|
</blockquote>
|
||||||
|
|
||||||
|
<pre> #INTERFACE SUBNET ADDRESS <br> eth0 192.168.1.0/24 206.124.146.176<br> #LAST LINE -- ADD YOUR ENTRIES ABOVE THIS LINE -- DO NOT REMOVE</pre>
|
||||||
|
<img src="images/BD21298_3.gif" alt="" width="13" height="13">
|
||||||
|
Version 1.3.14 also introduced simplified ICMP echo-request (ping) handling.
|
||||||
|
The option OLD_PING_HANDLING=Yes in /etc/shorewall/shorewall.conf is used
|
||||||
|
to specify that the old (pre-1.3.14) ping handling is to be used (If the
|
||||||
|
option is not set in your /etc/shorewall/shorewall.conf then OLD_PING_HANDLING=Yes
|
||||||
|
is assumed). I don't plan on supporting the old handling indefinitely so
|
||||||
|
I urge current users to migrate to using the new handling as soon as possible.
|
||||||
|
See the <a href="ping.html">'Ping' handling documentation</a> for details.<br>
|
||||||
<h3>Version 1.3.10</h3>
|
<h3>Version 1.3.10</h3>
|
||||||
If you have installed the 1.3.10 Beta 1 RPM and are now upgrading to version
|
If you have installed the 1.3.10 Beta 1 RPM and are now upgrading to version
|
||||||
1.3.10, you will need to use the '--force' option:<br>
|
1.3.10, you will need to use the '--force' option:<br>
|
||||||
<br>
|
<br>
|
||||||
<blockquote>
|
|
||||||
<pre>rpm -Uvh --force shorewall-1.3.10-1.noarch.rpm </pre>
|
|
||||||
</blockquote>
|
|
||||||
<h3>Version >= 1.3.9</h3>
|
|
||||||
The 'functions' file has moved to /usr/lib/shorewall/functions. If you
|
|
||||||
have an application that uses functions from that file, your application
|
|
||||||
will need to be changed to reflect this change of location.<br>
|
|
||||||
|
|
||||||
|
<blockquote>
|
||||||
|
<pre>rpm -Uvh --force shorewall-1.3.10-1.noarch.rpm </pre>
|
||||||
|
</blockquote>
|
||||||
|
|
||||||
|
<h3>Version >= 1.3.9</h3>
|
||||||
|
The 'functions' file has moved to /usr/lib/shorewall/functions. If you
|
||||||
|
have an application that uses functions from that file, your application
|
||||||
|
will need to be changed to reflect this change of location.<br>
|
||||||
|
|
||||||
<h3>Version >= 1.3.8</h3>
|
<h3>Version >= 1.3.8</h3>
|
||||||
|
|
||||||
<p>If you have a pair of firewall systems configured for failover
|
<p>If you have a pair of firewall systems configured for failover
|
||||||
or if you have asymmetric routing, you will need to modify
|
or if you have asymmetric routing, you will need to modify
|
||||||
your firewall setup slightly under Shorewall
|
your firewall setup slightly under Shorewall
|
||||||
versions >= 1.3.8. Beginning with version 1.3.8,
|
versions >= 1.3.8. Beginning with version 1.3.8,
|
||||||
you must set NEWNOTSYN=Yes in your
|
you must set NEWNOTSYN=Yes in your
|
||||||
/etc/shorewall/shorewall.conf file.</p>
|
/etc/shorewall/shorewall.conf file.</p>
|
||||||
|
|
||||||
<h3>Version >= 1.3.7</h3>
|
<h3>Version >= 1.3.7</h3>
|
||||||
|
|
||||||
<p>Users specifying ALLOWRELATED=No in /etc/shorewall.conf
|
<p>Users specifying ALLOWRELATED=No in /etc/shorewall.conf
|
||||||
will need to include the following rules
|
will need to include the following rules
|
||||||
in their /etc/shorewall/icmpdef file (creating
|
in their /etc/shorewall/icmpdef file (creating
|
||||||
this file if necessary):</p>
|
this file if necessary):</p>
|
||||||
|
|
||||||
<pre> run_iptables -A icmpdef -p ICMP --icmp-type echo-reply -j ACCEPT<br> run_iptables -A icmpdef -p ICMP --icmp-type source-quench -j ACCEPT<br> run_iptables -A icmpdef -p ICMP --icmp-type destination-unreachable -j ACCEPT<br> run_iptables -A icmpdef -p ICMP --icmp-type time-exceeded -j ACCEPT<br> run_iptables -A icmpdef -p ICMP --icmp-type parameter-problem -j ACCEPT</pre>
|
<pre> run_iptables -A icmpdef -p ICMP --icmp-type echo-reply -j ACCEPT<br> run_iptables -A icmpdef -p ICMP --icmp-type source-quench -j ACCEPT<br> run_iptables -A icmpdef -p ICMP --icmp-type destination-unreachable -j ACCEPT<br> run_iptables -A icmpdef -p ICMP --icmp-type time-exceeded -j ACCEPT<br> run_iptables -A icmpdef -p ICMP --icmp-type parameter-problem -j ACCEPT</pre>
|
||||||
|
|
||||||
<p>Users having an /etc/shorewall/icmpdef file may remove the ". /etc/shorewall/icmp.def"
|
<p>Users having an /etc/shorewall/icmpdef file may remove the ". /etc/shorewall/icmp.def"
|
||||||
command from that file since the icmp.def file is now empty.</p>
|
command from that file since the icmp.def file is now empty.</p>
|
||||||
|
|
||||||
<h3><b><a name="Bering">Upgrading </a>Bering to
|
<h3><b><a name="Bering">Upgrading </a>Bering to
|
||||||
Shorewall >= 1.3.3</b></h3>
|
Shorewall >= 1.3.3</b></h3>
|
||||||
|
|
||||||
<p>To properly upgrade with Shorewall version
|
<p>To properly upgrade with Shorewall version
|
||||||
1.3.3 and later:</p>
|
1.3.3 and later:</p>
|
||||||
|
|
||||||
<ol>
|
<ol>
|
||||||
<li>Be sure you have a backup -- you
|
<li>Be sure you have a backup -- you
|
||||||
will need to transcribe any Shorewall configuration
|
will need to transcribe any Shorewall configuration
|
||||||
changes that you have made to the new
|
changes that you have made to the new
|
||||||
configuration.</li>
|
configuration.</li>
|
||||||
<li>Replace the shorwall.lrp package
|
<li>Replace the shorwall.lrp package
|
||||||
provided on the Bering floppy with the later
|
provided on the Bering floppy with the
|
||||||
one. If you did not obtain the later version
|
later one. If you did not obtain the later
|
||||||
from Jacques's site, see additional instructions
|
version from Jacques's site, see additional
|
||||||
below.</li>
|
instructions below.</li>
|
||||||
<li>Edit the /var/lib/lrpkg/root.exclude.list
|
<li>Edit the /var/lib/lrpkg/root.exclude.list
|
||||||
file and remove the /var/lib/shorewall
|
file and remove the /var/lib/shorewall
|
||||||
entry if present. Then do not forget to
|
entry if present. Then do not forget to
|
||||||
backup root.lrp !</li>
|
backup root.lrp !</li>
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
<p>The .lrp that I release isn't set up for a two-interface firewall like
|
<p>The .lrp that I release isn't set up for a two-interface firewall like
|
||||||
Jacques's. You need to follow the <a href="two-interface.htm">instructions
|
Jacques's. You need to follow the <a href="two-interface.htm">instructions
|
||||||
for setting up a two-interface firewall</a> plus you also need to add
|
for setting up a two-interface firewall</a> plus you also need to add
|
||||||
the following two Bering-specific rules to /etc/shorewall/rules:</p>
|
the following two Bering-specific rules to /etc/shorewall/rules:</p>
|
||||||
|
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<pre># Bering specific rules:<br># allow loc to fw udp/53 for dnscache to work<br># allow loc to fw tcp/80 for weblet to work<br>#<br>ACCEPT loc fw udp 53<br>ACCEPT loc fw tcp 80</pre>
|
<pre># Bering specific rules:<br># allow loc to fw udp/53 for dnscache to work<br># allow loc to fw tcp/80 for weblet to work<br>#<br>ACCEPT loc fw udp 53<br>ACCEPT loc fw tcp 80</pre>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<h3 align="left">Version 1.3.6 and 1.3.7</h3>
|
<h3 align="left">Version 1.3.6 and 1.3.7</h3>
|
||||||
|
|
||||||
<p align="left">If you have a pair of firewall systems configured for
|
<p align="left">If you have a pair of firewall systems configured for
|
||||||
failover or if you have asymmetric routing, you will need to modify
|
failover or if you have asymmetric routing, you will need to modify
|
||||||
your firewall setup slightly under Shorewall versions 1.3.6
|
your firewall setup slightly under Shorewall versions 1.3.6
|
||||||
and 1.3.7</p>
|
and 1.3.7</p>
|
||||||
|
|
||||||
<ol>
|
<ol>
|
||||||
<li>
|
<li>
|
||||||
|
|
||||||
<p align="left">Create the file /etc/shorewall/newnotsyn and in it add
|
<p align="left">Create the file /etc/shorewall/newnotsyn and in it add
|
||||||
the following rule<br>
|
the following rule<br>
|
||||||
<br>
|
<br>
|
||||||
<font face="Courier">run_iptables -A newnotsyn -j RETURN #
|
<font face="Courier">run_iptables -A newnotsyn -j RETURN
|
||||||
So that the connection tracking table can be rebuilt<br>
|
# So that the connection tracking table can be rebuilt<br>
|
||||||
# from non-SYN packets
|
# from non-SYN packets
|
||||||
after takeover.<br>
|
after takeover.<br>
|
||||||
</font> </p>
|
</font> </p>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<p align="left">Create /etc/shorewall/common (if you don't already
|
<p align="left">Create /etc/shorewall/common (if you don't already
|
||||||
have that file) and include the following:<br>
|
have that file) and include the following:<br>
|
||||||
<br>
|
<br>
|
||||||
<font face="Courier">run_iptables -A common -p tcp --tcp-flags
|
<font face="Courier">run_iptables -A common -p tcp --tcp-flags
|
||||||
ACK,FIN,RST ACK -j ACCEPT #Accept Acks to rebuild connection<br>
|
ACK,FIN,RST ACK -j ACCEPT #Accept Acks to rebuild connection<br>
|
||||||
|
|
||||||
#tracking table. <br>
|
#tracking table. <br>
|
||||||
. /etc/shorewall/common.def</font> </p>
|
. /etc/shorewall/common.def</font> </p>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
<h3 align="left">Versions >= 1.3.5</h3>
|
<h3 align="left">Versions >= 1.3.5</h3>
|
||||||
|
|
||||||
<p align="left">Some forms of pre-1.3.0 rules file syntax are no
|
<p align="left">Some forms of pre-1.3.0 rules file syntax are no
|
||||||
longer supported. </p>
|
longer supported. </p>
|
||||||
|
|
||||||
<p align="left">Example 1:</p>
|
<p align="left">Example 1:</p>
|
||||||
|
|
||||||
<div align="left">
|
<div align="left">
|
||||||
<pre> ACCEPT net loc:192.168.1.12:22 tcp 11111 - all</pre>
|
<pre> ACCEPT net loc:192.168.1.12:22 tcp 11111 - all</pre>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p align="left">Must be replaced with:</p>
|
<p align="left">Must be replaced with:</p>
|
||||||
|
|
||||||
<div align="left">
|
<div align="left">
|
||||||
<pre> DNAT net loc:192.168.1.12:22 tcp 11111</pre>
|
<pre> DNAT net loc:192.168.1.12:22 tcp 11111</pre>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div align="left">
|
<div align="left">
|
||||||
<p align="left">Example 2:</p>
|
<p align="left">Example 2:</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div align="left">
|
<div align="left">
|
||||||
<pre> ACCEPT loc fw::3128 tcp 80 - all</pre>
|
<pre> ACCEPT loc fw::3128 tcp 80 - all</pre>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div align="left">
|
<div align="left">
|
||||||
<p align="left">Must be replaced with:</p>
|
<p align="left">Must be replaced with:</p>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div align="left">
|
|
||||||
<pre> REDIRECT loc 3128 tcp 80</pre>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div align="left">
|
||||||
|
<pre> REDIRECT loc 3128 tcp 80</pre>
|
||||||
|
</div>
|
||||||
|
|
||||||
<h3 align="left">Version >= 1.3.2</h3>
|
<h3 align="left">Version >= 1.3.2</h3>
|
||||||
|
|
||||||
<p align="left">The functions and versions files together with the
|
<p align="left">The functions and versions files together with the
|
||||||
'firewall' symbolic link have moved from /etc/shorewall to /var/lib/shorewall.
|
'firewall' symbolic link have moved from /etc/shorewall to /var/lib/shorewall.
|
||||||
If you have applications that access these files, those applications
|
If you have applications that access these files, those applications
|
||||||
should be modified accordingly.</p>
|
should be modified accordingly.</p>
|
||||||
|
|
||||||
<p><font size="2"> Last updated 11/09/2002 -
|
<p><font size="2"> Last updated 1/25/2003 -
|
||||||
<a href="support.htm">Tom Eastep</a></font> </p>
|
<a href="support.htm">Tom Eastep</a></font> </p>
|
||||||
|
|
||||||
<p><font face="Trebuchet MS"><a href="copyright.htm"><font size="2">Copyright</font>
|
<p><font face="Trebuchet MS"><a href="copyright.htm"><font size="2">Copyright</font>
|
||||||
© <font size="2">2001, 2002 Thomas M. Eastep.</font></a></font><br>
|
© <font size="2">2001, 2002, 2003 Thomas M. Eastep.</font></a></font><br>
|
||||||
</p>
|
</p>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user