WordPress – critical site health issues

Issue: If your WordPress site is behind a SSL reverse proxy that’s not on the same server as the WordPress site installation, your Site Health Status might be showing 2 critical issues: The REST API encountered an error Your site could not complete a loopback request This is due to WordPress site is trying to…


WireGuard VPN server on pfSense

Setting up VPN server using WireGuard on pfSense firewall Intro In this example I’m going to show you how to install and configure a VPN server using WireGuard software (pfSense-pkg-WireGuard 0.2.0_2) on pfSense (2.7.0-RELEASE) firewall. And for our client we will use Windows 10 with WireGuard client installed. You can also configure the client on…


Port forwarding/redirect configuration for LXD/LXC Virtual Machines

How to configure a port forwarding or a port redirect in LXD/LXC Virtual Machine If you are looking how to do the same for LXC containers,  look here. Unlike port forwarding for containers, virtual machines require you to set a static IP address before you can configure the proxy device. If you don’t have a static…


Hide user account from the login list on macOS

How to hide a specific user account from the login screen on macOS. Removing a specific user from the list of users on macOS can be accomplished via command line using a utility dscl. More information about Directory Service command line utility you can find here Before you begin, there are two things that you need to…


Webmin behind pfSense HAproxy (login solution)

How to have a working HAproxy reverse proxy configuration for Webmin application. Problem After configuring HAproxy in front of your Webmin installation the same way you would for a standard web server, you will notice that during the login process your browser tries to connect to port 10000. Which is the default port that Webmin…


Setting resource limits for LXC

How to limit resources for the Linux containers inside LXD. Intro In this example I’m using Ubuntu 20.04 with LXD 4.0.8 installed. Containers are running on ZFS storage. My test container name that I’m using for this tutorial is called lamp. What is lamp? CPU and Memory limits Use following commands to set CPU to…


Automated snapshots of LXC on ZFS storage

How to setup an automated backup of the LXCs backed by ZFS storage, using snapshots. Objective Configure scheduled snapshots with expiration date. Requirements Ubuntu or Debian server running LXD. Containers must reside on ZFS storage. Expiration Set the amount of days you want to keep your snapshots. Here is the example for 10 days: lxc config…


Port forwarding/redirect configuration for LXD/LXC containers

How to setup port forwarding/redirect for the LXC container Objective Configure port forwarding or port redirect on the Ubuntu 20.04, hosting LXC containers, to the container running web server on port 80. Forward To accomplish this we are going to add a proxy device called http-forward to the container called web-server that listens for connections…


iSCSI server on FreeBSD

How to setup iSCSI server (target) on FreeBSD system Intro You can read more about iSCSI here. This tutorial was completed on FreeBSD 13.0-p1. This is fairly simple, three step process. Create a file to store data in, create a config file for ctld and enable service on boot up. Create a storage file Let’s begin…


Find disk space usage on Linux CLI

Disk Usage How to find disk usage on the Linux machine using du utility. To get more information on du, read this manual. To begin, open a command prompt and issue a du command, like so: $ du The output that you got out of it is probably not very useful. Let’s make it more…