From owner-freebsd-stable Wed Jul 19 6: 5:56 2000 Delivered-To: freebsd-stable@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 6929237BD9A for ; Wed, 19 Jul 2000 06:05:49 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.9.3/1.13) id QAA63138; Wed, 19 Jul 2000 16:04:36 +0300 (EEST) Date: Wed, 19 Jul 2000 16:04:36 +0300 From: Ruslan Ermilov To: Shawn Barnhart Cc: stable@FreeBSD.org Subject: Re: natd changes? Message-ID: <20000719160436.A62577@sunbay.com> Reply-To: stable@FreeBSD.org Mail-Followup-To: Shawn Barnhart , stable@FreeBSD.org References: <003c01bff17e$f6d85810$0102a8c0@k6> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <003c01bff17e$f6d85810$0102a8c0@k6>; from swb@grasslake.net on Wed, Jul 19, 2000 at 07:43:39AM -0500 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Jul 19, 2000 at 07:43:39AM -0500, Shawn Barnhart wrote: > After finally sorting out my "new" hardware's issues (bad stick of > SDRAM, for those who care) and getting world to build again, I've > noticed that natd has changed. Gone is the -pptp_alias option, replaced > with the much more functional -redirect_proto option. > > Since I was a user of the old facility for a Cisco-Cisco GRE tunnel, > this kind of caught me off guard. I did a quickie search of mailing > lists and didn't find anything recent mentioning natd and pptp. No > gripes mind you, we've now got generalized IP protocol redirection and > not the application specific stuff we had before. But when did this > change? > Here is the summary of changes into libalias(3) and natd(8) since 4.0-RELEASE: - Load Sharing using IP Network Address Translation (RFC 2391, LSNAT) - New options: -redirect_proto, -target_addr and -punch_fw - Removed -pptpalias since this is now done transparently by libalias(3) Note that you DO NOT need -redirect_proto for PPTP through NAT to work, this is now done transparently in libalias(3) and much better: - 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. Please see manual page for details. 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-stable" in the body of the message