<?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/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-06-04T18:56:55+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=docker_notes:nginx-php-notes&amp;rev=1762648276&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=home_server:home_server_setup:other_services:vim&amp;rev=1711260280&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:misc&amp;rev=1759124159&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=docker_notes:docker-mailserver&amp;rev=1755344352&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:snapraid&amp;rev=1772716852&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=docker_notes:docker-nextcloud&amp;rev=1775227395&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:back-up_server_old&amp;rev=1735865746&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=docker_notes:turnserver&amp;rev=1740893696&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=home_server:web_server_setup&amp;rev=1733541215&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=project:surge_protector&amp;rev=1766966776&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=tech_notes:dns&amp;rev=1754709083&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:network_setup&amp;rev=1755390424&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:bash&amp;rev=1763783897&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:rsync&amp;rev=1769870083&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=docker_notes:diun-ntfy&amp;rev=1733484956&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=docker_notes:docker&amp;rev=1768611790&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=docker_notes:fileshare&amp;rev=1736047559&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:wireguard&amp;rev=1748092165&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=personal:recipes&amp;rev=1759109345&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=project:ethernet&amp;rev=1766929100&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=project:home_solar_bess&amp;rev=1767952162&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=project:sprinklers&amp;rev=1724488058&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:aptcache&amp;rev=1682847793&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:samba&amp;rev=1682847793&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=docker_notes:docker-reverse-proxy&amp;rev=1736211611&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=docker_notes:hoarder&amp;rev=1746938416&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=docker_notes:vm-container&amp;rev=1766458124&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=home_server:dokuwiki_setup&amp;rev=1759144931&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=home_server:mswindows_notes&amp;rev=1777872894&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:nftables_control&amp;rev=1682847793&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=personal:sprinkler&amp;rev=1747572557&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=tech_notes:ipv6&amp;rev=1682847793&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:kvm&amp;rev=1739005865&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:fail2ban&amp;rev=1682847793&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:manjaro&amp;rev=1743925318&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=docker_notes:nginx-php-notes&amp;rev=1762648276&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-11-09T00:31:16+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Docker nginx / php notes</title>
        <link>https://wiki.kptree.net/doku.php?id=docker_notes:nginx-php-notes&amp;rev=1762648276&amp;do=diff</link>
        <description>linux docker nginx php fast-cgi php-fpm

Docker nginx / php notes

nginx executable

I had some trouble getting nginx with php-fpm to operate.  So I tried to get working a simple setup to nut-out the nuances. I got it working using php-fpm socket with Apline Linux on 2 Docker instances, one running Nginx and the other php-fpm.</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=home_server:home_server_setup:other_services:vim&amp;rev=1711260280&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-03-24T06:04:40+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>VIM Editor</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:vim&amp;rev=1711260280&amp;do=diff</link>
        <description>vim neovim command linux debian text editor setup customise customisation cheatsheet

VIM Editor

When using sudo vim consider sudo -E. The -E flag to retain the user environment variables for vim.

VIM Customisation

~/.vimrc

colorscheme desert
set nocompatible
syntax on
set number relativenumber
set autoindent expandtab tabstop=2 shiftwidth=2
filetype plugin on
filetype indent on
set cursorline
set cursorcolumn
set shiftwidth=2
set tabstop=2
set expandtab</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:misc&amp;rev=1759124159&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-09-29T05:35:59+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Commonly used commands and scripts</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:misc&amp;rev=1759124159&amp;do=diff</link>
        <description>linux dmesg command systemd journal journalctl tzdata timezone apt upgrade update install remove crontab man apropos tldr ip tc systemctl journalctl pbcopy pbpaste copy paste

Commonly used commands and scripts

dmesg

sudo dmesg lists the OS boot messages between grub and os up.
sudo dmesg --level=emerg,alert,crit,err,warn,notice,debug give a more succinct list of focus potential problem issues.

	* emerg - system is unusable</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=docker_notes:docker-mailserver&amp;rev=1755344352&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-08-16T11:39:12+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Docker mailserver</title>
        <link>https://wiki.kptree.net/doku.php?id=docker_notes:docker-mailserver&amp;rev=1755344352&amp;do=diff</link>
        <description>linux docker mail mailserver alpine dovecot postfix sqlite s6 s6-rc

Docker mailserver

