<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.kptree.net/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.kptree.net/feed.php">
        <title>KPTree Wiki - linux_router</title>
        <description></description>
        <link>https://wiki.kptree.net/</link>
        <image rdf:resource="https://wiki.kptree.net/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-04-12T22:42:56+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=linux_router:background&amp;rev=1757847620&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=linux_router:dns_dhcp&amp;rev=1734233746&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=linux_router:hardware&amp;rev=1758360901&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=linux_router:ipoe&amp;rev=1735987016&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=linux_router:iptables&amp;rev=1734229861&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=linux_router:misc&amp;rev=1760421555&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=linux_router:netfilter&amp;rev=1719105097&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=linux_router:network&amp;rev=1764500119&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=linux_router:nftables&amp;rev=1740900680&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=linux_router:nftables_control&amp;rev=1682847793&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=linux_router:ppp&amp;rev=1726920633&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=linux_router:qemu&amp;rev=1741426130&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=linux_router:start&amp;rev=1741426205&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=linux_router:tc&amp;rev=1719101663&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=linux_router:ubuntu&amp;rev=1747901253&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=linux_router:wifi&amp;rev=1769857432&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=linux_router:wireguard&amp;rev=1748092165&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.kptree.net/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>KPTree Wiki</title>
        <link>https://wiki.kptree.net/</link>
        <url>https://wiki.kptree.net/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=linux_router:background&amp;rev=1757847620&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-09-14T11:00:20+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Linux Router Background</title>
        <link>https://wiki.kptree.net/doku.php?id=linux_router:background&amp;rev=1757847620&amp;do=diff</link>
        <description>linux router 4g lte mobile

Linux Router Background

I have had the router hardware for about 7 years now, as of June 2023. It took me nearly 18 months to set up as primary home router on bare metal, with DNS and DHCP. I got Wireguard up and running a year ago.  I have some basic monitoring software running, darkstat and glances. I have not bothered to setup VMs or containers, it all runs bare metal. I managed to use</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=linux_router:dns_dhcp&amp;rev=1734233746&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-12-15T03:35:46+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>DHCP / DNS Setup</title>
        <link>https://wiki.kptree.net/doku.php?id=linux_router:dns_dhcp&amp;rev=1734233746&amp;do=diff</link>
        <description>linux router dns dhcp bind ip ipv6 radvd host dig nslookup

DHCP / DNS Setup

Outdated

I have moved my DNS and DHCP servers to Docker, Docker-DNS Server.  I am still using ISC_Bind9, but am now using ISC_Kea for DHCP as ISC_Bind is no longer supported as of 2022.

tl;dr;

Further to this I am not looking at backups for both these services on my local area network.  Whilst these services worked reliably well, when ever I shutdown the the router with</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=linux_router:hardware&amp;rev=1758360901&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-09-20T09:35:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Router Hardware</title>
        <link>https://wiki.kptree.net/doku.php?id=linux_router:hardware&amp;rev=1758360901&amp;do=diff</link>
        <description>linux router hardware

Router Hardware

ikoolcore-r2-max

(Dec 2024) The Supermicro SYS-E200-9B has stopped working.  It posts bios, but will not boot further.  I suspect hardware failure of some sort.  The BMC failed a few years ago.  I have ordered a replacement ikoolcore-r2-max.  The replacement comes with 2.5Gb/s and 10GB/s NICs and a more modern and faster 8 core</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=linux_router:ipoe&amp;rev=1735987016&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-04T10:36:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ISP IPoE DHCP Setup Notes</title>
        <link>https://wiki.kptree.net/doku.php?id=linux_router:ipoe&amp;rev=1735987016&amp;do=diff</link>
        <description>linux router bridged modem isp ipoe mtu dns dhcp

ISP IPoE DHCP Setup Notes

Notes on Setting up a Linux router for IPoE DHCP.

old, tldr;

After a few years of reasonable successful use of bridged VDSL modem with Linux Router running pppoe and nftables my ISP informed me that they do not use authentication on the connection with username and password. In fact they mention they used dhcp IPoE as well as PPPoE.  I set up my spare modem as they described and it worked straight way. When I tried my…</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=linux_router:iptables&amp;rev=1734229861&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-12-15T02:31:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>IPTables Configuration</title>
        <link>https://wiki.kptree.net/doku.php?id=linux_router:iptables&amp;rev=1734229861&amp;do=diff</link>
        <description>linux router firewall iptables

