From owner-freebsd-questions Thu May 17 21:36:56 2001 Delivered-To: freebsd-questions@freebsd.org Received: from zaltana.hermans.ca (188.209-115-183-0.interbaun.com [209.115.183.188]) by hub.freebsd.org (Postfix) with ESMTP id 88B3937B422 for ; Thu, 17 May 2001 21:36:29 -0700 (PDT) (envelope-from jamie@hermans.ca) Received: from jhermans.inside.hermans.ca (jhermans.inside.hermans.ca [192.168.25.100]) by zaltana.hermans.ca (8.11.3/8.11.3) with SMTP id f4I4ZiF50360; Thu, 17 May 2001 22:35:44 -0600 (MDT) (envelope-from jamie@hermans.ca) From: Jamie Hermans To: mac.list@deam.org (mac), freebsd-questions@freebsd.org Subject: Re: NAT and portforwarding Date: Thu, 17 May 2001 22:35:51 -0600 Organization: hermans.ca Message-ID: References: In-Reply-To: X-Mailer: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: X-Loop: FreeBSD.ORG On Fri, 18 May 2001 03:57:33 +0200, mac.list@deam.org (mac) wrote: >hi there, > >first of all: >i have 4.3 and nat with some minimal firewall-rulez. >there are currently no static-nat-entries and the machine only have=20 >one public and one private number on different interfaces. > >what i need: >i have a vnc-server running on a mchine in my private network and i=20 >want to connect from outside. >is this possible and if yes: can i use a different port than the = vnc-port on ?! > > >i know, this sounds a bit silly and the security is then a mess, but=20 >i wanna try out if this is possible. > >thanks in advance >mac In my /etc/natd.conf, I have: redirect_port tcp 192.168.xx.yy:5800 5800 redirect_port tcp 192.168.xx.yy:5900 5900 This redirects the VNC control port and the data channel from the nat'd interface to the machine you specify. ... Jamie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message