firewall

How can we change the default tcp port 22 of our SSH server on our Debian or Ubuntu Linux server for better security?

botond published 2022/10/23, v - 08:10 time
There are several ways to manage web servers and other servers remotely, of which SSH is the most common command line solution. The SSH protocol communicates over an encrypted channel between the server and the client. Like all similar communications, SSH transmits data through a specific port, which by default is the well-known tcp port 22. Since the function of this port is known to many people, it exposes the servers to regular attacks. This is usually avoided - or at least to reduce the number of attempts - by switching this well-known port to another, unknown port number, which can only be detected externally by port scanning, which is a more time-consuming task.
In this write-up, we will look at how to change SSH's well-known TCP port 22 to a unique port number to minimize the number of attack attempts via SSH.

Debian 11 (Bullseye) LAMP server v1.0 installation

botond published 2022/09/06, k - 17:12 time
With the help of LAMP systems, we can run dynamic websites on our server or even on our home computer. In this description, we will create a LAMP server on the Debian 11 (Bullseye) operating system, on which the following components will be installed: Apache 2.4.54, MariaDB 10.5.15, PHP 7.4 and phpMyAdmin 5.0.4, UFW firewall.

Installing, configuring and using a UFW firewall on Debian / Ubuntu systems

botond published 2022. 06. 27., h - 12:54 time
UCW (Uncomplicated Firewall) is an easy-to-use netfilter firewall management program. It uses a command line interface that consists of a few simple commands and uses iptables for configuration, so it is the frontend of iptables. In this description we will look at the installation and basic use and configuration of the UFW firewall, the steps of which I will perform on a minimal Debian 11 server.

UFW (Uncomplicated Firewall)

botond published 2022/06/26, v - 15:52 time
Uncomplicated Firewall (UFW) is one such frontend of iptables and is particularly suitable for server-based firewalls. Ufw provides a framework for managing netfilter, as well as a command-line interface for managing a firewall that uses few and simple commands. Ufw is designed to provide an easy-to-use interface for those unfamiliar with firewall concepts, while simplifying complex iptables commands to help administrators who know what they are doing. UFW is also an upstream software package for other distributions and graphical frontends.

Install Ubuntu 20.04 LTS (Focal Fossa) LAMP Server v1.0

botond published Jan. 2020, 10, 21:18 p.m. time
With the help of LAMP systems, we can run dynamic web pages on our server or even on our home computer. I have previously built LAMP servers for Debian 8 (Jessie), Debian 9 (Stretch) and Ubuntu 18.04 LTS (Bionic Beaver), and in this description we will install the LAMP server components for the Ubuntu 20.04 LTS (Focal Fossa) Linux distribution.

Perfect Server: Debian 10 (Buster) V1.0 (Page 2)

botond published March 2020, 01, Thu - 02:17 time
In this tutorial, we build the perfect Debian 10 (Buster) server version 1.0, which we build on the previous Debian 10 (Buster) LAMP server. This page installs the following components: FTP server, Quota, BIND DNS server, web statistics, Jailkit, Fail2Ban and UFW firewall.

Perfect server: Debian 9 (stretch) V1.0 (page 3)

botond published 2019. 01. 21., h - 17:56 time
On the third page of this tutorial, we continue to build the perfect 9 version of Debian 1.0 (Stretch) by installing the following components: Quota quota system, BIND DNS server, Webalizer, AWstats web statistics, Jailkit, Fail2Ban and UFW firewall

Fail2Ban

botond published 2018/07/15, v - 10:17 time
Introducing the Fail2Ban program in the encyclopedia