This mailserver setup follows Workaround&#039;s SPmail guide for Debian 12 “Bookworm”.  Key changes are that instead of installing on Debian 12 virtual machine1, with a Maria mysql database2, this setup is for installation on latest Alpine linux Docker image with s6-rc init using maria database.  I toyed with sqlite and basically got it functional, however the support apps do not function with sqlite, so I went ba…</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:snapraid&amp;rev=1772716852&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-03-05T13:20:52+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>snapraid</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:snapraid&amp;rev=1772716852&amp;do=diff</link>
        <description>snapraid linux

snapraid

I have been using snapraid since circa 2015 for my main first past redundancy.  I have a second home server used as a backup server that weekly backs up using restic.

The main snapraid commands I use are:
sudo snapraid sync to sync the files that have changes since last sync.  I usually do this weekly, manually.</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=docker_notes:docker-nextcloud&amp;rev=1775227395&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-04-03T14:43:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Nextcloud Container</title>
        <link>https://wiki.kptree.net/doku.php?id=docker_notes:docker-nextcloud&amp;rev=1775227395&amp;do=diff</link>
        <description>linux docker nextcloud mysql mariadb

Nextcloud Container

Nextcloud publishes their own Docker container of Nextcloud. The Nextcloud image on Docker hub is maintained by the Nextcloud community, and is not officially supported by Nextcloud!   Linuxserver.io, as well as some others also have Nextcloud containers on Docker Hub.</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:back-up_server_old&amp;rev=1735865746&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-03T00:55:46+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Back-up Server Old Setup</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:back-up_server_old&amp;rev=1735865746&amp;do=diff</link>
        <description>linux debian backup lvm filesystem server nfs mount showmount

Back-up Server Old Setup

This has been more difficult than I would have thought. I have used rsnapshot the past couple of years (2020-21), but have never really been happy with it for many reasons. The main reason is that it has never worked well, the rsync is reasonably fast, but the rsnapshot takes far too long. Other problems include; difficulties in set-up, and concerns will reliability. Recently I noticed that Debian no longer …</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=docker_notes:turnserver&amp;rev=1740893696&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-03-02T05:34:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>turn server</title>
        <link>https://wiki.kptree.net/doku.php?id=docker_notes:turnserver&amp;rev=1740893696&amp;do=diff</link>
        <description>linux docker turnserver

turn server

From wikipedia; Traversal Using Relays around NAT (TURN) is a protocol that assists in traversal of network address translators (NAT) or firewalls for multimedia applications. It may be used with the Transmission Control Protocol (TCP) and User Datagram Protocol (UDP). It is most useful for clients on networks masqueraded by symmetric NAT devices. TURN does not aid in running servers on well known ports in the private network through a NAT; it supports the c…</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=home_server:web_server_setup&amp;rev=1733541215&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-12-07T03:13:35+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Web Server setup</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:web_server_setup&amp;rev=1733541215&amp;do=diff</link>
        <description>linux debian apache apache2 httpd web server php certbot letsencrypt nextcloud cloud vm virtual machine kvm proxy reverse proxy gid uid vipw vigr group id user id

Web Server setup

Basic Web Server setup on VM

I am moving away from Ubuntu to Debian. I find the instruction for here are good to setup a basic web server Digitalocean&#039;s LAMP on Debian 11 and Computing for Geeks LAMP on Debian.


Old, tl;dr;

The main reference used is Unixmen - How To Install LAMP Stack On Ubuntu 16.04, for the bas…</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=project:surge_protector&amp;rev=1766966776&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-12-29T00:06:16+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Surge Protector</title>
        <link>https://wiki.kptree.net/doku.php?id=project:surge_protector&amp;rev=1766966776&amp;do=diff</link>
        <description>surge surge_protector varsistor gdt mov

Surge Protector

I purchase ARLEC Premium Surge Protectors from Bunnings in Dec 2025 for $18.67 each (I got an additional 5% trade discount.).  I tore apart a unit to see what it was made of.  I was impressed with the construction and purchase a total of 6 units, including the tear down unit which I do not intent to bring back into service, plus a spare.  This allows a unit to be installed in each bedroom and study, which also aligns with the household ge…</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=tech_notes:dns&amp;rev=1754709083&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-08-09T03:11:23+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Domain names, domain nameservers, DNS and DHCP</title>
        <link>https://wiki.kptree.net/doku.php?id=tech_notes:dns&amp;rev=1754709083&amp;do=diff</link>
        <description>Domain names, domain nameservers, DNS and DHCP

Domain names, Domain nameservers, DNS and DHCP are a key part of the internet back bone.

	* DNS (Domain Name System) resolves the text domain names to the relevant IP (Internet Protocol) addresses.  
		*</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:network_setup&amp;rev=1755390424&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-08-17T00:27:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Network Setup</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:network_setup&amp;rev=1755390424&amp;do=diff</link>
        <description>network interface netplan nic setup loopback eth ethernet bridge bond networkd linux debian setup command

