Month: November 2021

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

The previous article showed how to use OpenVPN with TCP instead of the default UDP. It is also known that the use of the TCP protocol is not recommended because, due to the “overhead” of the TCP transport protocol, less payload will be transmitted, since part of the channel will be occupied by the transmission of overhead information necessary to...

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 for the normal operation of TCP, which monitors the...

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 files, replace the line cipher...

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 a secure, encrypted channel. After connecting via sftp,...

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 Swap file into...

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: EFI – 200 Megabytes is enough / (root of the filesystem) – this is...

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 – 500 MB / (root) partition – 30 GB swap (swap partition) – 1 GB /home...

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 https://www.kali.org/get-kali/, in the Bare Metal section download the installation image. Using a cross-platform program, Etcher writes an...

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 flash drive...

Persistent names for block devices

Table of contents 1. How to make drives and USB sticks have the same name 2. Persistent block device naming 2.1 by-label 2.2 by-uuid 2.3 by-id 2.4 by-path 2.5 by-partlabel 2.6 by-partuuid 3. Using persistent naming 3.1 Permanent block device names can be used as aliases for /dev/sdX 3.2 Using persistent names in the /etc/fstab filesystem table Conclusion How to make drives and USB sticks have...
Loading...
X