Go Back   FlashFXP Forums > > > >

ioFTPD General New releases, comments, questions regarding the latest version of ioFTPD.

Reply
 
Thread Tools Rate Thread Display Modes
Old 06-06-2007, 07:00 AM   #1
en3rmax
Junior Member
 
Join Date: Jul 2005
Posts: 27
Smile Connection probs from inside a router

Hi there, i just setup ioftpd latest version on my mates machine he has a draytek cable router i've forwarded the ports 5420 & 5421-5450 i've added the bind= to his internal ip but when i try to connect to the ftp from inside his router it won't connect but if i connect from another location outside his router it will connect fine.

i've only forwarded the ports in his router, do u have to use the port redirection too??

thanks in advance guys
en3rmax is offline   Reply With Quote
Old 06-06-2007, 12:28 PM   #2
Yil
Too much time...
FlashFXP Beta Tester
ioFTPD Administrator
 
Join Date: May 2005
Posts: 1,194
Default

Two things. First, there are very few instances where you need to use the bind= option and this isn't one of them. Just comment the line out.

Second, you may want to set the host= line for external users to get the correct address in the PASV response. Check the ioFTPD.ini file and see what configuration best matches your situation and what I recommend setting the value at.

If you do set host= then external users are probably happy (which is good), but locally you may notice that you can connect to the server, but lists/transfers either don't work at all or you get corrupted transfers and/or slow speeds. What happens depends on how well your local router/firewall handles the case of noticing you trying to talk to yourself via the external IP and routing it to the correct internal IP.

The solution is for you to tell your FTP client to use the server's IP address instead of the one returned in the PASV command for your local FTP servers. In flash, the option is something like "use site IP for..." under site options.

In short, I've found that it's far better to get the configuration correct for external users and set the "use site IP" locally since it saves a lot of hand holding for users who aren't experienced with setting site options or even worse trying to use FTP clients which don't have the necessary options.
Yil is offline   Reply With Quote
Reply

Tags
connect, forwarded, ftp, inside, router

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 11:23 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)