SYNOPSIS

/etc/shorewall/vardir

DESCRIPTION

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

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 to the new directory before performing a shorewall restart.

EXAMPLE

VARDIR=/root/shorewall

FILES

/etc/shorewall/vardir

RELATED TO shorewall-vardir…