Your Linux Data Center Experts

fwrestart

Introduction

This program allows a safe restart of your system firewall and prevents it from starting back up if a rule is in place that will disrupt your current SSH connection. When reconfiguring your firewall it is important to not accidentally lock yourself out of the machine. Fwrestart allows a safe restart of the program by stopping the restart if a rule has been added that will block the current SSH connection.

Requirements

When reconfiguring your firewall it is important to not accidentally lock yourself out of the machine. Fwrestart allows a safe restart of the program by stopping the restart if a rule has been added that will block the current SSH connection. Fwrestart can be installed on RPM based systems such as CentOS and Fedora.

Features

Getting started

Download the most recent version of fwrestart using yum from the EPEL repository.

yum install fwrestart

Once installed, use fwrestart to restart your iptables firewall by invoking it from the command line. The output will look similar to the following:

[]# fwrestart
iptables: Flushing firewall rules:                         [  OK  ]
iptables: Setting chains to policy ACCEPT: filter          [  OK  ]
iptables: Unloading modules:                               [  OK  ]
iptables: Applying firewall rules:                         [  OK  ]

Download

License

DRBDLinks is released under the GPL version 2.

Copyright

DRBDLinks (source, binaries, report formats, documentation and all related matter) is copyright © 2004-2013 Sean Reifschneider, tummy.com, ltd.