From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 11 08:12:28 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D4BC37B401 for ; Fri, 11 Jul 2003 08:12:28 -0700 (PDT) Received: from babyruth.hotpop.com (babyruth.hotpop.com [204.57.55.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6068843FAF for ; Fri, 11 Jul 2003 08:12:27 -0700 (PDT) (envelope-from xtomservox@hotpop.com) Received: from hotpop.com (kubrick.hotpop.com [204.57.55.16]) by babyruth.hotpop.com (Postfix) with SMTP id 9CA0A2135CB for ; Fri, 11 Jul 2003 15:12:23 +0000 (UTC) Received: from esmith (dca-29-c-210.dca.dsl.cerfnet.com [63.242.170.210]) by smtp-3.hotpop.com (Postfix) with ESMTP id F2BD54774F4 for ; Fri, 11 Jul 2003 15:07:49 +0000 (UTC) From: "Tom Servo" To: Date: Fri, 11 Jul 2003 11:07:55 -0400 Message-ID: <0193271C683D5844A478A359271B8F66147B06@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: IPFW fun X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jul 2003 15:12:28 -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."