From owner-freebsd-newbies@FreeBSD.ORG Thu Jul 10 08:50:06 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 130FE37B401 for ; Thu, 10 Jul 2003 08:50:06 -0700 (PDT) Received: from twix.hotpop.com (twix.hotpop.com [204.57.55.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C8B343FA3 for ; Thu, 10 Jul 2003 08:50:05 -0700 (PDT) (envelope-from xtomservox@hotpop.com) Received: from hotpop.com (kubrick.hotpop.com [204.57.55.16]) by twix.hotpop.com (Postfix) with SMTP id 171D646D2BB for ; Thu, 10 Jul 2003 15:50:01 +0000 (UTC) Received: from esmith (dca-29-c-210.dca.dsl.cerfnet.com [63.242.170.210]) by smtp-2.hotpop.com (Postfix) with ESMTP id 8B7B7180110 for ; Thu, 10 Jul 2003 15:48:04 +0000 (UTC) From: "Tom Servo" To: Date: Thu, 10 Jul 2003 11:48:07 -0400 Message-ID: <0193271C683D5844A478A359271B8F66147AFB@DC1.dynatec.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- Subject: Packet redirect X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2003 15:50:06 -0000 Hey- I have a freebsd gateway machine that runs ipfw and nat for my home = network and I want to add a rule that redirects VNC packets through the gateway = to my windows machine so that I can VNC to my home machine to do some = stuff. How should I phrase the rule correctly without screwing up the natd = service? I am guessing it should go something like this: ipfw add 1000 divert 8888 ip from any to 192.168.0.253:5800 via ep1 Is this correct? I need it to only redirect packets for the VNC port. Thanks -ts ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "On really romantic nights of self, I go salsa dancing with my = confusion."