From owner-freebsd-questions@FreeBSD.ORG Fri Feb 7 14:00:53 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C9A821A4 for ; Fri, 7 Feb 2014 14:00:53 +0000 (UTC) Received: from mail-wg0-x22d.google.com (mail-wg0-x22d.google.com [IPv6:2a00:1450:400c:c00::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 613451027 for ; Fri, 7 Feb 2014 14:00:53 +0000 (UTC) Received: by mail-wg0-f45.google.com with SMTP id n12so2260514wgh.0 for ; Fri, 07 Feb 2014 06:00:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:to:date:mime-version:subject:message-id:priority:content-type :content-transfer-encoding:content-description; bh=mLy4DcNkL7EE1E3Shs7mpSZPqsW0YFh1vG6vW5QfyjM=; b=dwd7y0i9dGojZYsW6uc/lb1EIfe7TdkkdyAkFgC6ghYtSw4YlVs3AL+YkEy59AE5YP Iys1L6BqpU0cbT0knw/i6lXV0SnmGD88FUOxmijbqJkCmZs/SWZtTrCu5LoY87oYzYlB RHI/rGQbgIQpkjjyNV60FcXeJQ9e6DG+WCVjsi2NzVddvjR0TGbNFIhiz+WuiIz2uDC5 wEroMjMuPHgXYRzE9msJF9rST2NpBoMCwDfJp/d2rZ1ZDFbqhSQqgOo0WYVgNGcHDSll qW/u69gN9/l0otDbtpqkb3dmOpdcmezaeB8JpSDMIz+N8Z+x164HfEVZVDYMd3V/lT/O /0XQ== X-Received: by 10.180.87.164 with SMTP id az4mr75778wib.2.1391781651793; Fri, 07 Feb 2014 06:00:51 -0800 (PST) Received: from [192.168.16.89] ([217.41.35.220]) by mx.google.com with ESMTPSA id f7sm10944038wjb.7.2014.02.07.06.00.50 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 07 Feb 2014 06:00:51 -0800 (PST) From: g8kbvdave@googlemail.com To: freebsd-questions@freebsd.org Date: Fri, 07 Feb 2014 14:00:45 -0000 MIME-Version: 1.0 Subject: FTPD port trouble. Message-ID: <52F4E70D.11252.1381412@g8kbvdave.gmail.com> Priority: normal X-mailer: Pegasus Mail for Windows (4.62) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Feb 2014 14:00:53 -0000 Hi All. How "EXACTLY" (sorry) Do I specify, the main connection port number for FTPd (enabled in inetd.conf, and inetd enabled in rc.conf) to listen on, and the range of ports to use for PASV mode? What parameter (.conf) files do I need to edit and/or create to do that in the server jail, also the exact sytax of what to put in there. (The manpages for ftpd leave me stone cold, as usual.) I've a jailed web server running now on FBSSD 9.2, it seems stable and does the job fine. The same jail also has the OS's own FTPD service running, started via inetd. There are three FTP users, that are chrooted to the directories needed within the jail, thanks to entries in /etc/ftpchroot in the jail. I have other machines on the same local LAN segment automaticaly updating data on the web pages also just fine via FTP, using either active or passive mode, as they see fit. However, I wish to be able to access those same directories and files via FTP over a SSHD session (typicaly using PuTTY on Windows, and a FileZilla client) for remote admin needs, to that end, there is a general site maintenance FTP user. (I usually configure such machines (on other OS's) to use "High" ports, way up in the dynamic range. It's never a problem, so long as both the server and client agree on the same ports of course.) I've spent an inordinate ammount of time getting nowhere with Google, as it seems all the realy useful FreeBSD forum archives are long gone. (404 errors. Why?) So I need help from the collective please. (I also still can't get onto the IRC channel(s) for FreeBSD, but that's another issue.) I can already do what I want just fine, when physically connected to the LAN with either of the portable PC's I often carry with me, so it's just those blessed port numbers I need to nail to the floor, so I can tunnel them via the SSH link. Best Regards, and cheers to All. Dave B. PS: If anyone knows of a good blow by blow walk through, showing how to setup Pure-FTPD correctly (other than just use it's basic install) not needing SQL databases (Why complicate things?) I'd like to know for the future. Its documentation may be plentiful, but its pure crud to read, even when imported into a decent reader so it doesn't hurt the eyes! :) Plus I know zilch re SQL databases, so that's a non starter for me anyway. Respond off list if you feel the need. >><<