Network Setup

Most server have more than one network connection although one is technically enough.  Routers by definition need to have a minimum of at least 2 network connections.

It would seem that Debian Linux supports multiple methods to define network connections:</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:bash&amp;rev=1763783897&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-11-22T03:58:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>BASH Customisation</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:bash&amp;rev=1763783897&amp;do=diff</link>
        <description>linux bash alias tar bash_aliases configure configuration bashrc command script bashrc history sudo visudo dimmer ps kill nightmode xrandr tar archive default_editor editor

BASH Customisation

The standard BASH colour configuration uses a blue colour for listing directories (ls) which is difficult to read on a black background. While this is the “standard colour”, due to the impracticality I have decided to change it.</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:rsync&amp;rev=1769870083&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-01-31T14:34:43+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Rsync</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:rsync&amp;rev=1769870083&amp;do=diff</link>
        <description>rsync backup linux debian rsnapshot

Rsync

These are my rsync notes.  I also used to use rsnapshot, however I was unhappy with the performance of this application and moved to restic.  The original rsnapshot notes have been rolled up and moved to the bottom of this page.

Rsync Notes

Main rsync command usage summary</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=docker_notes:diun-ntfy&amp;rev=1733484956&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-12-06T11:35:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Docker - diun &amp; ntfy</title>
        <link>https://wiki.kptree.net/doku.php?id=docker_notes:diun-ntfy&amp;rev=1733484956&amp;do=diff</link>
        <description>linux docker diun ntfy

Docker - diun &amp; ntfy

ntfy is a notification application and server frame work.  It has an iOS client and can also use standard web page and Andiod app.  I originally considered gotify however there is not iOS application for this notification system, which basically makes it of less value for me.</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=docker_notes:docker&amp;rev=1768611790&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-01-17T01:03:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Docker</title>
        <link>https://wiki.kptree.net/doku.php?id=docker_notes:docker&amp;rev=1768611790&amp;do=diff</link>
        <description>linux docker cli installation network volume iptables nftables portainer

Docker

Docker is a set of platform as a service (PaaS) products that use OS-level virtualization to deliver software in packages called _containers_. The service has both free and premium tiers. The software that hosts the containers is called Docker Engine</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=docker_notes:fileshare&amp;rev=1736047559&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-05T03:25:59+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>File Sharing</title>
        <link>https://wiki.kptree.net/doku.php?id=docker_notes:fileshare&amp;rev=1736047559&amp;do=diff</link>
        <description>linux docker file_sharing share sharing syncthing privatebin

File Sharing

All the applications have pro and cons.  This is listed at the beginning of each header.

There have been considered 3 different levels of access as described by the applications used:

	* Nextcloud - a full privately hosted publicly accessible file shareing application, with many additional features</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: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>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=personal:recipes&amp;rev=1759109345&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-09-29T01:29:05+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>KPTree Recipes</title>
        <link>https://wiki.kptree.net/doku.php?id=personal:recipes&amp;rev=1759109345&amp;do=diff</link>
        <description>food recipes cake stollen

KPTree Recipes

Recipe Links

Stollen:

I do not like mazipan, and do not like it in Stollen. Hence these links exclude reference to recipes with marzipan.

	* The spice house Old-Fashioned Christmas Stollen
	* The Spruce German Christmas Stollen
	* You&#039;re Doing It Wrong: Christmas Bread
	* Poppyseed Stollen
	* Stollen (No-Knead)
	* Traditional German Stollen

Kaesekuchen - German Cheesecake in Diana&#039;s Recipe Book

German Cottage Cheese Cheesecake

Ratatouille

Quick G…</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=project:ethernet&amp;rev=1766929100&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-12-28T13:38:20+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Ethernet Twisted Pair Cables</title>
        <link>https://wiki.kptree.net/doku.php?id=project:ethernet&amp;rev=1766929100&amp;do=diff</link>
        <description>ethernet rj45 utp stp

Ethernet Twisted Pair Cables

Cable Types
 Cable Type   Shielding                                Description                                                           Use Case                                                         UTP          None</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=project:home_solar_bess&amp;rev=1767952162&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-01-09T09:49:22+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Home Solar / BESS</title>
        <link>https://wiki.kptree.net/doku.php?id=project:home_solar_bess&amp;rev=1767952162&amp;do=diff</link>
        <description>home solar bess battery stroage power electric

