<< Back to man.ChinaUnix.net

Fallback and Uninstall

Tom Eastep

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover, and with no Back-Cover Texts. A copy of the license is included in the section entitled “GNU Free Documentation License”.

2005-09-16


Table of Contents

Falling Back to the Previous Version of Shorewall using the Fallback Script
Falling Back to the Previous Version of Shorewall using rpm
Uninstalling Shorewall

Falling Back to the Previous Version of Shorewall using the Fallback Script

If you install Shorewall and discover that it doesn't work for you, you can fall back to your previously installed version. To do that:

  • cd to the distribution directory for the version of Seattle Firewall that you are currently running (NOT the version that you want to fall back to).

  • Type “./fallback.sh

Caution

The fallback script will replace /etc/shorewall/policy, /etc/shorewall/rules, /etc/shorewall/interfaces, /etc/shorewall/nat, /etc/shorewall/proxyarp and /etc/shorewall/masq with the version of these files from before the current version was installed. Any changes to any of these files will be lost.

Falling Back to the Previous Version of Shorewall using rpm

If your previous version of Shorewall was installed using RPM, you may fall back to that version by typing “rpm -Uvh --force <old rpm>” at a root shell prompt (Example: “rpm -Uvh --force /downloads/shorewall-3.1.1-0.noarch.rpm” would fall back to the 3.1.1-0 version of Shorewall).

Uninstalling Shorewall

If you no longer wish to use Shorewall, you may remove it by:

  • cd to the distribution directory for the version of Shorewall that you have installed.

  • type “./uninstall.sh

If you installed using an rpm, at a root shell prompt type “rpm -e shorewall”.