DOKK / manpages / debian 12 / shorewall / shorewall-vardir.5.en
SHOREWALL-VARDIR(5) Configuration Files SHOREWALL-VARDIR(5)

vardir - Shorewall file

/etc/shorewall[6]/vardir

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/ for IPv4 and /var/lib/shorewall6/ for IPv6

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.

VARDIR=/root/shorewall

/etc/shorewall/vardir

/etc/shorewall6/vardir

shorewall(8)

09/24/2020 Configuration Files