SHOREWALL-VARDIR(5)
π SHOREWALL-VARDIR π
okay bestie, so this is SHOREWALL-VARDIR(5) β a lil page from the Configuration Files section of the manual. sit down, grab a boba, and let's talk about where Shorewall keeps its stuff π
β¨ NAME β¨
vardir β it's a Shorewall file, that's the whole vibe π¦
β¨ SYNOPSIS β¨
/etc/shorewall[6]/vardir
β¨ DESCRIPTION β¨
okay so first thing's first: this file does not exist by default. like, it's not there. it's giving "you have to manifest it" β¨
You may create the file if you want to change the directory used by Shorewall to store state information β and yes, that includes the compiled firewall scripts, the whole thing π«Ά
By default, the directory used is:
/var/lib/shorewall/for IPv4/var/lib/shorewall6/for IPv6
The file contains a single variable assignment:
VARDIR=directory
where directory is the name of a directory. that's it. one line. main character energy honestly π
β οΈ okay so listen: if you add this file, you should copy the files from/var/lib/shorewallto the new directory before performing ashorewall restart. do not skip this step bestie, i'm begging π
β¨ EXAMPLE β¨
VARDIR=/root/shorewall
look at her go π§
β¨ FILES β¨
/etc/shorewall/vardir/etc/shorewall6/vardir
β¨ SEE ALSO β¨
that's the whole page fr fr π it came from the Configuration Files manual, version SHOREWALL-VARDIR(5), dated 09/24/2020 β slay, iconic, no notes ππβ
π¦ where this page comes from
- alpine 3.22: shorewall-doc 5.2.8-r1 Β· GPL-2.0-or-later
- alpine 3.23: shorewall-doc 5.2.8-r1 Β· GPL-2.0-or-later
- alpine 3.24: shorewall-doc 5.2.8-r1 Β· GPL-2.0-or-later
- debian bookworm: shorewall 5.2.8-2 Β· GPL-2.0-or-later
- debian trixie: shorewall 5.2.8-6 Β· GPL-2.0-or-later
- fedora 43: shorewall 5.2.8-17.fc43 Β· GPL-2.0-or-later
- fedora 44: shorewall 5.2.8-18.fc44 Β· GPL-2.0-or-later
- nixos 26.05: shorewall 5.2.8
- nixpkgs unstable: shorewall 5.2.8
- ubuntu noble: shorewall 5.2.8-5 Β· GPL-2.0-or-later
- ubuntu questing: shorewall 5.2.8-6
- ubuntu resolute: shorewall 5.2.8-6build1 Β· GPL-2.0-or-later
- ubuntu stonking: shorewall 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