All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Tennant <simon@imaginator.com>
To: Steve Fink <sphink@gmail.com>
Cc: Jan Engelhardt <jengelh@medozas.de>, netfilter@vger.kernel.org
Subject: Re: DNAT issue (with added network diagram)
Date: Mon, 03 May 2010 18:52:08 +0200	[thread overview]
Message-ID: <4BDEFF38.1000901@imaginator.com> (raw)
In-Reply-To: <h2y7d7f2e8c1005030924kdb8bb20u9c71b7fa0d3a8ae6@mail.gmail.com>

On 03/05/2010 18:24, Steve Fink wrote:
> iptables -t nat -A OUTPUT -p tcp -d maar --dport 443 -j DNAT
> --to-destination localhost:5222
>    
Perfect!  Works.  I was using PREROUTING instead of output:

iptables -t nat -A PREROUTING -p tcp -d maar --dport 443 -j DNAT 
--to-destination localhost:5222

Thanks.

S.

-- 
Simon Tennant

+44 20 7043 6756 (UK - office)
+49 17 8545 0880 (Germany - mobile)
+49 89 4209 55854 (Germany - office)
skype: simontennant
xmpp: simon@buddycloud.com


      reply	other threads:[~2010-05-03 16:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-03 13:23 DNAT issue (with added network diagram) Simon Tennant
2010-05-03 14:01 ` Jan Engelhardt
2010-05-03 14:21   ` Simon Tennant
2010-05-03 16:24     ` Steve Fink
2010-05-03 16:52       ` Simon Tennant [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=4BDEFF38.1000901@imaginator.com \
    --to=simon@imaginator.com \
    --cc=jengelh@medozas.de \
    --cc=netfilter@vger.kernel.org \
    --cc=sphink@gmail.com \
    /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.