Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "John A. Sullivan III" <john.sullivan@nexusmgmt.com>
To: netfilter@lists.netfilter.org
Subject: Re: How to block a range of IPs?
Date: 28 Apr 2003 12:14:45 -0400	[thread overview]
Message-ID: <1051546485.1427.7.camel@jasiiitosh.nexusmgmt.com> (raw)
In-Reply-To: <20030427140602.30833.28944.Mailman@kashyyyk>

You can  use the tool at http://subnetcreator.sourceforge.net/ to easily
determine which subnets are contained in your IP address range.  The
same logic is being built into the iptables+ management tool being
developed in http://iscs.sourceforge.net/ .  However,even better,it
appears there is a patch available in patch-o-matic that allows one to
enter a range directly in iptables.  I haven't tried it yet but hope to
do so soon to replace that logic in ISCS.  Good luck - John

On Sun, 2003-04-27 at 10:06, netfilter-request@lists.netfilter.org
wrote:
> --__--__--
> 
> Message: 4
> From: "Afshin Lamei" <linux_st@hotmail.com>
> To: netfilter@lists.netfilter.org
> Subject: How to block a range of IPs?
> Date: Sun, 27 Apr 2003 10:41:54 +0430
> 
> Hi,
> How can I write a rule for a custom range of IPs? for example, I want to 
> block every WWW packet incoming from eth1, which source is an IP between 
> 192.168.1.10 and 192.168.1.20.
> please help me writing an example.
> thank you
> afshin
> 
> 
> 
> 
> 
> _________________________________________________________________
> Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
> http://join.msn.com/?page=features/junkmail
> 
> 
-- 
John A. Sullivan III
Chief Technology Officer
Nexus Management
+1 207-985-7880
john.sullivan@nexusmgmt.com
---
If you are interested in helping to develop a GPL enterprise class
VPN/Firewall/Security device management console, please visit
http://iscs.sourceforge.net 



       reply	other threads:[~2003-04-28 16:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20030427140602.30833.28944.Mailman@kashyyyk>
2003-04-28 16:14 ` John A. Sullivan III [this message]
2003-04-28 17:41   ` How to block a range of IPs? SaVaGE
2003-04-28 17:52     ` SaVaGE
2003-04-28 18:06       ` SaVaGE
2003-04-29  7:55   ` Jozsef Kadlecsik
2003-04-27  6:11 Afshin Lamei
2003-04-27  7:25 ` Michael K
2003-04-27 10:42   ` Martin Josefsson
2003-04-27  9:26 ` Cedric Blancher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1051546485.1427.7.camel@jasiiitosh.nexusmgmt.com \
    --to=john.sullivan@nexusmgmt.com \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox