Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Antony Stone <Antony@Soft-Solutions.co.uk>
To: netfilter@lists.netfilter.org
Subject: Re: dnat problem in transparent firewall
Date: Tue, 3 Aug 2004 13:33:26 +0100	[thread overview]
Message-ID: <200408031333.26952.Antony@Soft-Solutions.co.uk> (raw)
In-Reply-To: <200408031436.08494.raido@elin.ttu.ee>

On Tuesday 03 August 2004 12:36 pm, Raido Kurel wrote:

> Hello!
>
> I want to change destination ip in incoming packets.
>
> Needs:
> To change destination IP of some packets coming from Internet. ie to change
> dastination IP from aaa.aaa.aaa.12 to aaa.aaa.aaa.13
>
> What I have done:
> iptables rule:
>
> iptables -t nat -A PREROUTING -d aaa.aaa.aaa.12 -j DNAT --to-dest
> aaa.aaa.aaa.13

Do you have a FORWARD rule allowing packets through to aaa.aaa.aaa.13 after 
they've been NATted?

Antony.

-- 
Normal people think "If it ain't broke, don't fix it".
Engineers think "If it ain't broke, it doesn't have enough features yet".

                                                     Please reply to the list;
                                                           please don't CC me.



  reply	other threads:[~2004-08-03 12:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-03 11:36 dnat problem in transparent firewall Raido Kurel
2004-08-03 12:33 ` Antony Stone [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-08-04  7:10 Raido Kurel
2004-08-04  8:45 ` Antony Stone
2004-08-04 11:14   ` Raido Kurel
2004-08-04 11:30     ` Antony Stone
2004-08-04 12:05       ` Raido Kurel

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=200408031333.26952.Antony@Soft-Solutions.co.uk \
    --to=antony@soft-solutions.co.uk \
    --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