From: Jonathan Disher <jdisher@parad.net>
To: Ramin Dousti <ramin@cannon.eng.us.uu.net>
Cc: netfilter@lists.netfilter.org
Subject: Re: odd problem
Date: Tue, 7 Oct 2003 16:07:58 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.4.53.0310071547280.6029@pasiphae.parad.net> (raw)
In-Reply-To: <20031007181405.GA9394@cannon.eng.us.uu.net>
On Tue, 7 Oct 2003, Ramin Dousti wrote:
> Can you see response packets on C1 being 172.17.0.3 (by tcpdump)?
> What you say is strange because the application on C would see
> packets like a.b.c.d -> 1.1.1.1 and if the application which is
> supposed to reply back is listening on 1.1.1.1 (alias address) then
> the response will have 1.1.1.1 with no need to SNAT.
Box C is sending responses out the correct interface, with the correct
destination address, but the source address is 172.17.0.3. This is why I
thought I needed an SNAT (although it's probably more likely that I just
need to beat the application and make it only bind to 1.1.1.1, then it
should only use that for replies).
What I'm using to test, right now, is sshd. However, by default, sshd
listens on *, so, that may be a factor. I'm going to go find this out.
However, in the meantime, I just wanted to pick the brains of someone more
knowledgeable in iptables/netfilter than I - I've never used iptables,
beyond some very very simple masquerading before.
Thanks!
-j
prev parent reply other threads:[~2003-10-07 20:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-07 17:22 odd problem Jonathan Disher
2003-10-07 18:14 ` Ramin Dousti
2003-10-07 20:07 ` Jonathan Disher [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=Pine.LNX.4.53.0310071547280.6029@pasiphae.parad.net \
--to=jdisher@parad.net \
--cc=netfilter@lists.netfilter.org \
--cc=ramin@cannon.eng.us.uu.net \
/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