Linux Netfilter discussions
 help / color / mirror / Atom feed
* why isn't masquerade working?
@ 2005-07-22  2:06 Edmundo Carmona
  2005-07-22  4:59 ` Edmundo Carmona
  0 siblings, 1 reply; 2+ messages in thread
From: Edmundo Carmona @ 2005-07-22  2:06 UTC (permalink / raw)
  To: netfilter

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?


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-07-22  4:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-22  2:06 why isn't masquerade working? Edmundo Carmona
2005-07-22  4:59 ` Edmundo Carmona

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox