Date: Sun, 9 Apr 2000 08:40:49 -0700 (PDT) From: Bhishan Hemrajani <bhishan@cytosine.dhs.org> To: stephen <stephen@neosphere.yi.org> Cc: free BSD <questions@FreeBSD.ORG> Subject: Re: computer.my.domain Message-ID: <200004091540.e39Fenh20707@cytosine.dhs.org> In-Reply-To: <000f01bfa234$ce282600$0202a8c0@neosphere.yi.org> from stephen at "Apr 9, 2000 10:03:45 am"
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004091540.e39Fenh20707>