2007-07-08 22:39:31 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2010-07-19 23:45:05 +02:00
|
|
|
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
|
2007-07-08 22:39:31 +02:00
|
|
|
<refentry>
|
2007-07-08 23:53:14 +02:00
|
|
|
<refmeta>
|
|
|
|
<refentrytitle>shorewall-vardir</refentrytitle>
|
|
|
|
|
|
|
|
<manvolnum>5</manvolnum>
|
2014-01-16 17:32:57 +01:00
|
|
|
|
|
|
|
<refmiscinfo>Configuration Files</refmiscinfo>
|
2007-07-08 23:53:14 +02:00
|
|
|
</refmeta>
|
|
|
|
|
2007-07-08 22:39:31 +02:00
|
|
|
<refnamediv>
|
|
|
|
<refname>vardir</refname>
|
|
|
|
|
|
|
|
<refpurpose>Shorewall file</refpurpose>
|
|
|
|
</refnamediv>
|
|
|
|
|
|
|
|
<refsynopsisdiv>
|
|
|
|
<cmdsynopsis>
|
2017-06-17 00:01:41 +02:00
|
|
|
<command>/etc/shorewall[6]/vardir</command>
|
2007-07-08 22:39:31 +02:00
|
|
|
</cmdsynopsis>
|
|
|
|
</refsynopsisdiv>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>Description</title>
|
|
|
|
|
|
|
|
<para>This file does not exist by default. You may create the file if you
|
2007-07-09 21:39:28 +02:00
|
|
|
want to change the directory used by Shorewall to store state information,
|
|
|
|
including compiled firewall scripts. By default, the directory used is
|
2017-06-17 00:01:41 +02:00
|
|
|
<filename>/var/lib/shorewall/</filename> for IPv4 and /var/lib/shorewall6/
|
|
|
|
for IPv6</para>
|
2007-07-08 22:39:31 +02: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
|
2007-07-09 21:39:28 +02:00
|
|
|
<filename>/var/lib/shorewall</filename> to the new directory before
|
2007-07-08 22:44:04 +02:00
|
|
|
performing a <command>shorewall restart</command>.</para>
|
2007-07-08 22:39:31 +02:00
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>Example</title>
|
|
|
|
|
|
|
|
<para>VARDIR=/root/shorewall</para>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>FILES</title>
|
|
|
|
|
2007-07-08 23:33:01 +02:00
|
|
|
<para>/etc/shorewall/vardir</para>
|
2017-06-17 00:01:41 +02:00
|
|
|
|
|
|
|
<para>/etc/shorewall6/vardir</para>
|
2007-07-08 22:39:31 +02:00
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>See ALSO</title>
|
|
|
|
|
2017-06-17 02:11:43 +02:00
|
|
|
<para>shorewall(8)</para>
|
2007-07-08 22:39:31 +02:00
|
|
|
</refsect1>
|
2010-07-19 23:45:05 +02:00
|
|
|
</refentry>
|