republican-creole
Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Equipment Support » Hardware By Brand » Linksys » How to setup FTP server behind LinkSys ?
Search Topic:
Uniqs:
7288
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
WRT54GS Firmware Version: v3.37.2 - HyperWRT 2.0b3 »
« [wireless] BEFW11S4 V4 & Airport Express as Client  
AuthorAll Replies


Brano
Premium,MVM
join:2002-06-25
Burlington, ON
·TekSavvy Solutions..
·ELECTRONICBOX


edit:
January 8th, @06:06PM

 How to setup FTP server behind LinkSys ?

FTP can operate in two modes, Active and Passive. For detailed explanation of these modes read the Active FTP vs. Passive FTP, a Definitive Explanation article.
In order to be able to run FTP server behind NAT device (Gateway Mode of the LinkSys router) the router needs to have FTP ALG (Application Layer Gateway) algorithms implemented to correctly translate external to internal IP addresses (and vice versa) and open necessary ports for additional data communication (especially in Passive mode). Unfortunately LinkSys's FTP ALG is only partially implemented and for passive mode additional configuration is needed.

Here's what needs to be done:
1) Make sure your ISP is not blocking port 21
2) Assign your FTP Server PC a static IP address
FAQ: »Linksys FAQ »How do I set a fixed/static IP address on a LAN PC?
3) Turn off any software firewall you may have on your PC
Or at least make sure that you open it for FTP communication. If running Windows XP don't forget that the Windows firewall is ON by default and you need to turn it off (or open for FTP).
4) Get yourself a "NAT friendly" FTP server
NAT friendly FTP server is a server which has a configuration options for WAN IP and Passive port range. Such FTP servers are GuildFTPd, BFTP, Serv-U for Windows or vsftpd for Linux. (I'm sure there are many more).
IIS is not NAT friendly!
5) Find out your WAN IP address
by clicking here »checkip.dyndns.org
6) In your router forward port 21 and range of ports for passive connections to your FTP server PC
For passive range pick any continuous range above port 1024. You need as many ports as many concurrent connections you're expecting at any given time plus some reserve (due to NAT timeouts) I'd say about 25-50%.
You don't need to forward port 20.
7) Configure your FTP server
With the same range for passive connections as you've just forwarded on the router.
Also configure your FTP server with your WAN IP address.
8) Test your FTP server from LAN and WAN side
To test it from WAN side ask your friend to log in or run this Security Scan and you should see FTP response on port 21.
From LAN side you can use command line ftp client or any other client. Note, that Passive mode will not work from LAN side!
9) Enjoy

Here is an example with LinkSys WRT54G and GuildFTP.
Assuming that my router is on default IP 192.168.1.1, my FTP server PC is on 192.168.1.2 address.
My example WAN IP is 100.100.100.100.
I'm expecting 100 concurrent connections therefore I'm going to forward 125 ports (5000 to 5125).


LinkSys Port Forwarding

Port forwarding for port 21 can be done on Port Forwarding or UPnP Forwarding page on some LinkSys models.
The port range for passive is just an example and can be modified as you want.


GuildFTP Advanced Setup

Note the WAN IP and the Passive range.

10) Dynamic DNS
- Instead of WAN IP in 8) you can use your FQDN (Fully Qualified Domain Name) if you have one. This is especially useful when your WAN IP is Dynamic and it's changing from time to time. There are few threads that describe how to setup DDNS (Dynamic DNS).

- Additional recommended threads:
»REFERENCE: FTP Modes and Ports
»HOW TO: vsftpd, linux and linksys router
»What is a DMZ ?

Note, this all info above is valid as of today. Things may change if LinkSys decides to improove their FTP ALG some day.

My special thanks to Bill_MI See Profile
Forums » Equipment Support » Hardware By Brand » LinksysWRT54GS Firmware Version: v3.37.2 - HyperWRT 2.0b3 »
« [wireless] BEFW11S4 V4 & Airport Express as Client  


Saturday, 11-Oct 11:03:09 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 9 years online! © 1999-2008 dslreports.com.republican-creole
page compression OFF
Most commented news this week
· [140] It's Cable TV Rate Hike Season
· [97] Wholesale Bandwidth Prices Still Dropping
· [95] Is Comcast Cooking Up a 22Mbps/5Mbps Tier?
· [95] Symmetrical FiOS No Longer Qualifies For Bundle Discounts
· [84] Time Warner's Ugly Feud With LIN TV
· [77] Half Of New iPhone Owners Came From Verizon
· [70] Supreme Court TiVo/Echostar Ruling
· [70] Microsoft: U.S. Broadband Policy 'Total Failure'
· [67] Verizon Unveils Blackberry Storm
· [64] XOHM Online In Additional Launch Markets
Most people now reading
· [Connectivity] Neighbor using MY router to connect to Internet? [Comcast HSI]
· Safty Question about K & T wiring. Very worried... [Home Repair & Improvement]
· Where did the money go? [General Questions]
· Extreme HD and Essentials [Verizon FIOS TV]
· WOW CEO forces employees to listen to pro-Obama speach today [Rants, Raves, & Praise]
· Homeowner Says Cable Mistake Filled Kitchen With Raw Sewage [Comcast Cable TV]
· [video] Will he make it? [56k lookout! (broadband heavy)]
· [General] VoIP as calling card [VOIP Tech Chat]