Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Dec 2001 12:52:27 +1100
From:      Edwin Groothuis <edwin@mavetju.org>
To:        Totally Jayyness <Jayyness@mindspring.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: 2 FTP Sites running on the same machine
Message-ID:  <20011215125227.J724@k7.mavetju.org>
In-Reply-To: <000501c1850a$58742b60$0300a8c0@jayyness.com>; from Jayyness@mindspring.com on Fri, Dec 14, 2001 at 06:46:41PM -0700
References:  <000501c1850a$58742b60$0300a8c0@jayyness.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 14, 2001 at 06:46:41PM -0700, Totally Jayyness wrote:
> I am pretty sure this can be done, but I am having trouble tracking down
> exactly how to do it.
> 
> I currently am running ftp on the standard port 21.  What I would like to do
> is run a second ftp on a different port, say 1000) and have that ftp launch
> automatically if I have to reboot my server for whatever reason.

Look at how ftp is started from /etc/inetd.conf.
Just add a new port to /etc/services, for example "myftp 1000/tcp"
and copy the line in inetd.conf, just replace the first ftp with
myftp. Kill -HUP inetd and you're in!

Edwin

-- 
Edwin Groothuis   |              Personal website: http://www.MavEtJu.org
edwin@mavetju.org |           Interested in MUDs? Visit Fatal Dimensions:
------------------+                       http://www.FatalDimensions.org/

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?20011215125227.J724>