Jump to content
sleed

Tutorial Instalare Firewall Ubuntu

Recommended Posts

M au rugat mai multi membri, sa postez un tutorial , despre firewall pentru ubuntu. Am sa postez aici ce trebuie sa instalati ; V-om folosi UFW Firewall. Este disabled by default.

Bun de ce avem nevoie ?:

1. Accesam comanda in consola ca root privilegiat :

sudo ufw enable

2. sudo ufw status - Sa vedem statusul Firewall-ului

3. sudo ufw deny proto tcp from 100.193.194.195 to any port 22 , pentru a limita traficul TCP , de la adresa IP respectiva.

4.sudo ufw allow ssh - pentru a lasa liber traficul care se face in functie de ssh

5. sudo ufw reject out ssh - pentru a nu lasa conexiunile de tip ssh.

Se mai poate instala si interfata grafica :

sudo apt-get install gufw

Comenzi pentru Firewall:

sudo ufw allow ssh/tcp

sudo ufw logging on

sudo ufw enable

sudo ufw status

Se poate folosi si CSF pentru UBUNTU, dar si UFW este bun.

Sursa :

  • Upvote 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...