Shorewall Installation and Upgrade

Before upgrading, be sure to review the Upgrade Issues

Install using RPM
Install using tarball
Upgrade using RPM
Upgrade using tarball
Configuring Shorewall
Uninstall/Fallback

To install Shorewall using the RPM:

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 1.2.4 either from the RedHat update site or from the Shorewall Errata page before attempting to start Shorewall.

To install Shorewall using the tarball and install script:

If you already have the Shorewall RPM installed and are upgrading to a new version:

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 the upgrade issues 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.

If you already have Shorewall installed and are upgrading to a new version using the tarball:

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 the upgrade issues 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.

Configuring Shorewall

You will need to edit some or all of these configuration files to match your setup. In most cases, the Shorewall QuickStart Guides contain all of the information you need.

Updated 10/28/2002 - Tom Eastep

Copyright © 2001, 2002 Thomas M. Eastep.