From owner-freebsd-questions Wed Jan 24 15:30:48 2001 Delivered-To: freebsd-questions@freebsd.org Received: from datasphereweb.com (c182500-a.frndl1.wa.home.com [24.10.46.121]) by hub.freebsd.org (Postfix) with SMTP id 2F55737B402 for ; Wed, 24 Jan 2001 15:30:30 -0800 (PST) Received: (qmail 10247 invoked by uid 1000); 24 Jan 2001 23:30:29 -0000 Date: Wed, 24 Jan 2001 15:30:29 -0800 From: David To: "Michael J. Turner" Cc: questions@freebsd.org Subject: Re: natd Message-ID: <20010124153029.A10223@datasphereweb.com> References: <002f01c0865a$169954e0$0204a8c0@net.Daimon> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <002f01c0865a$169954e0$0204a8c0@net.Daimon>; from mike@inethouston.net on Wed, Jan 24, 2001 at 05:04:58PM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Jan 24, 2001 at 05:04:58PM -0600, Michael J. Turner wrote: > Im trying to figure out how to redirect a certain port, I don't know if you should use > natd or not. But any how, what Im trying to do is where if im at a friends house > I could VNC to my windows machine at home. how do I configure it to do that? > if anyone can help I would really appreciate it. =) WinVNC uses port 58Ox AND 590x where x is the Display Number. You need to add some lines to /etc/natd.conf or whatever your natd file is. My natd.conf looks like: #set up VNC redirect_port tcp 192.168.1.2:5802 5802 redirect_port udp 192.168.1.2:5802 5802 redirect_port tcp 192.168.1.2:5902 5902 redirect_port udp 192.168.1.2:5902 5902 redirect_port tcp 192.168.1.4:5804 5804 redirect_port udp 192.168.1.4:5804 5804 redirect_port tcp 192.168.1.4:5904 5904 redirect_port udp 192.168.1.4:5904 5904 -- |> /\ \/ @ davidd@datasphereweb.com DataSphere - Back end web programming, site security, and networking david.daugherty@netmanage.com Software Engineer NetManage - The Bridge to E-Business http://www.wcug.wwu.edu/~doc ICQ: 21106703 "I like the dreams of the future better than the history of the past" -Thomas Jefferson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message