Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Sep 1998 05:36:59 -0400 (EDT)
From:      "Woodchuck"  <djv@bedford.net>
To:        sno@teardrop.org (James Snow)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: pppd + natd
Message-ID:  <199809210936.FAA19958@lucy.bedford.net>
In-Reply-To: <Pine.BSF.4.02A.9809181129320.10711-100000@silver.teardrop.org> from James Snow at "Sep 18, 98 11:36:50 am"

next in thread | previous in thread | raw e-mail | index | archive | help
James Snow wrote:
> 
> I'm having some trouble getting NAT going over ppp with pppd and natd.
> 
> In this instance, the machines inolved look something like this
> 
> 10.0.0.28 <--> 10.0.0.99/Dialup-IP <--> Dialup Gateway <--> Internet
>    PC              pppd + natd              ISP  & the rest of the world
>                      machine
> 
> The output to the console as given by the -v option of natd is this:
> 
> In [TCP]  10.0.0.28 -> some.real.net.ip:23 aliased to
>           10.0.0.28 -> some.real.net.ip:23
> 
> Logic dictates, and some stuff I've read confirms, that this is not doing
> anything. No change was made to the IP headers on the packets involved. It
> should have read
> 
> In [TCP]  10.0.0.28 -> some.real.net.ip:23 aliased to
>           10.0.0.99 -> some.real.net.ip:23
            ^^^^^^^^^ this doesn't get you anything better. "real.net.ip"
will still have no idea who 10.0.0.99 is.

In should look more like


 In [TCP]  10.0.0.28 -> some.real.net.ip:23 aliased to
           Dialup.ip.real.address -> some.real.net.ip:23

Probably posting /etc/rc.firewall would be helpful.

are you starting natd with an interface switch? such as

	natd -interface ppp0

easy to forget...

D.
-- 
             Su accion letal comienza en pocas horas

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809210936.FAA19958>