From 9a080d1e7d6eef9c7633597829c9299cd9c5af93 Mon Sep 17 00:00:00 2001 From: Jerry Jacobs Date: Fri, 5 Sep 2025 09:04:54 +0200 Subject: [PATCH] vault backup: 2025-09-05 09:04:54 --- .obsidian/plugins/novel-word-count/data.json | 16 ++++++------- 2025/durian.srv.xor-gate.org.md | 25 +++++++++++++++++++- 2 files changed, 32 insertions(+), 9 deletions(-) diff --git a/.obsidian/plugins/novel-word-count/data.json b/.obsidian/plugins/novel-word-count/data.json index 9ac1703..2ac5a9a 100644 --- a/.obsidian/plugins/novel-word-count/data.json +++ b/.obsidian/plugins/novel-word-count/data.json @@ -842,20 +842,20 @@ "isCountable": true, "targetNodeType": "file", "noteCount": 1, - "wordCount": 65, + "wordCount": 131, "wordCountTowardGoal": 0, "wordGoal": null, - "pageCount": 0.21666666666666667, - "characterCount": 662, - "nonWhitespaceCharacterCount": 559, - "newlineCount": 37, - "readingTimeInMinutes": 0.24528301886792453, + "pageCount": 0.43666666666666665, + "characterCount": 1210, + "nonWhitespaceCharacterCount": 1030, + "newlineCount": 52, + "readingTimeInMinutes": 0.49433962264150944, "linkCount": 0, "embedCount": 0, "aliases": null, "createdDate": 1756549019814, - "modifiedDate": 1757052818048, - "sizeInBytes": 662, + "modifiedDate": 1757053781468, + "sizeInBytes": 1210, "sessionStart": { "noteCount": 1, "pageCount": 0.19333333333333333, diff --git a/2025/durian.srv.xor-gate.org.md b/2025/durian.srv.xor-gate.org.md index b780893..f334f1d 100644 --- a/2025/durian.srv.xor-gate.org.md +++ b/2025/durian.srv.xor-gate.org.md @@ -9,7 +9,7 @@ * Iptables (native) * https://wiki.debian.org/iptables -* + ### IPv4 forwarding @@ -34,6 +34,29 @@ net.ipv4.conf.all.route_localnet = 1 See also: * https://serverfault.com/questions/551487/dnat-from-localhost-127-0-0-1 + +### Persistent IP tables + +* + +The rules you have set are temporary and will be lost on reboot. To make them permanent on Debian 13, you need to use the `iptables-persistent` package. + +First, install the package: + +``` +sudo apt-get update +sudo apt-get install iptables-persistent +``` + +During the installation, you will be prompted to save your current `iptables` rules. Make sure to confirm "Yes". If you are not prompted, you can manually save the rules with these commands: + +``` +sudo iptables-save | sudo tee /etc/iptables/rules.v4 +sudo ip6tables-save | sudo tee /etc/iptables/rules.v6 +``` + +The `iptables-persistent` service will automatically load these rules at startup. + ## VPN Wireguard