Talk:Home router

NAT and PPPoE
I encounter problems with the NAT and PPPoE, some request responses never finished or loaded endless.

My solution was to fix the MTU with following rule:

root # iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu

just before:

root # iptables -I FORWARD -i ${LAN} -d 192.168.0.0/255.255.0.0 -j DROP

root # iptables -A FORWARD -i ${LAN} -s 192.168.0.0/255.255.0.0 -j ACCEPT

root # iptables -A FORWARD -i ${WAN} -d 192.168.0.0/255.255.0.0 -j ACCEPT

root # iptables -t nat -A POSTROUTING -o ${WAN} -j MASQUERADE


 * This exists in the troubleshooting section with MTU. --Grknight (talk) 13:49, 8 November 2018 (UTC)

Update supported kernels
This guide only supports ancient Linux kernels (2.4/2.6): "Router is running Linux 2.4 or 2.6; other versions of the kernel are not supported by this guide"

Someone with appropriate knowledge (not me, unfortunately...) should update the guide and use the latest kernels available.

--Fturco (talk) 09:59, 21 March 2017 (UTC)


 * I will work on updating it. Should not be too bad, there are not very many options in this article. --Maffblaster (talk) 00:30, 15 April 2017 (UTC)


 * Looks to not have such references. Closing --Grknight (talk) 13:42, 8 November 2018 (UTC)

Basic router setup script
While reading this guide I decided to put the fundamental parts in a bash script. In case it is useful to someone I post it below. Note: this script misses several things, most notably the hostapd configuration in case a WLAN interface is used. It makes several assumptions regarding networks. Also, my knowledge of Gentoo and OpenRC is not exhaustive.

Notes on rtl8723be
There are two problems i encountered this driver: Both were solved with a  kernel, instead of   or   and the two options:
 * bad signal
 * working but not

Note: The second error was systemic, occuring after a reboot or a long idle time (no clients).

--Daemon (talk) 04:26, 14 January 2019 (UTC)

Page update/overhaul
It might be worth updating/overhauling this page, specifically


 * Kernels 2.4 and 2.6 are long outdated/gone


 * systemd setup for those interested


 * Swap DNSMASq for ISC DHCP and [BIND] as they're a bit more full-featured


 * Swap out IPtables for NFtables perhaps?


 * Add some more "router-like" functionality like UPnP


 * Maybe VPN using Wireguard or OpenVPN?

If nobody wants to tackle this, I'd be happy to do it when I have some time free to replace my existing router (PFsense)

--Intelminer (talk) 18:18, 11 July 2019 (UTC)