FTP problems
|
Original Message
|
Name: astroraptor
Date: August 17, 2002 at 22:45:11 Pacific
Subject: FTP problems |
Comment: I'm running an FTP behind a router so I'm using PASV mode, only thing is, what passive ports do I use? 1024 to 65536 don't do a thing cuz no one can access it. I tried using the forward port I use for my FTP as a passive port but that doesn't work as well. Please help, I have no idea what to do.
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: Analyst
Date: August 18, 2002 at 14:50:14 Pacific
Subject: FTP problems |
Reply: (edit)I ran into this when I tried setting up an FTP server at home behind my Internet router. Yes, there is a problem with FTP behind NAT (network address translation) used by routers because of the way FTP works. I won't go into it too much- read documentation on "passive mode" transfers like I did, but this is what I had to do. Not only do you you need a FTP client that uses passive transfer mode, you have to have FTP server software that allows it (Ser-U was one of the few I found, and works the best.) You also have to tell the server program the WAN ip address passive mode will be allowed on (your own WAN IP). Then, each client that connects needs it's own port for file transfers (such as directing listings). That's right, FTP requires two ports. So, for example, you want to enable 10 clients at a time to connect. You configure the FTP server to use port 21 for the connection link. Then you tell it to use ports 22 through 31 for passive mode data links, and you give it your WAN IP address to listen to for passive requests. On your router or proxy, you have to forward ports 21 to 31 to your FTP server. You now should be able to connect to the server with a client using passive mode. -Good Luck
Report Offensive Follow Up For Removal
|
Use following form to reply to current message: