## Name

vardir — Shorewall file

## 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

## See ALSO

shorewall(8), shorewall-accounting(5), shorewall-actions(5), shorewall-blacklist(5), shorewall-hosts(5), shorewall_interfaces(5), shorewall-ipsets(5), shorewall-maclist(5), shorewall-masq(5), shorewall-nat(5), shorewall-netmap(5), shorewall-params(5), shorewall-policy(5), shorewall-providers(5), shorewall-proxyarp(5), shorewall-rtrules(5), shorewall-routestopped(5), shorewall-rules(5), shorewall.conf(5), shorewall-secmarks(5), shorewall-tcclasses(5), shorewall-tcdevices(5), shorewall-mangle(5), shorewall-tos(5), shorewall-tunnels(5), shorewall-zones(5)