(network) added graphics detailing netfilter hooks

This commit is contained in:
quak
2026-03-15 10:29:08 +01:00
parent f47acb9afe
commit d26a3cdab7
2 changed files with 9 additions and 2 deletions

View File

@@ -5,13 +5,20 @@ This document holds network related notes.
<!--toc:start--> <!--toc:start-->
- [Network](#network) - [Network](#network)
- [Enable routing](#enable-routing) - [Enable routing](#enable-routing)
- [Create local network with dhcp/dns](#create-local-network-with-dhcpdns) - [Creating a local network with dhcp/dns](#creating-a-local-network-with-dhcpdns)
- [`dnsmasq` configuration](#dnsmasq-configuration) - [`dnsmasq` configuration](#dnsmasq-configuration)
- [`nftables` configuration](#nftables-configuration) - [`nftables` configuration](#nftables-configuration)
- [starting the routing system](#starting-the-routing-system) - [starting the routing system](#starting-the-routing-system)
<!--toc:end--> <!--toc:end-->
## Linux Netfilter System
Text pending.
![Netfilter Hooks](./resources/network/nf-hooks.png)
## Enable routing ## Enable routing
To enable routing **temporarily** use the following command: To enable routing **temporarily** use the following command:
@@ -27,7 +34,7 @@ net.ipv4.ip_forward=1
``` ```
## Create local network with dhcp/dns ## Creating a local network with dhcp/dns
> **WARNING:** do not use this configuration for an edge router (directly connected to the internet/isp)! > **WARNING:** do not use this configuration for an edge router (directly connected to the internet/isp)!
> for an edge router you *absolutely need* to set up a reasonable firewall! > for an edge router you *absolutely need* to set up a reasonable firewall!

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB