How VIM helps to learn regex

Many Linux users prefer to use simpler editors like Nano, because they found VIM confusing, unnecessary complex and too hard to use. Here I can explain you, how VIM helped me to better understand tools like sed, grep, rename, awk, less, etc. which use similar rules and logic.

Read More…

WSL is a great tool

This post explains why I am using WSL in my work and why I like it. There are plenty of Linux purists who are not happy with the fact that Microsoft created WSL and even made their own Linux kernel for it with the help of Canonical1 (It is the company which makes Ubuntu2 distribution of Linux). But each coin has two sides. And here I will try to explain:

  • Why I use WSL and how I use it.
  • Why WSL is a great tool inside the Windows ecosystems.
  • Why I think, that WSL is not a threat, but a great help to Linux community.

Read More…

WireGuard VPN setup on v-Linux (OpenVZ)

This post will explain you in details how to setup your own v-Linux server on OpenVZ platform as VPN server with WireGuard VPN.

There are many tutorials about setting up your own WireGuard VPN, but only few cover aspect of installing it on the Linux VM which runs on top of OpenVZ (Virtuozzo hypervisor). And also this tutorial will cover following aspects:

  • Installation of WireGuard VPN (wireguard-go version).
  • Configuration which supports two different concentrators on the same server:
    • One for your private use another one for other users, e.g. your friends, colleagues, etc.
    • Or it can be two (or more) groups of users in your organization.
  • IPv4 and IPv6 configuration covering:
    • Forwarding and NAT
    • Isolation of clients: blocking of inter-group (communication between groups) and intra-group (communication between peers in the group) traffic.
  • DNS server configuration (Unbound).
  • Clients configuration.

Read More…