Lê Thị Thuỳ Trang
New member
How do you filter IP address in Linux?
Answer
How to block IP address on Linux server
Answer
How to block IP address on Linux server
- Step 1: Login as root user. Login to your server as root user ssh
[email protected]
- Step 2: Add new Iptables rule. Enter the following rule to block an IP address from accessing your server iptables -A INPUT -s IP-ADDRESS -j DROP. …
- Step 3: Saving Iptables rule. On Ubuntu: