2008-12-11 01:03:00 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2008-12-14 18:37:30 +01:00
|
|
|
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
|
2008-12-11 01:03:00 +01:00
|
|
|
<refentry>
|
|
|
|
<refmeta>
|
2008-12-14 18:37:30 +01:00
|
|
|
<refentrytitle>shorewall6-lite-vardir</refentrytitle>
|
2008-12-11 01:03:00 +01:00
|
|
|
|
|
|
|
<manvolnum>5</manvolnum>
|
2014-01-16 17:32:57 +01:00
|
|
|
|
|
|
|
<refmiscinfo>Configuration Files</refmiscinfo>
|
2008-12-11 01:03:00 +01:00
|
|
|
</refmeta>
|
|
|
|
|
|
|
|
<refnamediv>
|
|
|
|
<refname>vardir</refname>
|
|
|
|
|
2008-12-14 18:37:30 +01:00
|
|
|
<refpurpose>Shorewall6 Lite file</refpurpose>
|
2008-12-11 01:03:00 +01:00
|
|
|
</refnamediv>
|
|
|
|
|
|
|
|
<refsynopsisdiv>
|
|
|
|
<cmdsynopsis>
|
2008-12-14 18:37:30 +01:00
|
|
|
<command>/etc/shorewall6-lite/vardir</command>
|
2008-12-11 01:03:00 +01:00
|
|
|
</cmdsynopsis>
|
|
|
|
</refsynopsisdiv>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>Description</title>
|
|
|
|
|
|
|
|
<para>This file does not exist by default. You may create the file if you
|
2008-12-14 18:37:30 +01:00
|
|
|
want to change the directory used by Shorewall6 Lite to store state
|
2008-12-11 01:03:00 +01:00
|
|
|
information, including compiled firewall scripts. By default, the
|
2008-12-14 18:37:30 +01:00
|
|
|
directory used is <filename>/var/lib/shorewall6-lite/</filename>.</para>
|
2008-12-11 01:03:00 +01:00
|
|
|
|
|
|
|
<para>The file contains a single variable assignment:</para>
|
|
|
|
|
|
|
|
<para><option>VARDIR=</option><replaceable>directory</replaceable></para>
|
|
|
|
|
|
|
|
<para>where <replaceable>directory</replaceable> is the name of a
|
|
|
|
directory. If you add this file, you should copy the files from
|
2008-12-14 18:37:30 +01:00
|
|
|
<filename>/var/lib/shorewall6-lite</filename> to the new directory before
|
|
|
|
performing a <command>shorewall6-lite restart</command>.</para>
|
2012-04-05 17:03:31 +02:00
|
|
|
|
|
|
|
<note>
|
|
|
|
<para>Beginning with Shorewall 4.5.2, use of this file is deprecated in
|
|
|
|
favor of specifying VARDIR in the <filename>shorewallrc</filename> file
|
|
|
|
used during installation of Shorewall Core. While the name of the
|
|
|
|
variable remains VARDIR, the meaning is slightly different. When set in
|
|
|
|
shorewallrc, Shorewall6 Lite will create a directory under the specified
|
|
|
|
path name to hold state information.</para>
|
|
|
|
|
|
|
|
<para>Example:</para>
|
|
|
|
|
|
|
|
<blockquote>
|
|
|
|
<para>VARDIR=<filename>/opt/var/lib/</filename></para>
|
|
|
|
|
|
|
|
<para>The state directory for Shorewall Lite will be
|
|
|
|
<filename>/opt/var/lib/shorewall6-lite</filename>.</para>
|
|
|
|
</blockquote>
|
|
|
|
|
|
|
|
<para>When VARDIR is set in
|
|
|
|
<filename>/etc/shorewall6-lite/vardir</filename>, Shorewall Lite will
|
|
|
|
save its state in the <replaceable>directory</replaceable>
|
|
|
|
specified.</para>
|
|
|
|
</note>
|
2008-12-11 01:03:00 +01:00
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>Example</title>
|
|
|
|
|
2008-12-14 18:37:30 +01:00
|
|
|
<para>VARDIR=/root/shorewall6</para>
|
2008-12-11 01:03:00 +01:00
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>FILES</title>
|
|
|
|
|
2008-12-14 18:37:30 +01:00
|
|
|
<para>/etc/shorewall6-lite/vardir</para>
|
2008-12-11 01:03:00 +01:00
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>See ALSO</title>
|
|
|
|
|
2008-12-14 18:37:30 +01:00
|
|
|
<para>shorewall6(8), shorewall6-accounting(5), shorewall6-actions(5),
|
|
|
|
shorewall6-blacklist(5), shorewall6-hosts(5), shorewall6-interfaces(5),
|
|
|
|
shorewall6-maclist(5), shorewall6-params(5), shorewall6-policy(5),
|
|
|
|
shorewall6-providers(5), shorewall6-route_rules(5),
|
|
|
|
shorewall6-routestopped(5), shorewall6-rules(5), shorewall6.conf(5),
|
|
|
|
shorewall6-tcclasses(5), shorewall6-tcdevices(5), shorewall6-tcrules(5),
|
|
|
|
shorewall6-tos(5), shorewall6-tunnels(5), shorewall6-zones(5)</para>
|
2008-12-11 01:03:00 +01:00
|
|
|
</refsect1>
|
2008-12-14 18:37:30 +01:00
|
|
|
</refentry>
|