Enable Nested Virtualization in Proxmox Virtual Machine

Nested virtualization allows you to run other hypervisors in a virtual machine. In this article, we will look at how to enable nested virtualization in Proxmox VE for Intel and AMD processors.

Continue reading “Enable Nested Virtualization in Proxmox Virtual Machine”

Configure OpenVPN Authentication via LDAP (Active Directory)

By default, OpenVPN certificates are used to authenticate users. This means, that any user who has a *.ovpn file with connection settings and certificates can connect to your OpenVPN server. In OpenVPN, you can enable and configure user authentication through an LDAP server (Active Directory or FreeIPA).

Continue reading “Configure OpenVPN Authentication via LDAP (Active Directory)”

Connect to Docker Container via SSH

Using SSH in a docker container is a bad practice and should be avoided. In most cases, it is recommended to use the docker exec command to get a container shell. But in some cases, you need to connect to the docker container remotely via an interactive SSH session.

Continue reading “Connect to Docker Container via SSH”

OpenVPN: Assigning Static IP Addresses to Clients

By default, when connecting, OpenVPN clients receive a dynamic IP from the DHCP range that you set in the OpenVPN server configuration file (server.ovpn) server network netmask (for example, server 10.24.1.0 255.255.255.0). In some cases, you want certain OpenVPN clients to get the same static IP address every time they connect.

Continue reading “OpenVPN: Assigning Static IP Addresses to Clients”

Join Ubuntu/Debian Computer to Active Directory Domain

To make it easier to join Ubuntu or Debian machine to the Windows Active Directory domain, instead of the samba + winbind bundle, you can use the realmd (Realm Discovery) package, which allows you to automatically configure the SSSD (System Security Services Daemon) service on Linux. This article is applicable for Ubuntu 20.04/22.04 and Debian 10/11.

Continue reading “Join Ubuntu/Debian Computer to Active Directory Domain”

Extending a Linux Disk Partition Online with Fdisk

In this article, we’ll look at how to extend a disk partition in Linux online without shutting down the system or unmounting the partition. You can use the fdisk tool to delete a partition and create a new larger partition in its place on the fly without losing data. In my case, a Linux VM running on VMware ESXi ran out of space on the ext4 data partition.

Continue reading “Extending a Linux Disk Partition Online with Fdisk”