<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>shorewall-lite-vardir</title><link rel="stylesheet" href="html.css" type="text/css" /><meta name="generator" content="DocBook XSL Stylesheets V1.73.2" /></head><body><div class="refentry" lang="en" xml:lang="en"><a id="id257171"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>vardir — Shorewall Lite file</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">/etc/shorewall-lite/vardir</code> </p></div></div><div class="refsect1" lang="en" xml:lang="en"><a id="id257202"></a><h2>Description</h2><p>This file does not exist by default. You may create the file if you want to change the directory used by Shorewall Lite to store state information, including compiled firewall scripts. By default, the directory used is <code class="filename">/var/lib/shorewall-lite/</code>.</p><p>The file contains a single variable assignment:</p><p><code class="option">VARDIR=</code><em class="replaceable"><code>directory</code></em></p><p>where <em class="replaceable"><code>directory</code></em> is the name of a directory. If you add this file, you should copy the files from <code class="filename">/var/lib/shorewall-lite</code> to the new directory before performing a <span class="command"><strong>shorewall-lite restart</strong></span>.</p></div><div class="refsect1" lang="en" xml:lang="en"><a id="id257240"></a><h2>Example</h2><p>VARDIR=/root/shorewall</p></div><div class="refsect1" lang="en" xml:lang="en"><a id="id257249"></a><h2>FILES</h2><p>/etc/shorewall-lite/vardir</p></div><div class="refsect1" lang="en" xml:lang="en"><a id="id257259"></a><h2>See ALSO</h2><p>shorewall(8), shorewall-accounting(5), shorewall-actions(5), shorewall-blacklist(5), shorewall-hosts(5), shorewall-interfaces(5), shorewall-ipsec(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-route_rules(5), shorewall-routestopped(5), shorewall-rules(5), shorewall.conf(5), shorewall-tcclasses(5), shorewall-tcdevices(5), shorewall-tcrules(5), shorewall-tos(5), shorewall-tunnels(5), shorewall-zones(5)</p></div></div></body></html>