1SHOREWALL-LITE-VAR(5) Configuration Files SHOREWALL-LITE-VAR(5)
2
3
4
6 vardir - Shorewall Lite file
7
9 /etc/shorewall-lite/vardir
10
12 This file does not exist by default. You may create the file if you
13 want to change the directory used by Shorewall Lite to store state
14 information, including compiled firewall scripts. By default, the
15 directory used is /var/lib/shorewall-lite/.
16
17 The file contains a single variable assignment:
18
19 VARDIR=directory
20
21 where directory is the name of a directory. If you add this file, you
22 should copy the files from /var/lib/shorewall-lite to the new directory
23 before performing a shorewall-lite restart.
24
25 Note
26 Beginning with Shorewall 4.5.2, use of this file is deprecated in
27 favor of specifying VARDIR in the shorewallrc file used during
28 installation of Shorewall Core. While the name of the variable
29 remains VARDIR, the meaning is slightly different. When set in
30 shorewallrc, Shorewall Lite, will create a directory under the
31 specified path name to hold state information.
32
33 Example:
34
35 VARDIR=/opt/var/lib/
36
37 The state directory for Shorewall Lite will be
38 /opt/var/lib/shorewall-lite/.
39
40 When VARDIR is set in /etc/shorewall-lite/vardir, Shorewall Lite
41 will save its state in the directory specified.
42
44 VARDIR=/root/shorewall
45
47 /etc/shorewall-lite/vardir
48
50 shorewall(8), shorewall-accounting(5), shorewall-actions(5),
51 shorewall-blacklist(5), shorewall-hosts(5), shorewall-interfaces(5),
52 shorewall-ipsec(5), shorewall-maclist(5), shorewall-masq(5),
53 shorewall-nat(5), shorewall-netmap(5), shorewall-params(5),
54 shorewall-policy(5), shorewall-providers(5), shorewall-proxyarp(5),
55 shorewall-route_rules(5), shorewall-routestopped(5),
56 shorewall-rules(5), shorewall.conf(5), shorewall-tcclasses(5),
57 shorewall-tcdevices(5), shorewall-tcrules(5), shorewall-tos(5),
58 shorewall-tunnels(5), shorewall-zones(5)
59
60
61
62Configuration Files 09/24/2020 SHOREWALL-LITE-VAR(5)