From owner-freebsd-questions@FreeBSD.ORG Sat Jan 27 09:36:13 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0205316A401 for ; Sat, 27 Jan 2007 09:36:13 +0000 (UTC) (envelope-from ctrl4ltdeletemenews@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.182]) by mx1.freebsd.org (Postfix) with ESMTP id BA50313C487 for ; Sat, 27 Jan 2007 09:36:12 +0000 (UTC) (envelope-from ctrl4ltdeletemenews@gmail.com) Received: by py-out-1112.google.com with SMTP id f47so478003pye for ; Sat, 27 Jan 2007 01:36:12 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=pZTdpCVReHfuO1hFHbYH3WrjYrgjV5zVhY78Dilwzpbb4810i93Y0AFCEXMsS1eQzbG8PwMCONg2ckTi+KrExDwU3EHLqUbFHwvWTbnSFJmGuukM9KTL7fmybJzOy8gBoAhkF+2CP+Uz9cGGM/oTd1YjDgsm6PO2yNdCzp52+fM= Received: by 10.35.107.20 with SMTP id j20mr8161356pym.1169888844165; Sat, 27 Jan 2007 01:07:24 -0800 (PST) Received: by 10.35.50.4 with HTTP; Sat, 27 Jan 2007 01:07:24 -0800 (PST) Message-ID: <4abbd7f80701270107r28f0ca2cj937fc67d997b6089@mail.gmail.com> Date: Sat, 27 Jan 2007 04:07:24 -0500 From: "Guillermo Gonzalez" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: I am unable to connect to my ftp server from anything other than the local host X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Jan 2007 09:36:13 -0000 When I try to ftp localhost I get this: [guillermo@tester ~]$ ftp localhost Trying ::1... Connected to localhost. 220- Welcome message goes here :D 220 tester FTP server (Version 6.00LS) ready. 331 Guest login ok, send your email address as password. 230- READ OR DIE!!1 230 Guest login ok, access restrictions apply. Remote system type is UNIX. Using binary mode to transfer files. However, when I attempt to ftp to the box's ip I get: [guillermo@tester ~]$ ftp 192.168.1.108 Connected to 192.168.1.108. 421 Service not available, remote server has closed connection. I'm running bsd 6.1. I keep reading online that when that happens, it is due to a problem with some config file. I don't think there is a problem with it but I've listed it just in case. pam file in /etc/pam.d/ftp # auth auth required pam_nologin.so no_warn auth sufficient pam_opie.so no_warn no_fake_prompts auth requisite pam_opieaccess.so no_warn allow_local #auth sufficient pam_krb5.so no_warn #auth sufficient pam_ssh.so no_warn try_first_pass auth required pam_unix.so no_warn try_first_pass # account #account required pam_krb5.so account required pam_unix.so # session session required pam_permit.so The program is the regular ftpd that comes with bsd. I'm using inetd it with a line in inetd.conf: ftp stream tcp nowait root /usr/local/libexec/ftpd ftpd -l -l I also have a line in my passwd file for ftp as anonymous: ftp:*:14:5:Anonymous FTP Admin:/home/ftp:/nonexistent