title: Linux Router
toc_enable: yes
breadcrumbs:
- title: Home
url: /
- title: Configuration Notes
url: /config/
- title: Network
---
{% include header.md %}
Using: Debian 10
Notes
- For high-performance routing:
- Disabling dynamic frequency and voltage scaling (Intel SpeedStep).
- Disabling multithreading (Intel Hyper-Threading).
- Enable IPv4 and IPv6 forwarding in
/etc/sysctl.conf
:
net.ipv4.ip_forward=1
net.ipv6.conf.all.forwarding=1
- Configure the firewall for forwarding traffic.
- Configure NAT.
- Setup bogon and RFC 1918 filtering.
- Verify source for stub networks.
- Setup DHCP servers for IPv4 and IPv6 (unless using IPv6 SLAAC).
- Setup a DNS server.
- Setup other servers, like NTP.
{% include footer.md %}