How to Improve OpenVPN Performance and Throughput?

One of the significant disadvantages of OpenVPN is its rather poor performance. This is especially noticeable at link speeds of 100+ megabits. In most cases, the performance of an OpenVPN tunnel is dependent on the chosen encryption method, its complexity, and buffer sizes.

Continue reading “How to Improve OpenVPN Performance and Throughput?”

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”

Using Ansible to Change Config Files in Linux

In this example, we’ll look at how to edit Linux configuration files with Ansible using sshd_config as an example. Our Ansible playbook should modify the sshd_config file and change/remove directives with insecure authentication algorithms.

Continue reading “Using Ansible to Change Config Files in Linux”