From: Edmundo Carmona <eantoranz@gmail.com>
To: netfilter@lists.netfilter.org
Subject: why isn't masquerade working?
Date: Thu, 21 Jul 2005 22:06:45 -0400 [thread overview]
Message-ID: <65aa6af9050721190612c5cbf2@mail.gmail.com> (raw)
This is the first time I ever see this kind of problem... maybe it's
because I have such a weird configuration right now.
I'm testing a host with two internet connections.
the default route is only one of the two connections. The other link
is not involved at all. However, I set a rule in OUTPUT mangle that
will mark icmp traffic and then I have an ip rule that forces it to
use a routing table that is configured to use the "unused link".
I thought that it meant that icmp would come out from that interface..
and as I am masquerading traffic through that interface, the src
address would be set to that interface's address.
It's a BIG surprise to see that it's not happening. I tcpdumped
traffic and noticed that traffic is coming through the unused
interface... but still has the src address of the other interface. Is
that normal?
And how can I make it to use the "correct" address?
next reply other threads:[~2005-07-22 2:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-22 2:06 Edmundo Carmona [this message]
2005-07-22 4:59 ` why isn't masquerade working? Edmundo Carmona
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=65aa6af9050721190612c5cbf2@mail.gmail.com \
--to=eantoranz@gmail.com \
--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