From owner-freebsd-questions Wed Aug 14 10: 0:28 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA66237B400 for ; Wed, 14 Aug 2002 10:00:23 -0700 (PDT) Received: from services.webwarrior.net (overlord-host99.dsl.visi.com [209.98.86.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CFBB43E3B for ; Wed, 14 Aug 2002 10:00:22 -0700 (PDT) (envelope-from friar_josh@webwarrior.net) Received: from heater.vladsempire.net (12-218-27-215.client.mchsi.com [12.218.27.215]) by services.webwarrior.net (Postfix) with ESMTP id 020A225210; Wed, 14 Aug 2002 12:00:28 +0000 (GMT) Subject: Re: FreeBSD as VPN server From: Josh Paetzel Reply-To: friar_josh@webwarrior.net To: Sicco Miedema Cc: Jim McAtee , freebsd-questions@FreeBSD.ORG In-Reply-To: <5.1.0.14.0.20020813234000.024f5000@192.168.1.1> References: <5.1.0.14.0.20020813214645.024a99a8@192.168.1.1> <5.1.0.14.0.20020813234000.024f5000@192.168.1.1> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 14 Aug 2002 11:58:50 +0000 Message-Id: <1029326332.305.32.camel@heater.vladsempire.net> Mime-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 2002-08-13 at 21:54, Sicco Miedema wrote: > At 14:16 13-8-2002 -0600, Jim McAtee wrote: > > > >If you're just going to connect to a Win machine running terminal services, > >why the need for a VPN? Terminal services already offers encryption. > > I tried that but I can't get the port to forward to my windows machine. > I typed: > #natd -redirect_port 192.168.1.2:3389 3389 > causes error: aliasing not given, so i did some research and typed: > #natd -redirect_port 192.168.1.2:3389 3389 -a 213.51.240.XXX (XXX = last > three numbers of external IP) > gives error address already in use > > > It might be a simple task for some BSD experts but i've been breaking my > head on this one all day > > Sicco Miedema > *well tomorrow is another day :)* 1) The syntax for your natd command is wrong. It should be: -redirect_port tcp 192.168.1.2:3389 3389. 2) You actually need to be running natd and ipfw with appropriate rulesets and kernel options. Josh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message