shorewall-lite-vardir(5)

shorewall-lite-vardir5

Shorewall lite file

Usage

/etc/shorewall-lite/vardir

Overview

This file does not exist by default. You may create the file if you want to change the directory used by Shorewall Lite to store state information, including compiled firewall scripts. By default, the directory used is /var/lib/shorewall-lite/.

The file contains a single variable assignment:

VARDIR=directory

where directory is the name of a directory. If you add this file, you should copy the files from /var/lib/shorewall-lite to the new directory before performing a shorewall-lite restart.

Note

Beginning with Shorewall 4.5.2, use of this file is deprecated in favor of specifying VARDIR in the shorewallrc file used during installation of Shorewall Core. While the name of the variable remains VARDIR, the meaning is slightly different. When set in shorewallrc, Shorewall Lite, will create a directory under the specified path name to hold state information.

Example:

VARDIR=/opt/var/lib/

The state directory for Shorewall Lite will be /opt/var/lib/shorewall-lite/.

When VARDIR is set in /etc/shorewall-lite/vardir, Shorewall Lite will save its state in the directory specified.

Examples

VARDIR=/root/shorewall

Files

/etc/shorewall-lite/vardir

Releases

9 releases since Debian 5.0 (Lenny); the text changed 6 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10–11
  7. 12–13

From shorewall-lite 5.2.8-6 in Debian 13 (Trixie). Parsed by carta from the page's man source.