Kali

How to Install SSH Server on Linux?

Fadıl

In order to make a remote connection with SSH to your computer where the Linux operating system is installed, you need to have the SSH Server computer installed or you need to install it. In general, SSH Server is already installed, but it is not available on some distributors or the service does not start on its own. This is how we set up the ssh server and start the system how it works automatically, we will see now.

What is NFS (Network File System)? How to Configure NFS Server and User?

What is NFS (Network File System)? How to Configure NFS Server and User?

Fadıl

It is a Unix / Linux file sharing service developed by Sun Microsystems and is a stable technology that enables file sharing between Linux systems.

We need to get into configuration and use it right away. We will work with the Server and Client model in the environment. In other words, we have to configure both the server-side, there are settings that we should not make for the client to use. We will create these applications on the virtual machine.

Linux VPN Server Installation Using OpenVPN

Fadıl

VPN stands for  Virtual Private Network. An open-source VPN software is OpenVPN and can run as a Linux VPN server. Simply, a VPN secures connections by creating a point-to-point secure connection. Using a good VPN for Linux is one of the best ways to stay secure on the Internet or an open network. In this article, we will show you how to set up your own Linux VPN server using OpenVPN. Turn your VPS into a great security measure!

How to Use the Linux Tar Command

How to Use the Linux Tar Command

Fadıl

The Linux tar command is one of the most commonly used Linux commands for compression. There are many benefits of using the tar command and are therefore highly appreciated by professionals. In this guide, we will teach you everything you need to know.

Tar stands for Tape archive and is used to compress one or more files and folders.

In most cases, a .tar file is created after compression with the tar command. Further compression is done using gzip, resulting in a .tar.gz file.

How to Find Users Who Have Opened a TCP Connection to Your Server on a Certain Number

How to Find Users Who Have Opened a TCP Connection to Your Server on a Certain Number

Finding multiple connections to your server over an IP can always be useful. In many cases, when you receive a DDOS attack, you will see multiple connections over an IP. A command that can be very useful, especially in such a case. For example, you want to list IPs that open more than 50 connections on your server. In this case, you can use the following code;

netstat -n --tcp --udp --numeric-hosts | \
grep -v 127.0.0.1 | \
awk '{if (/(tcp|udp)/) { print $5 }}' | \
sed 's/:.*//' | \
sort | \
uniq -c | \
sort -n | \
awk '{if ($1 > 50) {print "Baglanti Sayisi: "$1"\t"$2; }}'

When you execute the command, you receive an output similar to the following; (Of course, if more than 50 connections are available from a single IP)