Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A Question on IP Tables
02-10-2010, 03:47 PM (This post was last modified: 02-13-2010 07:37 PM by trevorlawrence.)
Post: #1
A Question on IP Tables
Hi,

I would like to know if for an example, i want to block a range of IP address let say 124.217.0.0/16 so the command should be as below:-

iptables -A INPUT -s 124.217.0.0/255.255.0.0 -j DROP

Now my question is, how about if I want to ONLY allow certain IP address from the above range? What command should I use? Let say I want to ALLOW IP 124.217.120.15, in this case, what command should I use since this IP already been blocked in the list???

Thanks,
Trevor.

debt
Find all posts by this user
Quote this message in a reply
03-03-2010, 04:06 PM
Post: #2
RE: A Question on IP Tables
Just hold down my one friend is there who is network administration in IT company.
So i will discuss with him about this one view and after that i will post here. till please hold down.

Thanks.

dsi xl
Find all posts by this user
Quote this message in a reply
07-22-2010, 04:40 PM
Post: #3
RE: A Question on IP Tables
It's been a long time you have posted this query and then since there is no exact reply to it. Even I don't have any suggestion or an answer to this query and it seems totally new to me. A buddy is a professional network engineer having a work experience of 10+ years. I can ask him if he can figure out this query.

bingo
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: