Kategorie: VestaCP

Installing plug-CSF, LFD for the panel VESTACP

Below a very simple way to install the plugin ConfigServer Security & Firewall (csf) VESTACP for the panel in a few very simple steps.

We log in to our server console to root.

charge and then run the script:

wget https://vestacp.ss88.uk/Install_CSF_on_VestaCP/Install.sh -O ./Install.sh
chmod 777 ./Install.sh
sudo ./Install.sh

That's all the plugin is installed 😉
Default is off

edit file /etc/csf/csf.conf

nano /etc/csf/csf.conf

I seek out the line:

TCP_IN = "

We add our panel port vestacp.

Line should look like this:

TCP_IN = "20,21,22,25,53,80,110,143,443,465,587,993,995,8083"

We can now run the plugin from the Web.
The script will automatically lock us erroneous log on to e-mail,ssh.

For their part, I recommend completely block certain countries.

How to do it?

admission write how we can block access to our server from a particular country using the CSF.
List of country codes is the most current blocking To use the option in the CSF must edit the file from the SSH:

/etc/csf/csf.conf

find the line:

CC_DENY = ""

codes and make it a country that we want to block:

CC_DENY = "US,GB,FROM"

Then save and restart CSF:

csf -r

Linux

Udostępnij
Opublikowane przez
Linux

Recent posts

KeePass2 2.52 w Ubuntu 22.04

The guide below describes how to install KeePass on Ubuntu. Całość wykonamy za pomocą kilku poleceń

2 years temu

Installing Master PDF editor in Ubuntu 22.04

Master PDF Editor is a comprehensive PDF program, which includes many features. Oprócz tworzenia i edycji

2 years temu

iotop - memory monitoring

Iotop jest prostym narzędziem dla systemów Uniksowych umożliwiającym monitorowanie użycia dowolnego nośnika pamięci flash/hdd/ssd w

2 years temu

Run multiple commands in one cron job

You can separate two or more commands with semicolons (;), Semicolon (;): służy do oddzielania

2 years temu

Changing the exif data of a photo in the Linux terminal

Poniższy poradnik opisuje w jaki sposób za pomocą konsoli możemy dokonać edycji danych zdjęcia exif.

2 years temu

Installing Rocket.Chat Server on Rocky Linux 8

The following guide describes how to install Rocket.Chat on Rocky Linux 8 Całość bardzo prosto zainstalujemy

2 years temu