<?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</title>
        <description></description>
        <link>https://wiki.kptree.net/</link>
        <image rdf:resource="https://wiki.kptree.net/_media/wiki:dokuwiki.svg" />
       <dc:date>2026-09-12T22:33:23+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.kptree.net/linux_router:nftables?rev=1740900680&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/linux_router:hardware?rev=1782001578&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/linux_router:background?rev=1777191366&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/linux_router:network?rev=1764500119&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/linux_router:wireguard?rev=1748092165&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/linux_router:ppp?rev=1726920633&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/linux_router:nftables_control?rev=1642304220&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/linux_router:misc?rev=1760421555&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/linux_router:dns_dhcp?rev=1734233746&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/linux_router:netfilter?rev=1719105097&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.kptree.net/_media/wiki:dokuwiki.svg">
        <title>KPTree Wiki</title>
        <link>https://wiki.kptree.net/</link>
        <url>https://wiki.kptree.net/_media/wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://wiki.kptree.net/linux_router:nftables?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/linux_router:nftables?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/linux_router:hardware?rev=1782001578&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-06-21T00:26:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Router Hardware</title>
        <link>https://wiki.kptree.net/linux_router:hardware?rev=1782001578&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/linux_router:background?rev=1777191366&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-04-26T08:16:06+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Linux Router Background</title>
        <link>https://wiki.kptree.net/linux_router:background?rev=1777191366&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/linux_router:network?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/linux_router:network?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/linux_router:wireguard?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/linux_router:wireguard?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>
    <item rdf:about="https://wiki.kptree.net/linux_router:ppp?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/linux_router:ppp?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/linux_router:nftables_control?rev=1642304220&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-16T03:37:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>NFTables IP Control</title>
        <link>https://wiki.kptree.net/linux_router:nftables_control?rev=1642304220&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/linux_router:misc?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/linux_router:misc?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/linux_router:dns_dhcp?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/linux_router:dns_dhcp?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/linux_router:netfilter?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/linux_router:netfilter?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>
</rdf:RDF>
