Entries by Roland

How to set up Postfix on Debian 11 to use a mailhoster with SMTP

Tags: postfix, mailhoster, linux, smtp, netcup, relayhostLast update: Aug 2022Tested with: Proxmox 7, Debian 11, and Netcup or course Important notes Make sure you use your own hostname below. I used mx2f95.netcup.net only for testing purposes. This will not work for you. The hostname entry has to be identical to the entry in the password […]

How to set up MSMTP on Debian to use a mailhoster with SMTP

Tags: msmtp, mailhoster, linux, smtp, tlsLast update: Jul 2022 Tested with: Debian 11 Steps First we need to install packages: Note: mailutils is needed for sending mail via “mail” on the command line. Edit the global configuration file: Fill up the configuration file: Create the aliases file: with the following content: Create the mail.rc. file: […]

How to migrate some specific app profiles on macOS

Tags: macOS, migrationTested on: macOS Big Sur, macOS MontereyLast update: Nov 2021 If you migrate from one machine to another make sure you follow those steps and you’ll get rewarded with a hassle-free migration. Get a pendrive and copy the following files as zipped packages: Google Chrome file type path and notes main app /Applications/Google […]

How to inspect network traffic on your cell phone / mobile device

Tags: analyze traffic, mobile traffic investigation, mitm proxy attackLast update: Feb 2021 ForewordIn this tutorial we will use a regular computer with two USB wifi adapters: one for the connection to our internet/wan and the other one for creating our local wifi hotspot. You can substitute one of the wifi adapters with an ethernet adapter […]

How to install a privacy friendly Jitsi Meet on Ubuntu and run it securely

Tags: jitsi installation, secure, ubuntu, linuxLast update: Jan 2021 Prerequisites a fresh installation of Ubuntu 21.04 LTS or Ubuntu 18.04 LTS verify all updates are installed by issuing If you intend to run Jitsi on your new publicly accessible server, reachable under meet.yourdomain.com, you should change the name of your host accordingly in both files […]

Replacing a faulty disk in a software RAID1 array on Linux

Tags: linux, raid1, software raid, mdstat, md0Last update: Jan 2021 Assumptions We have a running software RAID1 at moint point /dev/md0 consisting of the following partitions: /dev/sda1 /dev/sdb1 Showing details You can get some detailed information about the fitness of /dev/md0 by issuing: An exemplary entry looks like this: and tells us that it’s a […]

Useful Linux commands

Tags: LinuxLast update: Aug 2022 Compare binary files within the console and highlight those areas which differ. Vim and Colordiff have to be installed before. 2. Using a harddisk device for storing encrypted data with luks: 3. Mirroring with rsync from /source to /destination. Compression is great when backing up over the Internet. 4. Wipe […]

Backup/sync files with 7-Zip CLI

Tags: Windows | Linux | 7-Zip Command Line InterfaceLast update: Dec 2017 1. Foreword / Setting / Requirements We want a quick and tiny script to initially backup our files secondarly to update our archive for example on a daily basis. We want to modify our archive only in case a file/folder has been changed. […]

How to securely wipe your flash drive with Debian/Ubuntu Linux

Tags: Secure wipe, LinuxLast update: Dec 2017 First we want to fill up our pendrive with zeroes: After completion we can check if our flash drive is really wiped with zeros by installing and using a text-based Hex-editor: Remember: We trust nobody so we check manually if zeros have been written to the drive. If […]

How to setup a bridged OpenVPN VM on Windows 2012 R2 using Ubuntu 16.04.1 LTS

Tags: Windows 2012 R2 Standard | Hyper-V | Ubuntu 16.04.1 LTS | Bridged OpenVPNLast update: May 2017 1. Foreword / Setting / Requirements Sometimes we are travelling through the globe and imagine that on a particular day we are working onsite with our mobile device. Suddenly we recognize there are files missing which are quite […]