https://wq.apnic.net/static/search.html
root@DDNS:/home/hckao# iptables -L --line-numbers
Chain INPUT (policy ACCEPT)
num target prot opt source destination
1 DROP all -- 185.0.0.0/8 anywhere
2 DROP all -- anywhere 185.0.0.0/8
3 DROP all -- 177.0.0.0/8 anywhere
4 DROP all -- anywhere 177.0.0.0/8
5 DROP all -- 103.99.0.0/16 anywhere
6 DROP all -- 103.99.0.0/16 anywhere
7 DROP all -- 103.99.0.0/16 anywhere
8 DROP all -- 103.99.0.0/16 anywhere
9 DROP all -- 103.99.0.0/16 anywhere
10 DROP all -- anywhere 103.99.0.0/16
11 DROP all -- 103.99.0.0/16 anywhere
12 DROP all -- anywhere 103.99.0.0/16
13 DROP all -- 103.99.0.0/16 anywhere
14 DROP all -- anywhere 103.99.0.0/16
15 DROP all -- 103.99.0.0/16 anywhere
16 DROP all -- anywhere 103.99.0.0/16
show出行號
iptables -L --line-numbers
刪除第幾行的規則, INPUT 必須是大寫
iptables -D INPUT 3
LIST
**********************
show出行號
iptables -L --line-numbers
刪除第幾行的規則, INPUT 必須是大寫
iptables -D INPUT 3
iptables -L INPUT
iptables -L INPUT -v
iptables -S
***************************
######
俄羅斯
IP 位址: 185.46.13.170
sudo iptables -A INPUT -s 185.0.0.0/255.0.0.0 -j DROP
sudo iptables -A INPUT -d 185.0.0.0/255.0.0.0 -j DROP
######
IP 位址 : 177.225.200.200
PTR : customer-ZRA-200-200.megared.net.mx
IP 位置 : 墨西哥
sudo iptables -A INPUT -s 177.0.0.0/255.0.0.0 -j DROP
sudo iptables -A INPUT -d 177.0.0.0/255.0.0.0 -j DROP
#####
sudo iptables -A INPUT -s 103.99.0.0/255.255.255.0 -j DROP
sudo iptables -A INPUT -d 103.99.0.0/255.255.255.0 -j DROP
sudo iptables -A INPUT -s 103.99.1.0/255.255.255.0 -j DROP
sudo iptables -A INPUT -d 103.99.1.0/255.255.255.0 -j DROP
sudo iptables -A INPUT -s 103.99.2.0/255.255.255.0 -j DROP
sudo iptables -A INPUT -d 103.99.2.0/255.255.255.0 -j DROP
sudo iptables -A INPUT -s 103.99.3.0/255.255.255.0 -j DROP
sudo iptables -A INPUT -d 103.99.3.0/255.255.255.0 -j DROP