From owner-freebsd-questions Sun Nov 2 05:35:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA19910 for questions-outgoing; Sun, 2 Nov 1997 05:35:04 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from mail.cs.tu-berlin.de (root@mail.cs.tu-berlin.de [130.149.17.13]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id FAA19895 for ; Sun, 2 Nov 1997 05:35:00 -0800 (PST) (envelope-from wosch@cs.tu-berlin.de) Received: from panke.panke.de (anonymous221.ppp.cs.tu-berlin.de [130.149.17.221]) by mail.cs.tu-berlin.de (8.8.6/8.8.7) with ESMTP id OAA24686; Sun, 2 Nov 1997 14:34:28 +0100 (MET) Received: (from wosch@localhost) by panke.panke.de (8.8.5/8.6.12) id OAA03173; Sun, 2 Nov 1997 14:28:54 +0100 (MET) To: Dave Smith Cc: freebsd-questions@freebsd.org, Bill Clark Subject: Re: redirect ftp requests from one machine to another machine References: From: Wolfram Schneider Date: 02 Nov 1997 14:28:52 +0100 In-Reply-To: Dave Smith's message of Sat, 1 Nov 1997 21:38:24 -0800 (PST) Message-ID: Lines: 26 Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk You can redirect ftp requests with the socket(1) program (*). Replace the ftp entry in xoom.com:/etc/inetd.conf with socket. E.g. ftp stream tcp nowait nobody /usr/local/bin/socket socket ftp.xoom.com ftp and restart inetd: killall -HUP inetd (*) socket is must-have software ;-) See ports/sysutils/socket. Dave Smith writes: > I need a quick fix. Our load balancing server is down > undergoing repair so I need a way to redirect FTP > requests to xoom.com to go to our ftp server, ftp.xoom.com. > > I don't want to have to email our users who are used > of doing 'ftp xoom.com' and tell them to do 'ftp ftp.xoom.com' > for the next couple of days. I am trying to come up with a > seamless solution. > > Putting the ftp server on the machine which answers to xoom.com > is not feasible. The ftp server is on xoomftp.xoom.com. -- Wolfram Schneider http://www.apfel.de/~wosch/