(network) added graphics detailing netfilter hooks
This commit is contained in:
11
network.md
11
network.md
@@ -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.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
## 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!
|
||||||
|
|||||||
BIN
resources/network/nf-hooks.png
Normal file
BIN
resources/network/nf-hooks.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 83 KiB |
Reference in New Issue
Block a user