diff --git a/network.md b/network.md index 53e1fde..a366fe4 100644 --- a/network.md +++ b/network.md @@ -5,13 +5,20 @@ This document holds network related notes. - [Network](#network) - [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) - [`nftables` configuration](#nftables-configuration) - [starting the routing system](#starting-the-routing-system) +## Linux Netfilter System + +Text pending. + +![Netfilter Hooks](./resources/network/nf-hooks.png) + + ## Enable routing 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)! > for an edge router you *absolutely need* to set up a reasonable firewall! diff --git a/resources/network/nf-hooks.png b/resources/network/nf-hooks.png new file mode 100644 index 0000000..92f98cf Binary files /dev/null and b/resources/network/nf-hooks.png differ