'\" t .\" Title: shorewall-vardir .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: 09/24/2020 .\" Manual: Configuration Files .\" Source: Configuration Files .\" Language: English .\" .TH "SHOREWALL\-VARDIR" "5" "09/24/2020" "Configuration Files" "Configuration Files" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" vardir \- Shorewall file .SH "SYNOPSIS" .HP \w'\fB/etc/shorewall[6]/vardir\fR\ 'u \fB/etc/shorewall[6]/vardir\fR .SH "DESCRIPTION" .PP 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 .PP The file contains a single variable assignment: .PP \fBVARDIR=\fR\fIdirectory\fR .PP where \fIdirectory\fR 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 \fBshorewall restart\fR\&. .SH "EXAMPLE" .PP VARDIR=/root/shorewall .SH "FILES" .PP /etc/shorewall/vardir .PP /etc/shorewall6/vardir .SH "SEE ALSO" .PP shorewall(8)