• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Resolved iptables block IP network area

shopuser

Basic 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