FTP Server Not Accessable

Kristian Rink kristian at zimmer428.net
Wed Jan 31 12:29:35 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

["Amichai Rotman" <amichai at iglu.org.il> @ Wed, 31 Jan 2007 14:12:33
+0200]

> But when trying to access it from the outside it hangs on
> "Connecting..."

What do you see in your /var/log/proftpd.log? Do these connection
attempts actually reach your FTP server?


> Anywhere else I should enable port 21?

You need to make sure a couple of things:

* Your firewall needs to allow connections to port 21 of its public
interface.

* Indeed, port forwarding has to work to forward connections on port 21
to port 21 of the actual FTP server machine.

* You need to see whether to use active or passive FTP. Given active
FTP, you need to make sure your client-side firewall does allow inbound
connections on non-privileged port. Given passive FTP, you should
ensure having (a) configured a set of ports to be used for that in your
proftpd.conf (PassivePorts directive) and (b) set up your firewall to
allow connections to these ports as well as forwarding them to the
appropriate FTP server ports.

If you do have any more questions, check [1] for some basic details on
that and/or feel free to ask. Setting up FTP especially across
"consumer-class" firewall/router devices can be a pain...

Cheers,
Kristian


 [1] http://slacksite.com/other/ftp.html



- -- 
Kristian Rink * http://zimmer428.net * http://flickr.com/photos/z428/
jab: kawazu at jabber.ccc.de * icq: 48874445 * fon: ++49 176 2447 2771
"One dreaming alone, it will be only a dream; many dreaming together
is the beginning of a new reality." (Hundertwasser)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFFwIu8cxBAPOA1m6wRAnSbAKCagK5/1yNPAwkeH/lyIOxGu9k8HQCfYNKX
Iy8EVzOpWaU5+yMIm0sQ3mM=
=uQZb
-----END PGP SIGNATURE-----


More information about the ubuntu-users mailing list