IPTables Configuration

Having delved into IPtables and NFtables about the same time, my feelings are that NFTables is generally superior in just about every way,  I can not be bothered explaining this, this is just my experience and feeling.  I would preferentially use NFTables over IPtables where I have a choice.  Unfortunately some software still uses IPtables, e.g. Docker.  So it is good to be able to be sufficiently fluent and be able to work in both at this …</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=linux_router:misc&amp;rev=1760421555&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-10-14T05:59:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Router Miscellaneous</title>
        <link>https://wiki.kptree.net/doku.php?id=linux_router:misc&amp;rev=1760421555&amp;do=diff</link>
        <description>linux router monitor links darkstat glances ntopng iftop nethogs

Router Miscellaneous

Monitoring

There are a number of linux monitoring packages available. See these links for more examples see, 13 Linux Performance Monitoring Tools – Part 2, and 30 Linux System Monitoring Tools Every SysAdmin Should Know. Below are a few that I have tried and use.

iftop

iftop - display bandwidth usage on an interface by host

Use</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=linux_router:netfilter&amp;rev=1719105097&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-06-23T01:11:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Basic Netfilter Function Block Diagram</title>
        <link>https://wiki.kptree.net/doku.php?id=linux_router:netfilter&amp;rev=1719105097&amp;do=diff</link>
        <description>linux router mtu netfilter

Basic Netfilter Function Block Diagram

Both NFTables and IPTables use the Netfilter framework provided in the Linux kernal. NFtables was implemented to supersede IPTables, which due to the widespread use of IPTables, will probably take a long time.




The following is a basic block diagram of the Netfilter Filter and NAT (Network Address Translation) functions, which are the basic requirements for router.

       Incoming
       Packets
          |
    ┌────────────…</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=linux_router:network&amp;rev=1764500119&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-11-30T10:55:19+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Debian Server Network Setup</title>
        <link>https://wiki.kptree.net/doku.php?id=linux_router:network&amp;rev=1764500119&amp;do=diff</link>
        <description>linux debian ubuntu router network netplan interface vlan ipv6 ip

Debian Server Network Setup

Debian Network - Server Interface Setup

As of Debian 10 (Buster) Debian still by default uses this interface Setup.  It can be setup to use netplan inface.


Ubuntu (as of version 14.04) defaults to Predictable Network Interface Names, also see Systemd Docs. I have no problem with this. In any case, you should always check dev names and not assume names, such as</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=linux_router:nftables&amp;rev=1740900680&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-03-02T07:31:20+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>NFTables Configuration</title>
        <link>https://wiki.kptree.net/doku.php?id=linux_router:nftables&amp;rev=1740900680&amp;do=diff</link>
        <description>linux router nftables firewall

NFTables Configuration

The best reference for nftables is at the dedicated wiki wiki nftables. Some other references I found nftables router. The reference at stosb is good, but not for a router Explaining My Configs: nftables. Nftables Cheatsheet

After a lot of experimenting the following is my NFTables router configuration file. Create the following file called:</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=linux_router:nftables_control&amp;rev=1682847793&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-04-30T09:43:13+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>NFTables IP Control</title>
        <link>https://wiki.kptree.net/doku.php?id=linux_router:nftables_control&amp;rev=1682847793&amp;do=diff</link>
        <description>linux nft nftables nmap

NFTables IP Control

I primarily set this feature up to act as a form of parental control on my home internet access.  

Disable Range of IP addresses, with count-down timer

The DHCP assigned addresses in the range 100 - 254 were to be disabled (dropped) in the evening. The addresses below 100 were assigned a specific IP address in the DHCP based upon  MAC.</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=linux_router:ppp&amp;rev=1726920633&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-09-21T12:10:33+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ISP PPPoE Network Setup</title>
        <link>https://wiki.kptree.net/doku.php?id=linux_router:ppp&amp;rev=1726920633&amp;do=diff</link>
        <description>linux router pppoe pppoed isp mtu dns dhcp

