Click to See Complete Forum and Search --> : Proftpd can't connect to my router IP


spheroid2003
05-22-2003, 11:05 AM
I have Proftpd configured on Mandrake Linux 9.1. I set up test accounts in UserDrake for FTP and I do NOT want anonymous FTP to work.

The router connects to my cable provider, and the Linux box plus two Windoze computers connect to the router (server box is given a static IP). Samba works for printing and for sharing files.

From the linux box I can ftp to the internal network address of the server. Since the router port forwards traffic for ftp to the server, I try to ftp to the router's IP address and can't log in. Here's the response I get (e.f.g.h is the internal IP of the server, a.b.c.d is the IP of the router or external internet address when I connect):

[myusername@myservername myusername]$ ftp a.b.c.d
Connected to a.b.c.d.
220 nameblocked- FTP version 1.0 ready at Thu Jan 13 23:39:47 2000
500 Unknown command 'auth GSSAPI'
500 Unknown command 'auth KERBEROS_V4'
KERBEROS_V4 rejected as an authentication type
Name (a.b.c.d:myusername): user1
331 Enter PASS command
Password:
530 User user1 cannot log in.
Login failed.
ftp> bye

[myusername@myservername myusername]$ ftp e.f.g.h
Connected to e.f.g.h.
220 ProFTPD 1.2.7 Server (Myservername backup server) [myservername]
500 AUTH not understood.
500 AUTH not understood.
KERBEROS_V4 rejected as an authentication type
Name (e.f.g.h:myusername): user1
331 Password required for user1.
Password:
230 Login correct!
Remote system type is UNIX.
Using binary mode to transfer files.

bradfordgd
05-22-2003, 11:27 AM
You are logging into two different ftp servers. The first attempt that failed, you were logged into an ftp server that said it was version 1.0 and your second succesfull attempt said you were logged into a Proftp server version 1.2.7. Are you sure you have your router forwarding to the right port for the Proftp server?

spheroid2003
05-23-2003, 12:47 AM
Good point. I never noticed that! My router has ports 22 and 23 forwarding to e.f.g.h. What else should I check?

czgu
05-23-2003, 11:14 AM
I think you need forward port 20 and 21.