Home Solar / BESS

In my home jurisdiction housing with single phase power reticulation are generally limited to solar systems with 5kW of feed in capacity, so systems are limited to 6.6kW of peak solar panel capacity coupled to a inverter with 5kW maximum capacity.  The requirements have developed and changed significantly over the past 15 years as features of residential solar power has significantly changed during this time, particularly renewab…</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=project:sprinklers&amp;rev=1724488058&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-08-24T08:27:38+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Sprinkler Solenoid 24VAC Woes</title>
        <link>https://wiki.kptree.net/doku.php?id=project:sprinklers&amp;rev=1724488058&amp;do=diff</link>
        <description>sprinkler inductor controller solenoid valve solenoid_valve

Sprinkler Solenoid 24VAC Woes

See my Home Sprinkler notes

I have had many problems with my sprinkler system; decrepit failing 30 year old underground wiring, failing solenoid valves and their solenoids.  Some of the old solenoid valves were replaced as they had mechanically failed. The multiple issues made it vary difficult to diagnose what was happening at any time.</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:aptcache&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>Set Up and Ubuntu APT Cache</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:aptcache&amp;rev=1682847793&amp;do=diff</link>
        <description>linux ubuntu debian apt cache apt-cacher-ng apt update apt upgrade apt-get

Set Up and Ubuntu APT Cache

The apt-cacher-ng looks to be a self container apt caching server. Basically the apt cacher stores all the relevant apt update and upgrade related files and and acts as a proxy server to multiple clients. A handy feature to improve speed and reduce Internet bandwidth where a virtual machine server is used with multiple clients. There is another package called apt-cacher but it depends upon th…</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:samba&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>samba</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:samba&amp;rev=1682847793&amp;do=diff</link>
        <description>linux samba

samba

I have not look at samba much since I first attempted to set up my home sever circa 2011 on Fedora before I moved to Ubuntu.  I stopped using Fedora as I had noob pain with Selinux, coupled with the short service life of Fedora, so I moved to Ubuntu, where I had a lot more success.</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=docker_notes:docker-reverse-proxy&amp;rev=1736211611&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-07T01:00:11+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Reverse Proxy Server - Traefik</title>
        <link>https://wiki.kptree.net/doku.php?id=docker_notes:docker-reverse-proxy&amp;rev=1736211611&amp;do=diff</link>
        <description>linux docker traefik reverse_proxy proxy openssl ssl certificate portainer cloudsec

Reverse Proxy Server - Traefik

I seem to have gotten the Traefik reverse proxy working according to Techno Tim Put Wildcard Certificates and SSL on EVERYTHING (github reference_files for traefik-portainer-ssl).  Also see Jim&#039;s Garage Your Traefik Isn&#039;t Secure (JimsGarage/Traefik-Secure/

Below is a basic description of the process that aligns with my configuration files. I do this for 2 reasons, both allowing m…</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=docker_notes:hoarder&amp;rev=1746938416&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-05-11T04:40:16+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Bookmarking Servers</title>
        <link>https://wiki.kptree.net/doku.php?id=docker_notes:hoarder&amp;rev=1746938416&amp;do=diff</link>
        <description>linux docker bookmark bookmarking karakeep linkwarden

Bookmarking Servers

There are many different bookmarking programs available at this time.  I have listed 2 self hosted types here, Karakeep and Linkwarden.  I do not know which is “better”.  

I am not sure I like the concept in Karakeep which used 3rd party AI to assist with bookmarking tagging.  Perhaps it works well.</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=docker_notes:vm-container&amp;rev=1766458124&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-12-23T02:48:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Docker Host</title>
        <link>https://wiki.kptree.net/doku.php?id=docker_notes:vm-container&amp;rev=1766458124&amp;do=diff</link>
        <description>linux docker vm proxmox server vnc kvm libvirt selfhosted

Docker Host

KVM versus Proxmox

I originally started using Linux KVM based VM, with QEMU and Libvirt on Ubuntu bare metal, circa 2014, this before was I was aware that Proxmox existed.  Around 2020 I moved to Debian as my preferred bare metal distribution for server and desktop, I stopped using Windows as my main home desktop around this time. When I started playing around with Docker to create my own container images I preferred use of…</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=home_server:dokuwiki_setup&amp;rev=1759144931&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-09-29T11:22:11+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>dokuwiki setup notes</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:dokuwiki_setup&amp;rev=1759144931&amp;do=diff</link>
        <description>linux wiki dokuwiki server plugin markdown

