• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Resolved iptables block IP network area

shopuser

Regular Pleskian
Hi,

how i can block a clomete IP Area with iptables ?
i know i can block for example from this ip 255 IP Adress from 88.247.117.0 - 88.247.117.255

iptables -A INPUT -s 88.247.117.0/24 -j DROP


and how i can block the network 88.247.XX.XX ?


thx
 
Hi shopuser,

first, pls. be informed, that this forum is a "Plesk - related" forum. Basic linux knowledge and depending questions should be asked in one of the thousands other places all over the internet.


Nevertheless, you might be interested in this link:

http://www.ipaddressguide.com/cidr ( external link, pls. inform me, if the link goes dead, so I can provide another working link )

where you can calculate CIDR ( Classless Inter-Domain Routing ) to IP range and IP range to CIDR online.


The IP range "88.247.0.0 - 88.247.255.255" ( which covers your question to ban all IPs from "88.247.XX.XX" ), would be the CIDR "88.247.0.0/16"
 
Back
Top