From owner-freebsd-questions@FreeBSD.ORG Fri Dec 19 11:14:38 2003 Return-Path: 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 1DDC116A4CE for ; Fri, 19 Dec 2003 11:14:38 -0800 (PST) Received: from riot.premsoft.co.za (www.rune.za.net [196.37.142.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D79C43D46 for ; Fri, 19 Dec 2003 11:14:31 -0800 (PST) (envelope-from jaco@premsoft.co.za) Received: (qmail 2004 invoked by uid 1003); 19 Dec 2003 19:12:22 -0000 Received: from jaco@premsoft.co.za by riot.premsoft.co.za by uid 89 with qmail-scanner-1.20 (clamscan: 0.65. Clear:RC:1(127.0.0.1):. Processed in 0.046932 secs); 19 Dec 2003 19:12:22 -0000 Received: from unknown (HELO webmail.premsoft.co.za) (127.0.0.1) by localhost with SMTP; 19 Dec 2003 19:12:22 -0000 Received: from 196.39.12.116 (SquirrelMail authenticated user jaco@premsoft.co.za) by webmail.premsoft.co.za with HTTP; Fri, 19 Dec 2003 21:12:22 +0200 (SAST) Message-ID: <2063.196.39.12.116.1071861142.squirrel@webmail.premsoft.co.za> Date: Fri, 19 Dec 2003 21:12:22 +0200 (SAST) From: jaco@premsoft.co.za To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal Subject: [4.9-R] Ip forwarding for internal VNC. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Dec 2003 19:14:38 -0000 Hi everybody, I have the following setup: FreeBSD Server (4.9-R) 2 NIC's [xl0,Public Range IP, 196.xx.xx.xx] [xl1,Private Range IP, 192.168.0.1] Windows 2k server [Private IP, 192.168.0.2] The Windows 2000 server is running VNC and is serving as an application server for windows software that is not-so-stable on FreeBSD. :P (The windows machine is not connected directly to the Internet for obvious reasons ;) ) What I want: I want to be able to connect to the VNC service running on the Windows machine, via the Internet. Is it possible to set up port forwarding so that if I connect to the FreeBSD machine on port 5800, the request be forwarded to the Windows machine on port 5800? Do I need to set up the FreeBSD machine in any specific way to accomplish this setup? Thank you in advance. Please copy me in any replies, as I am only subscribed to the digest. Thank you. Regards Jaco van Tonder