Click to See Complete Forum and Search --> : Can I use proftpd to host a FTP on alternate port?
rick420
01-08-2002, 02:40 AM
I have proftpd set up to accept connections on port 420. (at least I think its set properly) At this point I just wanna get it working on port 420, then I will have to come back and ask some security questions on it :)
I connect to the net thru a router, and I have port 420 forwarded to my box. I can connect to the ftp from comps within the LAN, but outsiders get a data socket error. I had them turn off PASV MODE, but no go still. Whats my next step??
Gaccm
01-11-2002, 08:57 AM
does your router have a firewall blocking port 420?
rick420
01-11-2002, 09:50 AM
No I forwarded port 420 to my LInux box. Is there another port that needs to be forwarded, like 20 and 21 need to be for normal FTP.
rick420
01-16-2002, 09:18 PM
I can get Proftpd hosting on port 21 no problem. However, If I switch it to port 420 though, people can log in, but when trying to list the directories immediately after logging in, they receive a data socket error.....Any idea why?
The Whizzard
01-16-2002, 09:43 PM
1. Your firewall/router is taking incomming port 21 and forwarding it to port 420 on the server, correct? Or are you forwarding port 420 from the internet to port 420 on the server. If you're forwarding 21 --> 420, also forward 20 --> 419. Otherwise, forward
419 --> 419, in addition to 420 --> 420.
2. On the server, in your /etc/proftpd.conf, you have "Port 420" (without the quotes), correct?
Hope this helps. :D
<EDIT> Are you running it is standalone mode or inetd mode. You can only change the port in standalone mode. You may need to add "PassivePorts 1024 2048" and open up all those ports in your firewall.
See
here (http://www.proftpd.org/docs/configuration.html#Port) and here (http://www.proftpd.org/docs/configuration.html#PassivePorts) for more info.
[ 16 January 2002: Message edited by: The Whizzard ]