All of lore.kernel.org
 help / color / mirror / Atom feed
* Fw: Fw: [Bugme-new] [Bug 4180] New: masquarade and source ip
@ 2005-02-07 19:42 David S. Miller
  2005-02-07 20:15 ` Patrick McHardy
  0 siblings, 1 reply; 4+ messages in thread
From: David S. Miller @ 2005-02-07 19:42 UTC (permalink / raw)
  To: netfilter-devel


Didn't this get changed on purpose?

Begin forwarded message:

Date: Mon, 7 Feb 2005 11:18:22 -0800
From: Andrew Morton <akpm@osdl.org>
To: netdev@oss.sgi.com
Cc: spied@yandex.ru
Subject: Fw: [Bugme-new] [Bug 4180] New: masquarade and source ip




Begin forwarded message:

Date: Mon, 7 Feb 2005 10:16:56 -0800
From: bugme-daemon@osdl.org
To: bugme-new@lists.osdl.org
Subject: [Bugme-new] [Bug 4180] New: masquarade and source ip


http://bugme.osdl.org/show_bug.cgi?id=4180

           Summary: masquarade and source ip
    Kernel Version: 2.6.10
            Status: NEW
          Severity: normal
             Owner: laforge@gnumonks.org
         Submitter: spied@yandex.ru


i try next on router (eth0 - inernet, eth1 - localnet):

ip addr add eth0 1.2.3.4
ip addr add eth0 2.3.4.5

ip route add default via 2.3.4.6 src 2.3.4.5

iptables  -t nat -A POSTROUTING -s 10.0.0.0/8 -d ! 10.0.0.0/8 -j MASQUERADE

if i do ping www.google.com from router source ip is 2.3.4.5, but if i do ping
from local network source ip is 1.2.3.4 (i think it's wrong)

with older kernel source ip is always set to 2.3.4.5

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

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

end of thread, other threads:[~2005-02-08  2:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-07 19:42 Fw: Fw: [Bugme-new] [Bug 4180] New: masquarade and source ip David S. Miller
2005-02-07 20:15 ` Patrick McHardy
2005-02-07 20:14   ` David S. Miller
2005-02-08  2:21     ` Rusty Russell

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.