fix(nft): wrap variable values in quotation marks

This is Inferencium convention in order to prevent value breakage due to
spaces and other special characters.
This commit is contained in:
inference 2025-07-02 03:58:54 +00:00
parent 2a09daf849
commit 167015976f
Signed by: inference
SSH Key Fingerprint: SHA256:/O3c09/4f1lh4zrhFs2qvQEDda6dZbTwG9xEcj8OfWo

View File

@ -2,7 +2,7 @@
# Inferencium - ZA-00-00 # Inferencium - ZA-00-00
# nftables - Configuration # nftables - Configuration
# Version: 1.0.0-beta.2 # Version: 1.0.0-beta.3
# Copyright 2025 Jake Winters # Copyright 2025 Jake Winters
# SPDX-License-Identifier: BSD-3-Clause # SPDX-License-Identifier: BSD-3-Clause
@ -12,30 +12,30 @@
## nftables path ## nftables path
nft="/usr/sbin/nft" nft="/usr/sbin/nft"
## Interface ## Interface
lan=enp16s0 lan="enp16s0"
wan=enp41s0 wan="enp41s0"
lan_net=10.0.0.0/24 lan_net="10.0.0.0/24"
## IP address - LAN ## IP address - LAN
xb_00_01=10.0.0.21 xb_00_01="10.0.0.21"
## IP address - WAN ## IP address - WAN
inf=185.241.226.159 inf="185.241.226.159"
## Port ## Port
ssh=22 ssh="22"
domain=53 domain="53"
domains=853 domains="853"
http=80 http="80"
https=443 https="443"
rtmp=1935 rtmp="1935"
xmpp0=3478 xmpp0="3478"
xmpp1=5222 xmpp1="5222"
xmpp_s2s=5269 xmpp_s2s="5269"
xmpp3=5349 xmpp3="5349"
xmpp_https=5443 xmpp_https="5443"
murmur=64738 murmur="64738"
wg=51820 wg="51820"
${nft} flush ruleset; ${nft} flush ruleset;