SHOREWALL6-LITE.C(5)
π SHOREWALL6-LITE.C(5) β the shorewall6-lite.conf glow-up π
okay bestie, so this is the manual page for shorewall6-lite.conf, from the Configuration Files section of the manual. yes it's giving "boring system file" but lowkey it's the main character of your whole IPv6 firewall setup, so let's get into it π«Ά
β¨ NAME β¨
shorewall6-lite.conf β the Shorewall6 Lite global configuration file. it's the one file that sets the vibe for everything πΈ
β¨ SYNOPSIS β¨
/etc/shorewall6-lite/shorewall6-lite.conf
that's it. that's the path. she lives there π
β¨ DESCRIPTION β¨
This file sets options that apply to Shorewall6 Lite as a whole. like, the whole entire thing. global queen energy π
The file consists of Shell comments (lines beginning with #), blank lines and assignment statements (variable=value). Each variable's setting is preceded by comments that describe the variable and it's effect. so like, the comments are literally right there telling you what's up β read them, bestie, they're free β¨
Any option not specified in this file gets its value from the shorewall6.conf file used during compilation of /var/lib/shorewall6-lite/firewall. Those settings may be found in the file /var/lib/shorewall6-lite/firewall.conf. so if you're like "wait why is this doing that" β that's where the default came from, no cap π
β¨ OPTIONS β¨
The following options may be set in shorewall6.conf.
IP6TABLES=[pathname]β This parameter names theip6tablesexecutable to be used by Shorewall6. If not specified or if specified as a null value, then theip6tablesexecutable located using thePATHoption is used. so like, tell her whichip6tablesto use, or she'll go find one herself π§LOGFILE=[pathname]β This parameter tells the/sbin/shorewall6program where to look for Shorewall6 messages when processing thedump,logwatch,show log, andhitscommands. If not assigned or if assigned an empty value,/var/log/messagesis assumed. default is that classic/var/log/messages, periodt πLOGFORMAT=["formattemplate"]β The value of this variable generate the--log-prefixsetting for Shorewall6 logging rules. It contains a βprintfβ formatting template which accepts three arguments (the chain name, logging rule number (optional) and the disposition). To useLOGFORMATwith fireparse, set it as:
LOGFORMAT="fp=%s:%d a=%s "
If the LOGFORMAT value contains the substring β%dβ then the logging rule number is calculated and formatted in that position; if that substring is not included then the rule number is not included. If not supplied or supplied as empty (LOGFORMAT="") then βShorewall6:%s:%s:β is assumed. so %d is the glow-up switch for "do we show the rule number or not" π₯
PATH=pathname[:pathname]...β Determines the order in which Shorewall6 searches directories for executable files. it's the search order, she's picky about it πRESTOREFILE=[filename]β Specifies the simple name of a file in/var/lib/shorewall6to be used as the default restore script in theshorewall6 save,shorewall6 restore,shorewall6 forgetandshorewall6 -f startcommands. simple name only, bestie β she knows where to look πSHOREWALL_SHELL=[pathname]β This option is used to specify the shell program to be used to interpret the compiled script. If not specified or specified as a null value,/bin/shis assumed. Using a light-weight shell such asashordashcan significantly improve performance. this is the "swap your shell, get free speed" hack and we are obsessed πβοΈπ¨SUBSYSLOCK=[pathname]β This parameter should be set to the name of a file that the firewall should create if it starts successfully and remove when it stops. Creating and removing this file allows Shorewall6 to work with your distribution's initscripts. For RedHat, this should be set to/var/lock/subsys/shorewall6. For Debian, the value is/var/state/shorewall6and in LEAF it is/var/run/shorewall. this is the "hey initscripts, she's alive" flag π©VERBOSITY=[number]β Shorewall6 has traditionally been very noisy (produced lots of output). You may set the default level of verbosity using theVERBOSITYOPTION. like, she used to talk A LOT. you can turn that down π
Values are:
0β Silent. You may make it more verbose using the-voption1β Major progress messages displayed2β All progress messages displayed (old default behavior)
If not specified, then 2 is assumed. so yeah, by default she's yapping, fr fr π£οΈ
β¨ FILES β¨
/etc/shorewall6-lite/shorewall6.conf
β¨ SEE ALSO β¨
- https://shorewall.org/Documentation_Index.html
shorewall6-lite(8),shorewall6-accounting(5),shorewall6-actions(5),shorewall6-blacklist(5),shorewall6-hosts(5),shorewall6-interfaces(5),shorewall6-ipsec(5),shorewall6-maclist(5),shorewall6-masq(5),shorewall6-nat(5),shorewall6-netmap(5),shorewall6-params(5),shorewall6-policy(5),shorewall6-providers(5),shorewall6-proxyarp(5),shorewall6-route_rules(5),shorewall6-routestopped(5),shorewall6-rules(5),shorewall6-tcclasses(5),shorewall6-tcdevices(5),shorewall6-tcrules(5),shorewall6-tos(5),shorewall6-tunnels(5),shorewall6-zones(5)
that's the whole reading list, bestie β go collect them all like they're limited edition πβ
and that's the page!! this one lives in the Configuration Files manual section, from version 09/24/2020, filed under the name SHOREWALL6-LITE.C(5). love her, read her, 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