Tunneling traffic just for one Linux system user through a VPN

Namespaces One Open-Source software to easily to the job: https://github.com/slingamn/namespaced-openvpn It can be even used with systemd (source): Before=systemd-user-sessions.service After=network-online.target Wants=network-online.target Documentation=https://github.com/slingamn/namespaced-openvpn [Service] Type=notify WorkingDirectory=/etc/openvpn ExecStart=/usr/local/sbin/namespaced-openvpn --namespace %i…

Monoblock Klimaanlage: Umrüstung auf Zweischlauch?

In Wien wird die Hitze immer unerträglicher (besonders Extreme nehmen zu). Nicht umsonst plant eine hohe Anzahl den Kauf von Geräten (siehe kurier Artikel). Alle neuen Monoblockgeräte werden nur mit einem ausgehendem Schlauch verkauft. (Ältere- und Industriegeräte mit zwei Schläuchen werden noch verkauft.). Im Internet findet man jede Menge Erfahrungsberichte…

Gastherme mit Homematic IP und CCU ansteuern

Bei klassischen Altbauten hat man meist ein Raumthermostat (zB im Wohnzimmer), sowie einfache Ventile an den Heizungen. Das Raumthermostat steuert, ob die Gastherme Heizwasser liefert. Wenn man nun nur im Schlafzimmer heizen will, so muss man das Raumthermostat hochdrehen, die Ventile im Wohnzimmer alle zudrehen und die Ventile im Schlafzimmer…

Installing Pterodactyl for Plesk

Pterodactyl is a software for managing game servers. As it’s still in development, installing it in some environments is not straight-forward. You should read the official docs along. The guide is written for Plesk with CentOS but could be helpful for other panel users like cPanel too. Originally published…

Updating Pterodactyl from v0.6 to v0.7 with a Plesk installation

As requested, I provide here a simple guide for upgrading pterodactyl to 0.7 (from 0.6), when used with my installation guide. Installing Pterodactyl for Plesk First log into the root terminal of your web (v)server and install PHP 7.2: plesk installer --select-release-current --install-component php7.2 SU…

Fixing Let's Encrypt with custom Nginx rules on Plesk

When having expressions like this: location ~ ^/(?:\.|include) { deny all; } All requests which start with a dot (.) or include get denied. As such the required .well-known folder used for the acme challenge by Let’s Encrypt gets denied too and Plesk is unable to renew certificates. To solve it, it is…

Script for creating a chroot environment

This script creates a chroot environment for use with php-fpm. To be called with the chroot directory and a php binary. ./scriptname /dir/to/chroot /usr/bin/php It copies all libraries needed by php (by using ldd) and it also copies timedata and dns data (or there will be…