All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ramin Dousti <ramin@cannon.eng.us.uu.net>
To: Kilson Arruda <iptables@onwave.com.br>
Cc: netfilter@lists.netfilter.org
Subject: Re: Some subject
Date: Wed, 10 Sep 2003 13:43:40 -0400	[thread overview]
Message-ID: <20030910174340.GA24654@cannon.eng.us.uu.net> (raw)
In-Reply-To: <20030910170222.ACD1459AC9@pandora.onwave.com.br>

First of all the notation is:

-d, --destination [!] address[/mask]

and not:

[!] -d, --destination address[/mask]

Secondly, there is only one "-d" permitted in each rule. If you can bundle
the IP's with the mask you're fine otherwise you need to have multiple rules.

Ramin

On Wed, Sep 10, 2003 at 01:02:22PM -0300, Kilson Arruda wrote:

> I have a Transparent Proxy like this
> 
> $IPTABLES -t nat -A PREROUTING -p tcp
> --dport 80 ! -d $DIRECT_IP -m mac --mac-source $MAC -j REDIRECT --to-port
> 3128
> 
> Question: can I use more then one "! -d", or multiple IPs to don't REDIRECT
> the port 80 for more then one IP?
> If yes, how can I do this?
> 
> --
> Kilson Arruda
> Linux User # 228238
> 
> 
> 
> ________________________________________________
> www.onwave.com.br - Internet e Conectividade
> 
> 


  reply	other threads:[~2003-09-10 17:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-10 16:02 (no subject) Kilson Arruda
2003-09-10 17:43 ` Ramin Dousti [this message]
2003-09-10 18:53 ` Alistair Tonner

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=20030910174340.GA24654@cannon.eng.us.uu.net \
    --to=ramin@cannon.eng.us.uu.net \
    --cc=iptables@onwave.com.br \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.