vault backup: 2025-09-05 09:04:54
This commit is contained in:
parent
894a381f6d
commit
9a080d1e7d
|
|
@ -842,20 +842,20 @@
|
||||||
"isCountable": true,
|
"isCountable": true,
|
||||||
"targetNodeType": "file",
|
"targetNodeType": "file",
|
||||||
"noteCount": 1,
|
"noteCount": 1,
|
||||||
"wordCount": 65,
|
"wordCount": 131,
|
||||||
"wordCountTowardGoal": 0,
|
"wordCountTowardGoal": 0,
|
||||||
"wordGoal": null,
|
"wordGoal": null,
|
||||||
"pageCount": 0.21666666666666667,
|
"pageCount": 0.43666666666666665,
|
||||||
"characterCount": 662,
|
"characterCount": 1210,
|
||||||
"nonWhitespaceCharacterCount": 559,
|
"nonWhitespaceCharacterCount": 1030,
|
||||||
"newlineCount": 37,
|
"newlineCount": 52,
|
||||||
"readingTimeInMinutes": 0.24528301886792453,
|
"readingTimeInMinutes": 0.49433962264150944,
|
||||||
"linkCount": 0,
|
"linkCount": 0,
|
||||||
"embedCount": 0,
|
"embedCount": 0,
|
||||||
"aliases": null,
|
"aliases": null,
|
||||||
"createdDate": 1756549019814,
|
"createdDate": 1756549019814,
|
||||||
"modifiedDate": 1757052818048,
|
"modifiedDate": 1757053781468,
|
||||||
"sizeInBytes": 662,
|
"sizeInBytes": 1210,
|
||||||
"sessionStart": {
|
"sessionStart": {
|
||||||
"noteCount": 1,
|
"noteCount": 1,
|
||||||
"pageCount": 0.19333333333333333,
|
"pageCount": 0.19333333333333333,
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
* Iptables (native)
|
* Iptables (native)
|
||||||
* https://wiki.debian.org/iptables
|
* https://wiki.debian.org/iptables
|
||||||
* <https://packages.debian.org/trixie/iptables-persistent>
|
|
||||||
|
|
||||||
### IPv4 forwarding
|
### IPv4 forwarding
|
||||||
|
|
||||||
|
|
@ -34,6 +34,29 @@ net.ipv4.conf.all.route_localnet = 1
|
||||||
|
|
||||||
See also:
|
See also:
|
||||||
* https://serverfault.com/questions/551487/dnat-from-localhost-127-0-0-1
|
* https://serverfault.com/questions/551487/dnat-from-localhost-127-0-0-1
|
||||||
|
|
||||||
|
### Persistent IP tables
|
||||||
|
|
||||||
|
* <https://packages.debian.org/trixie/iptables-persistent>
|
||||||
|
|
||||||
|
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
|
## VPN
|
||||||
|
|
||||||
Wireguard
|
Wireguard
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue