From owner-freebsd-questions Fri Nov 24 8:48:55 2000 Delivered-To: freebsd-questions@freebsd.org Received: from space.rede-rs.com.br (unknown [200.248.243.129]) by hub.freebsd.org (Postfix) with ESMTP id 5717B37B4F9 for ; Fri, 24 Nov 2000 08:48:50 -0800 (PST) Received: from jerry ([200.213.78.177]) by space.rede-rs.com.br (8.9.3/8.9.3) with SMTP id OAA00704 for ; Fri, 24 Nov 2000 14:13:47 GMT Message-Id: <3.0.6.32.19970101014937.007cad20@mail.rede-rs.com.br> X-Sender: trainini@mail.rede-rs.com.br X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Wed, 01 Jan 1997 01:49:37 -0200 To: freebsd-questions@FreeBSD.ORG From: Paulo Ricardo Trainini Subject: FTP Server with invalid ip Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have the FTP Server (Freebsd 4.1) inside of my network, with the ip 192.168.12.3. It work well for clients connections in intranet, but connections from clients outside (valids ips) don=B4t work. I have installed the socket-1.1 in firewall (Freebsd 3.3)* to redirect external ftp clients connections to internal FTP Server. *inetd.conf: ... ftp stream tcp nowait nobody /usr/local/bin/socket socket 192.168.12.3 ftp ... The messages returned to connections from clients outside is: $ ftp x.x.x.x (external ip of my firewall) Connected to x.x.x.x. 220 x.x.x.x FTP server (Version 6.00LS) ready. Name (x.x.x.x:jonh): 331 Password required for jonh. Password: 230 User jonh logged in. Remote system type is UNIX. Using binary mode to transfer files. ftp> pwd 257 "/usr/home/jonh" is current directory. ftp> dir 500 Illegal PORT range rejected. 425 Can't build data connection: Connection refused. Do you know what=B4s happen? Thank you for your help. Paulo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message