Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Nov 2000 10:40:13 -0600
From:      "Edward McGough" <emcgough@bbnow.net>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   mpd-netgraph & VPN
Message-ID:  <KEEDKMPGIDCHOIMANFMJKEFOCBAA.emcgough@bbnow.net>
In-Reply-To: <000d01c04f1f$6379a1b0$3103000a@gaston>

next in thread | previous in thread | raw e-mail | index | archive | help
Hey gang,

Gotta quick question.  Anyone have experience using mpd-netgraph? I'm trying
to use it for my freebsd box so that it can act as a VPN server.  I have it
installed no problem and it seems to work in a limited scenario.

Let me try to explain.


boxa---------
   10.0.0.2  |    10.0.0.1                     24.219.x.x
             |-------------FreeBSD_GatewayBox-------------INTERNET
             |
boxb---------
   10.0.0.3


Okay, from a microsoft box out on the internet I can directly authenticate
to my BSD box with no problem.  This is a box that has a public IP, so there
is no natting or anything weird like that going on.

But, when I try to authenticate to my BSD box at home going through a box on
a private IP addy, say 1.2.240.x that is gnatted through the public it will
not connect.  I have no other problems connecting to the BSD box from the
natted address, either through SSH or telnet..anything of that nature..no
problem.

So here is my question, and I don't know much about PPP or PPTP and how the
packet is put together, but, does ppp operate like tcp packets...using src
and dst port?  If so, then my PPP connection is never going to get
established 'cause the router doing the natting doesn't know where to send
the PPP packets...or...am I way in left field.

I just don't understand why I can't connect from a box being natted to my
machine at home when I can if I'm on a box with a public.

Any help would be appreciated.

Thanks!

Ed



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?KEEDKMPGIDCHOIMANFMJKEFOCBAA.emcgough>