Networking Forums

Networking Forums > Computer Networking > Linux Networking > How to block a group of IP's with linux firewall

Reply
Thread Tools Display Modes

How to block a group of IP's with linux firewall

 
 
smgorham@hotmail.com
Guest
Posts: n/a

 
      01-26-2005, 08:24 PM
I am using Redhat 9 and need to block a whole group of IP's using
IPTABLES. I tried 64.84.0.0 but that didnt do it. How do I block the
who range?

 
Reply With Quote
 
 
 
 
Noah Roberts
Guest
Posts: n/a

 
      01-26-2005, 08:30 PM

smgor...@hotmail.com wrote:
> I am using Redhat 9 and need to block a whole group of IP's using
> IPTABLES. I tried 64.84.0.0 but that didnt do it. How do I block the
> who range?


Look at the manual, I think this would do it...

iptables -t filter -I INPUT -p tcp --source-addr 64.84.0.0/16 -j DROP
iptables -t filter -I FORWARD -p tcp --source-addr 64.84.0.0/16 -j DROP

Do a google search for blocking domains also...I ran across the answer
in that search once.

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to block Viruses using SPI (Stateful packet inspection) using Linux box GS Linux Networking 1 06-17-2006 04:01 PM
LINUX/shorewall firewall to firewall VPN question sundog@mountaindogs.net Linux Networking 3 03-14-2006 04:04 PM
firewall don't block ports 135, 445, 1026 gik Windows Networking 3 09-09-2005 07:09 AM
XP SP2 and group policy for manage firewall User Windows Networking 1 09-03-2004 06:12 PM
configuring suse firewall to block outgoing SMB? David Brower Linux Networking 1 04-17-2004 05:01 AM



1 2 3 4 5 6 7 8 9 10 11