All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrea Rossato <mailing_list@istitutocolli.org>
To: netfilter@lists.netfilter.org
Subject: Re: Modifying Source Ip on input/prerouting
Date: Wed, 11 Dec 2002 17:34:41 +0100	[thread overview]
Message-ID: <3DF76921.4080108@istitutocolli.org> (raw)
In-Reply-To: <20021211153854.GA9333@nath.rubis.org>

Stephane Jourdois wrote:
> The problem is that I wan't to change the incoming traffic...
> What I would need is something similar to :
> 	-A PREROUTING -j SNAT --from-source xxx

what you need is probably

iptables -A OUTPUT -t nat -j DNAT --to 1.2.3.4

iptables tutorial says that output chain in nat table is broken. but i 
don't know if it still is.
andrea



      reply	other threads:[~2002-12-11 16:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-11 13:58 Modifying Source Ip on input/prerouting Stephane Jourdois
2002-12-11 15:02 ` Andrea Rossato
2002-12-11 15:38   ` Stephane Jourdois
2002-12-11 16:34     ` Andrea Rossato [this message]

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=3DF76921.4080108@istitutocolli.org \
    --to=mailing_list@istitutocolli.org \
    --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.