Hi, I'm running a webserver and ftp server on different ports than 80 and 21. The server is on my lan and my router forwards certain request to that machine. The webserver works when I go to it on that certain port. So when I just type in the local ip with the port I set it to, I can connect to the machine, but when I try and connect to it through the outside ip, this is what I get:
SYST
215 UNIX Type: L8
Host type (S): UNIX (standard)
PASV
227 Entering Passive Mode (192,168,1,102,4,74).
connecting to 192.168.1.102:1098
- -
connecting to 192.168.1.102:1098
Connected to 192.168.1.102 port 1098
LIST
! Receive error: Blocking call cancelled
! Retrieve of folder listing failed (4)
Port 1098 is not the port that I am forwarding through the router and it is not even close to the port that I put in the proftpd.conf file.
Any help would be greatly appreciated, thanks!
>> connecting to 192.168.1.102:1098
When you are connecting from within your LAN, you don't need to use passive mode.
Getting FTPd to work behind router is a bit tricky. Your case is well-mentioned in Proftpd docs. So why don't you go to -> http://www.proftpd.org/docs/ and read Mini-HOWTO for ProFTPD and NAT (by Tobias Ekbom).