ISP PPPoE Network Setup

A reasonably comprehensive discussion on Ubuntu forums Setup Ubuntu Server as a router using a PPPoE connection, MTU and TCP MSS when using PPPoE. Also from Ubuntu forums How to Optimize your Internet Connection using MTU and RWIN. Ubuntu documentation ADSLPPPoE. PPPD manual page.

Another reference is Confirm Blog Using PPPoE on Linux.

Some other references:

	*  Connecting to NBN HFC with a linux router] Internode router set…</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=linux_router:qemu&amp;rev=1741426130&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-03-08T09:28:50+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Router VM</title>
        <link>https://wiki.kptree.net/doku.php?id=linux_router:qemu&amp;rev=1741426130&amp;do=diff</link>
        <description>linux router vm

Router VM

I have just decided to play with installing VM (virtual machines) on my Router hardware (2023-01).  I have been reluctant to do this for a number of reasons.  My separate listing for Router Hardware.  Basically the machine is a bit old slow and under powered, but still adequate for what it does.  I do not run a desktop on this machine, CLI (Command Line Interface only).  The main services I am currently running on this machine are, all bare metal:</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=linux_router:start&amp;rev=1741426205&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-03-08T09:30:05+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Linux Router Setup Notes - Index</title>
        <link>https://wiki.kptree.net/doku.php?id=linux_router:start&amp;rev=1741426205&amp;do=diff</link>
        <description>Linux Router Setup Notes - Index

router index
Linux Router Setup Notes - IndexStart page next page</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=linux_router:tc&amp;rev=1719101663&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-06-23T00:14:23+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>TC - Traffic Control</title>
        <link>https://wiki.kptree.net/doku.php?id=linux_router:tc&amp;rev=1719101663&amp;do=diff</link>
        <description>linux router tc traffic control

TC - Traffic Control

The Linux kernel&#039;s network stack has network traffic control and shaping features. The iproute2 package installs the tc command to control these via the command line.

Queuing controls how data is sent; receiving data is much more reactive with fewer network-oriented controls. However, since TCP/IP packets are sent using a slow start the system starts sending the packets slow and keeps sending them faster and faster until packets start getti…</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=linux_router:ubuntu&amp;rev=1747901253&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-05-22T08:07:33+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Router Configuration, Switch &amp; Server Setup</title>
        <link>https://wiki.kptree.net/doku.php?id=linux_router:ubuntu&amp;rev=1747901253&amp;do=diff</link>
        <description>linux router router_configuration setup debian ubuntu snap snaps switch network

Router Configuration, Switch &amp; Server Setup

Router Configuration

[DRAFT]
A router performs the following key features:

	*  A gateway between different network areas
		*  Restrict network traffic
		*  Forward Network traffic
		*  Track network traffic, allows traffic incoming only if response to out going (one way traffic) This is primary firewall action and primary security action! This is often confused with NAT…</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=linux_router:wifi&amp;rev=1769857432&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-01-31T11:03:52+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Wifi Router / Access Points</title>
        <link>https://wiki.kptree.net/doku.php?id=linux_router:wifi&amp;rev=1769857432&amp;do=diff</link>
        <description>linux router wifi wifi_router access_point

Wifi Router / Access Points

I prefer to run higher quality wifi access points (AP) than the all in one type routers.   My current router is X86 based running Linux Nftables on bare metal and Bind9 and Kea as well as some other services in Docker on a VM.</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=linux_router:wireguard&amp;rev=1748092165&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-05-24T13:09:25+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Wireguard VPN access from WAN to LAN</title>
        <link>https://wiki.kptree.net/doku.php?id=linux_router:wireguard&amp;rev=1748092165&amp;do=diff</link>
        <description>linux router vpn wireguard docker qr_code qr

Wireguard VPN access from WAN to LAN

I use a Docker instance for my Wireguard server now.

I use 2 forms of vpn (virtual private network) on my home server.

	*  VPN to gain remote secure private access to my home LAN from the WAN (internet). This is the one I am describing here.</description>
    </item>
</rdf:RDF>
