From owner-freebsd-questions Sun Apr 9 8:40:58 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cytosine.dhs.org (cx272244-a.orng1.occa.home.com [24.1.177.149]) by hub.freebsd.org (Postfix) with ESMTP id B6E4A37BF72 for ; Sun, 9 Apr 2000 08:40:56 -0700 (PDT) (envelope-from bhishan@cytosine.dhs.org) Received: (from bhishan@localhost) by cytosine.dhs.org (8.10.0/8.10.0) id e39Fenh20707; Sun, 9 Apr 2000 08:40:49 -0700 (PDT) From: Bhishan Hemrajani Message-Id: <200004091540.e39Fenh20707@cytosine.dhs.org> Subject: Re: computer.my.domain In-Reply-To: <000f01bfa234$ce282600$0202a8c0@neosphere.yi.org> from stephen at "Apr 9, 2000 10:03:45 am" To: stephen Date: Sun, 9 Apr 2000 08:40:49 -0700 (PDT) Cc: free BSD X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You need to use the redirect_port option in natd. So, when you start natd, you type this in: natd -n de0 -redirect_port 192.168.2.2:21 21 replace de0 with you're interface. And, to make it like that when you start up the box, put this in the /etc/rc.conf: nat_flags="-redirect_port 192.168.2.2:21 21" There is also a way to put this information in one configuration file. Read "man natd" for information on how to do that. --bhishan [Charset iso-8859-1 unsupported, filtering to ASCII...] > I want to access my computer from behind nat, i think i have to run a dns, but not sure how... > I have a windows box named serenity and its running serve-u > i have a domain name neosphere.yi.org > i have only one ip, so i use nat... > i want to access my win box by typing serenity.neosphere.yi.org > the ip of the windows box is 192.168.2.2 > i have tried the mini dns tutorial on the bsd site, but no sucess... > i think a dns is what i need, but i use my isp's dns for the other puters on the network > hopeless ly confused... Stephen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message