(networking) added sample config for dnsmasq and note on how to enable

routing
This commit is contained in:
scbj
2025-11-14 16:23:59 +01:00
parent f359b3dd6e
commit 1c0014ce40
2 changed files with 81 additions and 0 deletions

22
network.md Normal file
View File

@@ -0,0 +1,22 @@
# network
This document holds network related notes.
<!--toc:start-->
- [network](#network)
- [enable routing](#enable-routing)
<!--toc:end-->
## enable routing
To enable routing permanently add a file `/etc/sysctl.d/` with the following contents:
```ini
net.ipv4.ip_forward=1
```
## simple gateway with nftables
> **WARNING:** do not use this configuration for an edge router (directly connected to the internet/isp)!