SHOREWALL6-LITE-VA(5)
π vardir β the Shorewall6 Lite file, bestie edition π
okay so this is the vardir page from the Shorewall6 Lite manual (section 5, configuration files, iykyk) β¨
πΈ SYNOPSIS πΈ
/etc/shorewall6-lite/vardir
β¨ DESCRIPTION β¨
so bestie, here's the tea: this file does not exist by default. it's giving optional. π you may create it if you wanna change the directory that Shorewall6 Lite uses to stash its state information β and yes, that includes the compiled firewall scripts. iconic.
by default, the directory it uses is:
/var/lib/shorewall6-lite/
the file holds exactly one single variable assignment:
VARDIR=directory
where directory is literally just the name of a directory. no cap.
π«Ά important lil heads up: if you add this file, you should copy the files from/var/lib/shorewall6-liteto the new directory before you do ashorewall6-lite restart. don't skip this step bestie, please. π
π Note π
beginning with Shorewall 4.5.2, using this file is deprecated π β it's been phased out in favor of specifying VARDIR in the shorewallrc file used during installation of Shorewall Core.
and the way that the variable name stays VARDIR but the meaning is slightly different?? yeah. when it's set in shorewallrc, Shorewall6 Lite will create a directory under the specified path name to hold state information.
Example:
VARDIR=/opt/var/lib/
then the state directory for Shorewall Lite will be:
/opt/var/lib/shorewall6-lite
β¨ versus β¨ when VARDIR is set in /etc/shorewall6-lite/vardir, Shorewall Lite will save its state in the directory specified β like, directly. no nesting, no extra folder. that's the difference, periodt. π
π EXAMPLE π
VARDIR=/root/shorewall6
π¦ FILES π¦
/etc/shorewall6-lite/vardir
π SEE ALSO π
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)
and that's the whole page bestie, you ate that π this one's from the Configuration Files manual, dated 09/24/2020, and its proper name is SHOREWALL6-LITE-VA(5) β mwah, go forth and configure responsibly πΈπ«Ά
π¦ where this page comes from
- debian bookworm: shorewall6-lite 5.2.8-2 Β· GPL-2.0-or-later
- debian trixie: shorewall6-lite 5.2.8-6 Β· GPL-2.0-or-later
- fedora 43: shorewall6-lite 5.2.8-17.fc43 Β· GPL-2.0-or-later
- fedora 44: shorewall6-lite 5.2.8-18.fc44 Β· GPL-2.0-or-later
- ubuntu noble: shorewall6-lite 5.2.8-5 Β· GPL-2.0-or-later
- ubuntu questing: shorewall6-lite 5.2.8-6
- ubuntu resolute: shorewall6-lite 5.2.8-6build1 Β· GPL-2.0-or-later
- ubuntu stonking: shorewall6-lite 5.2.8-6build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms