From owner-freebsd-questions Wed Aug 2 9:10:34 2000 Delivered-To: freebsd-questions@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id A650A37B70C for ; Wed, 2 Aug 2000 09:10:28 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.9.3/1.13) id TAA36323; Wed, 2 Aug 2000 19:10:14 +0300 (EEST) Date: Wed, 2 Aug 2000 19:10:14 +0300 From: Ruslan Ermilov To: Philip Hallstrom Cc: freebsd-questions@freebsd.org Subject: Re: natd: -pptpalias option is no longer in 4.x? Message-ID: <20000802191014.B36141@sunbay.com> Mail-Followup-To: Philip Hallstrom , freebsd-questions@freebsd.org References: <20000802100800.A38020@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from philip@adhesivemedia.com on Wed, Aug 02, 2000 at 08:13:51AM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Aug 02, 2000 at 08:13:51AM -0700, Philip Hallstrom wrote: > (see below) > > On Wed, 2 Aug 2000, Ruslan Ermilov wrote: > > On Tue, Aug 01, 2000 at 04:45:44PM -0700, Philip Hallstrom wrote: > > > Hi - > > > I seem to remember reading something that says that in 4.x the > > > -pptpalias is no longer needed with 4.x, but I can't seem to find that > > > message, nor can I find anything that explains what changed. > > > > > > My guess is that natd can now translate multiple MS VPN (pptp) connections > > > simulatanously? > > > > > > Can anyone confirm this hunch? > > > > > natd(8) uses libalias(3) library for all NAT duties, and that library was > > made to transparently support PPTP, thus -pptpalias has gone. > > > > Unfortunately, it was later discovered that PPTP aliasing does not work when > > more than one internal client connects to the same external server at the > > same time, because PPTP requires a single TCP control connection to be > > established between any two IP addresses. Hopefully, this will be fixed in > > the future. This is documented in 5.0-CURRENT's libalias(3) manual page. > > > Is the reverse also true? That is, can multiple external clients connect > to an internal server (either NT or the freebsd pptp port) at the same > time? > Before the bug was discovered, the following were known to work (copied from the CVS log history): : - Multiple PPTP clients behind NAT to the same or different servers. : : - Single PPTP server behind NAT -- you just need to redirect TCP : port 1723 to a local machine. Multiple servers behind NAT is : possible but would require a simple API change. The second paragraph should answer your question. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message