## Name

vardir — Shorewall6 file

## Synopsis

`/etc/shorewall6/vardir`

## Description

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

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

## Example

VARDIR=/root/shorewall6

## FILES

/etc/shorewall6/vardir

## See ALSO

shorewall6(8), shorewall6-accounting(5), shorewall6-actions(5), shorewall6-blacklist(5), shorewall6-hosts(5), shorewall6-interfaces(5), shorewall6-maclist(5), shorewall6-netmap(5),shorewall6-params(5), shorewall6-policy(5), shorewall6-providers(5), shorewall6-rtrules(5), shorewall6-routestopped(5), shorewall6-rules(5), shorewall6.conf(5), shorewall6-secmarks(5), shorewall6-tcclasses(5), shorewall6-tcdevices(5), shorewall6-mangle(5), shorewall6-tos(5), shorewall6-tunnels(5), shorewall6-zones(5)