Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Nov 2000 15:01:56 -0500
From:      "Otter" <otterr@telocity.com>
To:        "Paulo Ricardo Trainini" <trainini@fortnet.com.br>, <freebsd-questions@FreeBSD.ORG>
Subject:   RE: FTP Server with invalid ip
Message-ID:  <HLEDJBJKDDPDJBMGCLPPAEFNCKAA.otterr@telocity.com>
In-Reply-To: <3.0.6.32.19970101014937.007cad20@mail.rede-rs.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
Another possibility might be to install natd on the outside machine,
with port redirection pointing to the inside box for ftp links from
the outside. man natd for more info.
-Otter

}-----Original Message-----
}From: owner-freebsd-questions@FreeBSD.ORG
}[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of
}Paulo Ricardo
}Trainini
}Sent: Tuesday, December 31, 1996 10:50 PM
}To: freebsd-questions@FreeBSD.ORG
}Subject: FTP Server with invalid ip
}
}
}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īt 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īs 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



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?HLEDJBJKDDPDJBMGCLPPAEFNCKAA.otterr>