# ------------------------------------- # Config Kernel-based Virtual Machine Hostinger (France Paris) # -- # Author : O.Romain.Jaillet-ramey - orj (at) lab3w.fr # Date Created : 2025/10/24 # Date Modified : 2025/11/27 # ------------- root@hst-fr:~ # uname -a Linux hst-fr 6.12.41+deb13-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.41-1 (2025-08-12) x86_64 GNU/Linux root@hst-fr:~ # uptime 18:17:44 up 13:03, 1 user, load average: 0.00, 0.00, 0.00 root@hst-fr:~ # cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 13 (trixie)" NAME="Debian GNU/Linux" VERSION_ID="13" VERSION="13 (trixie)" VERSION_CODENAME=trixie DEBIAN_VERSION_FULL=13.1 ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" root@hst-fr:~ # dpkg-reconfigure tzdata Current default time zone: 'Europe/Paris' Local time is now: Fri Oct 24 21:48:02 CEST 2025. Universal Time is now: Fri Oct 24 19:48:02 UTC 2025. root@hst-fr:~ # cat /etc/apt/sources.list.d/debian.sources # Modernized from /etc/apt/sources.list Types: deb deb-src URIs: http://deb.debian.org/debian/ Suites: trixie Components: main contrib non-free non-free-firmware Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg # Security updates Types: deb deb-src URIs: http://security.debian.org/debian-security/ Suites: trixie-security Components: main contrib non-free non-free-firmware Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg # Updates repository Types: deb deb-src URIs: http://deb.debian.org/debian/ Suites: trixie-updates Components: main contrib non-free non-free-firmware Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg root@hst-fr:/var/www/html # apt update Hit:1 http://security.debian.org/debian-security trixie-security InRelease Hit:2 http://deb.debian.org/debian trixie InRelease Hit:3 http://deb.debian.org/debian trixie-updates InRelease All packages are up to date. root@hst-fr:~ # apt upgrade root@hst-fr:~ # apt install iptables iputils-ping dnsutils net-tools whois ipv6toolkit thc-ipv6 ipv6pref iptraf-ng iperf3 tcpdump nmap root@hst-fr:~ # apt install apache2 root@hst-fr:~ # cd /var/www/html/ root@hst-fr:/var/www/html # mkdir .well-known/ root@hst-fr:/var/www/html # vim .well-known/security.txt # Our security address Contact: mailto:security@ipv10.net Expires: 2033-12-12T00:00:00z Preferred-Languages: fr, en # --------------------------------------------------------------- # LXC - Installation # root@hst-fr:~ # apt install debootstrap lxc lxc-templates busybox wget bridge-utils # root@hst-fr:~ # ip -6 a a fc00:4780:28:5295::1/64 dev lxcbr0 # root@hst-fr:~ # lxc-create -n dc1 -t debian -- -r trixie -a amd64 # root@hst-fr:~ # systemctl stop lxc-net # --------------------------------------------------------------- # INCUS - My First Installation (for test this solution) # Incus, a container and VM engine - Stéphane Robert’s documentation : https://blog.stephane-robert.info/docs/conteneurs/moteurs-conteneurs/incus/ root@hst-fr:~ # apt install incus incus-tools root@hst-fr:~ # apt install qemu-system # Add Depot : https://pkgs.zabbly.com/incus/stable root@hst-fr:~ # incus admin init --minimal root@hst-fr:~ # incus image list images: -c last amd64 debian +--------------------------+--------------+-----------+-----------------+ | ALIAS | ARCHITECTURE | SIZE | TYPE | +--------------------------+--------------+-----------+-----------------+ | debian/11 (7 more) | x86_64 | 98.57MiB | CONTAINER | +--------------------------+--------------+-----------+-----------------+ | debian/11 (7 more) | x86_64 | 316.41MiB | VIRTUAL-MACHINE | +--------------------------+--------------+-----------+-----------------+ | debian/11/cloud (3 more) | x86_64 | 121.64MiB | CONTAINER | +--------------------------+--------------+-----------+-----------------+ | debian/11/cloud (3 more) | x86_64 | 341.64MiB | VIRTUAL-MACHINE | +--------------------------+--------------+-----------+-----------------+ | debian/12 (7 more) | x86_64 | 103.25MiB | CONTAINER | +--------------------------+--------------+-----------+-----------------+ | debian/12 (7 more) | x86_64 | 356.38MiB | VIRTUAL-MACHINE | +--------------------------+--------------+-----------+-----------------+ | debian/12/cloud (3 more) | x86_64 | 136.49MiB | CONTAINER | +--------------------------+--------------+-----------+-----------------+ | debian/12/cloud (3 more) | x86_64 | 392.49MiB | VIRTUAL-MACHINE | +--------------------------+--------------+-----------+-----------------+ | debian/13 (7 more) | x86_64 | 94.65MiB | CONTAINER | +--------------------------+--------------+-----------+-----------------+ | debian/13 (7 more) | x86_64 | 340.72MiB | VIRTUAL-MACHINE | +--------------------------+--------------+-----------+-----------------+ | debian/13/cloud (3 more) | x86_64 | 130.00MiB | CONTAINER | +--------------------------+--------------+-----------+-----------------+ | debian/13/cloud (3 more) | x86_64 | 373.99MiB | VIRTUAL-MACHINE | +--------------------------+--------------+-----------+-----------------+ | debian/14 (7 more) | x86_64 | 94.42MiB | CONTAINER | +--------------------------+--------------+-----------+-----------------+ | debian/14 (7 more) | x86_64 | 351.19MiB | VIRTUAL-MACHINE | +--------------------------+--------------+-----------+-----------------+ | debian/14/cloud (3 more) | x86_64 | 134.53MiB | CONTAINER | +--------------------------+--------------+-----------+-----------------+ | debian/14/cloud (3 more) | x86_64 | 390.22MiB | VIRTUAL-MACHINE | +--------------------------+--------------+-----------+-----------------+ root@hst-fr:~ # incus image copy images:debian/13 local: --alias debian-13-trixie-$(date +%Y%m%d) Image copied successfully! root@hst-fr:~ # incus image copy images:debian/14 local: --alias debian-14-forky-$(date +%Y%m%d) Image copied successfully! root@hst-fr:~ # incus image list +---------------------------+--------------+--------+--------------------------------------+--------------+-----------+----------+----------------------+ | ALIAS | FINGERPRINT | PUBLIC | DESCRIPTION | ARCHITECTURE | TYPE | SIZE | UPLOAD DATE | +---------------------------+--------------+--------+--------------------------------------+--------------+-----------+----------+----------------------+ | debian-13-trixie-20251110 | 32426a7bceff | no | Debian trixie amd64 (20251109_05:24) | x86_64 | CONTAINER | 94.64MiB | 2025/11/10 06:16 CET | +---------------------------+--------------+--------+--------------------------------------+--------------+-----------+----------+----------------------+ | debian-14-forky-20251110 | 2679fc4b9ad7 | no | Debian forky amd64 (20251109_05:24) | x86_64 | CONTAINER | 94.24MiB | 2025/11/10 06:21 CET | +---------------------------+--------------+--------+--------------------------------------+--------------+-----------+----------+----------------------+ root@hst-fr:~ # incus network set incusbr0 ipv4.address=10.175.0.254/24 ipv6.address=fc00:4780:28:5295::fd/112 # CIDR4 root@hst-fr:~ # echo $(incus network get incusbr0 ipv4.address | sed 's|\.[0-9]\+/|.0/|') 10.175.0.0/24 # CIDR6 root@hst-fr:~ # echo $(incus network get incusbr0 ipv6.address | sed 's|:[0-9]\+/|:/|') fc00:4780:28:5295::fd/112 # https://linuxcontainers.org/incus/docs/main/reference/instance_options/ root@hst-fr:~ # incus launch local:debian-14-forky-20251110 web --config limits.cpu=8 --config limits.memory=16GiB --device root,size=100GiB root@hst-fr:~ # incus exec web -- bash # cat /etc/os-release PRETTY_NAME="Debian GNU/Linux forky/sid" NAME="Debian GNU/Linux" VERSION_CODENAME=forky ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" # ........ # Linux Containers Forum > Incus bridge - routes and addresses IPv4 and IPv6 on containers : https://discuss.linuxcontainers.org/t/incus-bridge-routes-and-addresses-ipv4-and-ipv6-on-containers/25243/