Comparison of performance (data transfer rate) of OpenVPN over UDP and TCP

How to use OpenVPN with TCP protocol

By default, OpenVPN uses UDP and it is officially recommended to use it. However, TCP also works great with OpenVPN and you can use it if needed. Theoretically, the TCP protocol has more “overhead”, that is, some part of the transmitted data will not carry the payload, but is only necessary (more…)

How to change configuration files when migrating from OpenVPN 2.4.* to OpenVPN 2.5.*

As of fall 2021, OpenVPN has moved to the new major branch 2.5.* for almost a year. If you were slow to update, now the new branch can be considered time-tested. However, if you are upgrading from the 2.4 branch, you may need to adjust the configuration files.

1. In the server and client configuration (more…)

LibreOffice opens sftp connection (SOLVED)

sftp is a utility from the OpenSSH package that combines the functions of FTP and SSH, that is, it provides convenient access to the remote file system, allowing you to edit, copy, delete files on the server in a graphical interface. In this case, the connection and data exchange takes place over (more…)

What happens if Linux runs out of RAM. Do I need a Swap file

Linux installers create a swap file or partition by default. The Swap file is used when the RAM is full, in this case the system writes part of the data that is not needed right now from the RAM to the Swap file, which somewhat unloads the RAM. Subsequently, the system can re-move the data from the (more…)

How to install Kali Linux with encrypted user’s home folder (manual partitioning)

If the above automatic disk layout template with encryption of the home folder does not suit you, then you can configure disk layout manually, below is shown how to do it.

With manual marking, remember that for a normal installation you need at least two partitions:

How to install Kali Linux with encrypted user’s home folder (auto-partitioning)

The installer has a template for encrypting the user's home folder and it is perfect for novice users – the default settings are quite acceptable, the setup is very simple.

The markup template has the following parameters:

  • EFI partition – 500 MB
  • /boot partition (more…)

How to install Kali Linux with full disk encryption

This is the easiest option to set up and use – the entire drive will be encrypted. For encryption during the Kali Linux installation, as well as for use, you do not need to delve into how it works.

Go to the page, in the Bare Metal section download the (more…)

How to boot into VirtualBox from USB

In this post I will tell you how to connect a USB disk (or USB flash drive) to a virtual machine so that the guest system treats it like a regular hard disk.

This trick will allow you not only to boot from the installation USB – which is rather pointless. If you connect a USB disk or (more…)

Persistent names for block devices