All of lore.kernel.org
 help / color / mirror / Atom feed
From: Karl Fischer <karl.fischer@quantum.com>
To: dk@webcluster.at
Cc: Netfilter mailing list <netfilter@lists.samba.org>
Subject: Re: DNAT in OUTPUT chain
Date: Thu, 27 Jun 2002 22:37:04 +0200	[thread overview]
Message-ID: <3D1B7770.78F1647@quantum.com> (raw)
In-Reply-To: FIEPIOLBGHKEOJANBEKMKELHCCAA.dk@webcluster.at

Daniel Khan wrote:
> 
> Hello List,
> 
> I have a Problem with NAT on RedHat 7.3/iptables v1.2.5.
>
> So I use exactly the syntax from the HOWTO's:
> 
> iptables -A OUTPUT -t nat -p tcp --dport 3306 -j DNAT --to 10.1.0.212:3306

I just copied and pasted this line to my machine and it works fine here.
However, according to the man-page, I would try the following:

iptables -A OUTPUT -t nat -p tcp -m tcp --dport 3306 \
  -j DNAT --to-destination 10.1.0.212:3306

HTH

- Karl


      reply	other threads:[~2002-06-27 20:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-27 20:28 DNAT in OUTPUT chain Daniel Khan
2002-06-27 20:37 ` Karl Fischer [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=3D1B7770.78F1647@quantum.com \
    --to=karl.fischer@quantum.com \
    --cc=dk@webcluster.at \
    --cc=netfilter@lists.samba.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.