Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Jan 1997 01:49:37 -0200
From:      Paulo Ricardo Trainini <trainini@fortnet.com.br>
To:        freebsd-questions@FreeBSD.ORG
Subject:   FTP Server with invalid ip
Message-ID:  <3.0.6.32.19970101014937.007cad20@mail.rede-rs.com.br>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.6.32.19970101014937.007cad20>