Hello,
I want to block a whole ip pool with iptables, i know how to do this with APf.
Please let me know how can i do this by iptables with single command.
Thanks in advance
Blocking Ip Pool
-
- Lance Naik
- Posts: 25
- Joined: Thu Mar 31, 2005 2:26 am
Blocking Ip Pool
Regards,
Pasha
Pasha
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re: Blocking Ip Pool
Dear Kamranalilakhnavi,
Salam,
in above example 192.168.0.0-192.168.0.255 IP Addresses are Rejected
Best Regards.
Salam,
# iptables -I INPUT -s 192.168.0.1/24 -j REJECTKamranalilakhnavi wrote:I want to block a whole ip pool with iptables, i know how to do this with APf. Please let me know how can i do this by iptables with single command.
in above example 192.168.0.0-192.168.0.255 IP Addresses are Rejected
Best Regards.
Farrukh Ahmed