Linux Netfilter discussions
 help / color / mirror / Atom feed
From: hanxin <benny@telindus.com.hk>
To: netfilter <netfilter@lists.netfilter.org>
Subject: Re: ip range generic matches
Date: 26 Feb 2003 14:44:33 +0800	[thread overview]
Message-ID: <1046241881.936.2.camel@mobile_benny> (raw)
In-Reply-To: <7dfe27f780.7f7807dfe2@student.uml.edu>

[-- Attachment #1: Type: text/plain, Size: 637 bytes --]

在 2003-02-26 三 的 14:23, William Olbrys 写道:
> is there a syntax to to create a generic match for a range of ips
> instead of the whole thing? 
> 
> ex.: $IPTABLES -t filter -A FORWARD -s 10.1.2.0-10.1.5.255 -j ACCEPT
> 

use netmask, 
ex. : iptables -t filter -A FORWARD -s 10.1.0.0/16 -j ACCEPT

> i tried to do this and it gave me an error about not being able to find
> the host. is there a workaround?
> 
> will olbrys
> 
> 
> 
>  E2-O: The presence of this footer indicates the message has been scanned for viruses by the WebShield e500.
> 
> 
> 
-- 

Regards,
Benny


pub  1024D/2A4B237A


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2003-02-26  6:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-26  6:23 ip range generic matches William Olbrys
2003-02-26  6:44 ` hanxin [this message]
2003-02-26  8:27 ` Esteban
2003-02-26  8:31 ` Joel Newkirk

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=1046241881.936.2.camel@mobile_benny \
    --to=benny@telindus.com.hk \
    --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