republican-creole
Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Equipment Support » Hardware By Brand » D-Link » [Help Me] [DIR-300] FTP Port must be 21?!
Search Topic:
Uniqs:
968
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
[Help Me] DI-524 drops PPPoE connection »
« [Help Me] DI 604 Firmware Download Link  
AuthorAll Replies

upb
Premium
join:2004-03-15
Carriere, MS
·AT&T Southeast

reply to ThomasLee
Re: [Help Me] [DIR-300] FTP Port must be 21?!

I've encountered this problem in the DSL-2540B router, and there is no workaround for it. Only a firmware upgrade has a chance of success.

The problem lies in the Netfilter modules used by the Linux kernel (the router uses Linux as its O/S). There is a particular module (ip_conntrack_ftp) which is supposed to be notified if a non-standard ftp port is to be put in use so that it can properly rewrite the ftp packets. Unfortunately, the module has been compiled in such a way that it will not accept an alternative ftp port, and you're stuck with port 21 even if you attempt to use passive mode. I discovered the problem while telneted to the router and using command line "insmod" and "iptables ..." commands.

I happen to use a non-standard ftp port for security reasons from time to time (I don't like every Tom, Dick, and Harry beating on my ftp server), and I use a different router when that's necessary. Otherwise, I use secure FTP (a part of Secure Shell, or ssh), and it doesn't require any special packet rewriting to work. I'd recommend running an ssh server in sftp mode if you can manage it.

Good luck.


ThomasLee

@edu.hk
reply to pleekmo
Yes. I have assigned another port to the FTP Server in the Router Configuration. However, It did not work properly.


pleekmo
Triptoe Through The Tulips
Premium
join:2001-09-14
Manchester, CT
clubs:

reply to ThomasLee
Port 21 is the standard port for FTP. For FTP to work using some other port you must assign it so in both the router and FTP client and/or server.
--
HCN: Because you deserve a rest!

Proud member of the Free Omelas Liberation Front.


ThomasLee

@ctinets.com
Hello all,
I found that the ftp server cannot work under the ports except 21. I just wanna know is it any solutions for this? Thanks.

Thomas LEe
Forums » Equipment Support » Hardware By Brand » D-Link[Help Me] DI-524 drops PPPoE connection »
« [Help Me] DI 604 Firmware Download Link  


Friday, 27-Nov 23:22:25 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.
page compression OFF
Most commented news this week
· [121] Time Warner Cable Fires Broadside At Broadcasters
· [112] New AT&T Ad Campaign Hits Back At Verizon
· [95] Apple Joins AT&T Verizon Snark Fest
· [87] New Bill Takes Aim At Higher Verizon ETFs
· [70] TiVo Sees Record Customer Losses
· [68] In-Flight Internet Headed For Bumpy Landing?
· [63] Verizon CEO: Hulu Will Be Dead Soon
· [61] Thanksgiving Open Thread
· [39] EFF Wages War On Fine Print
· [38] ICANN Slams DNS Redirection
Most people now reading
· 3.x Feral Druid - Bear Tanking Guide [World of Warcraft]
· Windows 7 boot manager editing questions [Microsoft Help]
· Connecting to Google Voice Via SIP [VOIP Tech Chat]
· Backstab vs screws (not which to use) [Home Repair & Improvement]
· HOW-TO: QoS and Tomato (fixes "choppy voice") [MagicJack]
· [How to] Install Asterisk on an Asus WL-520GU router [VOIP Tech Chat]
· [Vista] Why is HD So Full? [Microsoft Help]
· [ PVP] 3.2 DK PvP D/W Spec... [World of Warcraft]
· 5 hour energy for diabetic [General Questions]