Thẻ: ubuntu
-
Kiểm tra xem đứa nào đang kết nối tới cổng nào trên server – ddos
netstat -tn 2>/dev/null | grep :3306 | awk ‘{print $5}’ | cut -d: -f1 | sort | uniq -c | sort -nr | head netstat -tn 2>/dev/null | grep :80 | awk ‘{print $5}’ | cut -d: -f1 | sort | uniq -c | sort -nr | head netstat -tn 2>/dev/null | grep :443 |…
-
Procedure: Ubuntu 18.04 LTS Set Up OpenVPN Server In 5 Minutes
Link: https://www.cyberciti.biz/faq/ubuntu-18-04-lts-set-up-openvpn-server-in-5-minutes/ The steps are as follows: Step 1 – Update your system Run the apt command/apt-get command: $ sudo apt update $ sudo apt upgrade Step 2 – Find and note down your IP address A note about IP address Most cloud servers have two types of IP address: Public static IP address directly assigned to…
-
Cách install certbot cho ubuntu
apt install certbotapt install python3-certbot-nginxsudo certbot –nginx