Written on 14. January 2023

Apache2 as reverse proxy with ModSecurity and OWASP Ruleset on Debian

Here I will describe as mentioned in article https://stangneth.com/2022/12/27/nginx-as-reverse-proxy-with-waf-modsecurity-on-debian/ how to install a reverse proxy with WAF based on Apache2.


To install Apache2 on Debian, use the following command:

apt install apache2 -y

Next, we need to enable the necessary modules. We will be using the proxy and proxy_http modules to configure reverse proxy functionality and the headers module to add custom headers to the proxied traffic:

Read more…
Written on 2. January 2023

Synology Active Backup for Business – Last backup to USB drive

Here is a PowerShell script that can be used to copy the last Active Backup for Business backup from your Synology to an external USB drive:

Synology – Active Backup for Business
Read more…
Written on 27. December 2022

NGINX as reverse proxy with ModSecurity and OWASP Ruleset on Debian

I have divided my home network into three separate areas: a datacenter, a DMZ (demilitarized zone), and an internal client network. To prevent my clients from having direct access to the datacenter, I have set up an NGINX reverse proxy in the DMZ. This allows both clients within the network and those from the WAN (wide area network) to connect. It is great to be able to secure all sites with a Let’s Encrypt certificate.

In the coming days, I plan to publish an article on configuring Apache2 as a reverse proxy with ModSecurity and the OWASP ruleset.


To install NGINX and Certbot from the default repository on a debian-based operating system, you can use the package manager apt:

apt update 
apt install nginx certbot python3-certbot-nginx
Read more…
Written on 1. December 2022

Icinga2 agent not loading performance counters on Windows

I had the problem that on some Windows Server 2019 VMs the performance counters could not be loaded. The scripts gave me the information “wrong parameter” or “The resource loader failed to find MUI file”.

To solve this go to the VM and enter the following commands to rebuild all performance counters.

cd C:\windows\system32
lodctr /R
cd C:\windows\sysWOW64
lodctr /R

Now all performance counter should work again and Icinga Agent should be able to get the results.

Written on 15. July 2022

Update Nextcloud in a docker environment

This article refers to the nextcloud docker-compose installation in this article https://stangneth.com/2022/02/02/nextcloud-with-docker-compose/#more-269

Go to your nextcloud homefolder and update the container-image.

cd /home/nextcloud
docker-compose up -d

The container-image is now updated but the nextcloud container itself not as you can see at the version number after login in to your nextcloud instance. You need to perform these additional command.

docker exec -it nextcloud updater.phar

Now recheck your version number if its updated.