From owner-freebsd-questions Fri Sep 13 05:39:59 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA17513 for questions-outgoing; Fri, 13 Sep 1996 05:39:59 -0700 (PDT) Received: from veda.is (root@ubiq.veda.is [193.4.230.60]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id FAA17501 for ; Fri, 13 Sep 1996 05:39:53 -0700 (PDT) Received: (from adam@localhost) by veda.is (8.7.5/8.7.3) id MAA01137; Fri, 13 Sep 1996 12:38:37 GMT From: Adam David Message-Id: <199609131238.MAA01137@veda.is> Subject: Re: ampr.org To: nadav@barcode.co.il (Nadav Eiron) Date: Fri, 13 Sep 1996 12:38:36 +0000 (GMT) Cc: ke6mgb@ix.NETcom.COM, questions@freebsd.org In-Reply-To: from Nadav Eiron at "Sep 13, 96 11:06:07 am" X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > >I am currently registered under ampr.org - I am ke6mgb.ampr.org. I was > > >wondering how I can have it, so when someone connects to ke6mgb.ampr.org, it > > >will automatically route them to another ip or www page? > > >Thank You, > > >Rod > > >KE6MGB - HAM RADIO OPERATOR - IP: 44.16.1.219 <--> KE6MGB.AMPR.ORG > > > > If I understood your question right, you need a minimal server program to > > accept connections on specific port numbers and hand off the connection to > > another host:port destination. > There is something that does just that! It's part of the TIS fwtk > (firewall toolikit) and is called plug-gw. It's a tiny little program you > run from inetd.conf and that redirects connections to specific ports on > the current host to other addresses (host:ports). It is driven by a > configuration file where you can specify the host/port to connect to > based on the origin of the connection. Very nice stuff, and amazingly > compact (like the rest of the TIS fwtk). plug-gw will pass all traffic on the connection through the forwarding host, which might not be what was meant. What I mean by redirect is to transfer the connection early on, so that further traffic on the connection will not necessarily travel via that first host. Adam David