From owner-freebsd-questions Wed Jan 24 11:21: 3 2001 Delivered-To: freebsd-questions@freebsd.org Received: from takeover.lion-access.net (takeover.lion-access.net [212.19.220.11]) by hub.freebsd.org (Postfix) with ESMTP id 5699F37B404 for ; Wed, 24 Jan 2001 11:20:46 -0800 (PST) Received: from localhost (skin@localhost) by takeover.lion-access.net (8.10.2/8.10.1) with ESMTP id f0OKSYg00893 for ; Wed, 24 Jan 2001 20:28:35 GMT Date: Wed, 24 Jan 2001 20:28:30 +0000 (GMT) From: Bart Pustjens To: questions@freebsd.org Subject: Re: news redir In-Reply-To: <20010124152527.E94743@d9168.upc-d.chello.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 24 Jan 2001, Edwin Groothuis wrote: > On Wed, Jan 24, 2001 at 03:17:41PM +0000, Bart Pustjens wrote: > > to redirect the connections on port 119 of my.news.machine to another > > news server (which only allows my.news.machine to connect, so > > my users can't connect directly to the other/new/temp news server). > > Checkout /usr/ports/sysutils/socket for a nice tool for this. I've added nntp stream tcp nowait nobody /usr/local/bin/socket socket newserver nntp to my inetd.conf and got it working. Now I am wondering if I can use tcp wrappers on it so I can use hosts.allow ? How can I deny unwanted hosts ? With regards, Bart Pustjens To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message