Təhlükəsizlik

Configure a firewall with UFW

Allow only the ports you need on Ubuntu and Debian. · 3 dəq oxu

Bu səhifə hələlik ingilis dilindədir. Tərcümə tezliklə əlavə ediləcək.

apt -y install ufw
ufw default deny incoming
ufw default allow outgoing
ufw allow OpenSSH
ufw allow 80/tcp
ufw allow 443/tcp
ufw enable
ufw status verbose

Allow SSH only from your office IP:

ufw delete allow OpenSSH
ufw allow from 203.0.113.10 to any port 22 proto tcp

If you lock yourself out, use the VNC console in the client area and run ufw disable.

Mühəndislərin əllə qurduğu server sifariş edin və ya bizə yazın — 24/7 onlaynıq. Dəstək →

Təhlükəsizlik

Bütün təlimatlar

Layihənizi işə salmağa hazırsınız?

Mühəndislərin əllə qurduğu server sifariş edin və ya bizə yazın — 24/7 onlaynıq.