From owner-freebsd-questions Mon Aug 20 14:26:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from cody.jharris.com (cody.jharris.com [205.238.128.83]) by hub.freebsd.org (Postfix) with ESMTP id 6668037B412 for ; Mon, 20 Aug 2001 14:26:41 -0700 (PDT) (envelope-from nick@rogness.net) Received: from localhost (nick@localhost) by cody.jharris.com (8.11.1/8.9.3) with ESMTP id f7KLQaG91095; Mon, 20 Aug 2001 16:26:36 -0500 (CDT) (envelope-from nick@rogness.net) Date: Mon, 20 Aug 2001 16:26:36 -0500 (CDT) From: Nick Rogness X-Sender: nick@cody.jharris.com To: Chris Hastie Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Port redirection with natd In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 20 Aug 2001, Chris Hastie wrote: > Time to own up to my totally clueless credentials. I've been using > FreeBSD, my first venture away from Mr Gates, since, oh, Saturday > afternoon, and I haven't figured out this logging thing yet. Lots of > things tell me how to log stuff, but I can't figure out where to find > the logs they generate :( > > Instructions on 1) how to tell natd to log activity and 2) where to > find the logs would be very much appreciated 1) include the "log" keyword in /etc/natd.conf 2) /var/log/alias.log > >> Additionally, I can get no response from any of those ports by > >> telnetting to them with another machine. > >> > > > > The redirect_port stuff will only work from the outside with your > > setup. Try going to an outside machine and telnetting. > > Best I can manage at the moment is to log into a shell account on a > remote machine and then try and telnet back to myself from there. To > port 23 this is fine and I can then log into my FreeBSD no probs. But to > the supposedly redirected ports I get no response. What does `ipfw -a l` report? Is celandine reachable from your natd machine and is the port listening on that machine? Nick Rogness - Keep on Routing in a Free World... "FreeBSD: The Power to Serve!" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message