dokuwiki setup notes

Also see notes on setting up Docker Dokuwiki container

	*  Dokuwiki home page
	*  Dokuwiki Installation instructions
	*  Upgrading Dokuwiki
	*  DokuWiki Manual
		*  Docuwiki maintenance
		*  How to backup DokuWiki?
		*  How to move DokuWiki from one Server to another?


dokuwiki backup

Back-ups placed here: &#039;/media/disk1/KarlData/Karl Data 2/dokuwiki_backups/&#039; and named KPtreeWiki-backup_yyyy-mm-dd.

e.g. sudo tar zcpfv &#039;/media/…</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=home_server:mswindows_notes&amp;rev=1777872894&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-05-04T05:34:54+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>KPTree - Home Desktop Setup</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:mswindows_notes&amp;rev=1777872894&amp;do=diff</link>
        <description>mswindows windows setup tip notes personal license powertoys

KPTree - Home Desktop Setup

Background

I have Windows on my main desk top machine, it is dual boot with Debian/XFCE.  I am using Debian almost exclusively now.  The BIOS based dual boot works well, I have it defaulting to Debian.  I do not currently have a Windows VM setup on my main server.  My 3 sons also have computers with Windows on them. Lastly, I am required to used company Windows machines at work.  Hence I like to keep a li…</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: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: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=personal:sprinkler&amp;rev=1747572557&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-05-18T12:49:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Home Sprinkler Setup Notes</title>
        <link>https://wiki.kptree.net/doku.php?id=personal:sprinkler&amp;rev=1747572557&amp;do=diff</link>
        <description>sprinkler spray garden irrigation

Home Sprinkler Setup Notes

See my  Sprinker solenoid woes

Reticulation System

The home I am currently living in and own had a garden irrigation system install with bore pump when purchased.  The system was over 20 years old when I purchased and is now over 30 years old.</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=tech_notes:ipv6&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>IPv6 summary notes</title>
        <link>https://wiki.kptree.net/doku.php?id=tech_notes:ipv6&amp;rev=1682847793&amp;do=diff</link>
        <description>linux ipv6

IPv6 summary notes

Largely taken from

	* onemarcfifty
	* What You Need to Know about IPv6 Link-Local Addresses

Address length and format

The IPv6 address is 128 bits (i.e. 16 bytes) long and is written in 8 groups of 2 bytes in hexadecimal numbers separated by colons:

FDDD:F00D:CAFE:0000:0000:0000:0000:0001

Leading zeros of each block can be omitted, the above address can hence be written like this:
FDDD:F00D:CAFE:0:0:0:0:1

We can abbreviate whole blocks of zeros with :: and w…</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:kvm&amp;rev=1739005865&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-02-08T09:11:05+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>KVM Setup</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:kvm&amp;rev=1739005865&amp;do=diff</link>
        <description>server kvm virtual command debian machine qemu virsh qcow linux command setup nbd network block device

KVM Setup

I original setup my main server and virual machines all with Ubuntu.  However I have started using Debian and find it leaner than Ubuntu. I am slowly moving my various servers and virtual machines to Debian.

	* Install And Configure KVM In Ubuntu 20.04 Headless Server
	* Installing KVM on Debian 10
	* How To Install KVM Hypervisor on Debian 12|11|10
	* How to install KVM server on …</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:fail2ban&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>Fail2Ban</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:fail2ban&amp;rev=1682847793&amp;do=diff</link>
        <description>fail2ban failtoban setup customise linux security

Fail2Ban

Scans log files and check for in appropriate password activities and update and uses firewall (IPTables) to restrict (stop for a period of time) these activities. So fail2ban limits incorrect authorisation attempts, thereby reducing, but not entirely eliminating associated risks and bandwidths. It is primarily used on port and associated services open to the public. DigitalOcean</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:manjaro&amp;rev=1743925318&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-06T07:41:58+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Manjaro Setup Notes</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:manjaro&amp;rev=1743925318&amp;do=diff</link>
        <description>linux manjaro arch archlinux vuescan flatpak davfs cups printing print

Manjaro Setup Notes

I tried Manjaro circa 2019 for a couple of years as my main Linux Desktop.  I had no major problems with it. An occasional minor problem this nVidia graphic card and some minor issues with updates. Having used Debian / Ubuntu the past 10 years on servers I decided to switch to Debian testing desk top with XFCE.  Debian testing basically give a similar level of latest updates as Manjaro/Arch.  I have not …</description>
    </item>
</rdf:RDF>
