Computing.Net > Forums > Linux > ProFTPd behind a NAT

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

ProFTPd behind a NAT

Reply to Message Icon

Name: Jay Silverman
Date: August 29, 2001 at 07:35:22 Pacific
Comment:

Because my sever computer is running behind a NAT, I have to assign ProFTPd to a range of passive ports, and then configure my NAT to forward the passive ports to that computer. That's no problem, it works very well.

Although, I would like to know how big SHOULD my range be?

Can I use ports 1024 to 1025, for instance, or do I have to have a larger amount of ports forwarded? Does it matter at all, performance-wise, either?

The ftp on that computer will only be used for certain people uploading things to their web accounts, so there really won't be a big use of the service, if that matters.



Sponsored Link
Ads by Google

Response Number 1
Name: Mik
Date: August 29, 2001 at 07:56:30 Pacific
Reply:

If you say it's hardly ever used then I guess two ports should be enough. The passive ports are only used if the person connecting to your FTP server has enabled passive mode because they themselves are behind a firewall. For performance it won't make a difference except the amount limitation. Having only 2 ports will allow only 2 files to be transferred in passive mode similtaneously. If the users connect in direct mode then these ports will not be used. So I would forward as many ports as you think passive users would connect at the same time.
Having those ports forwarded to one computer means the other computers behind the NAT server can't listen on the same ports. So it's generally wise to not forward more ports then you really need.

Mik


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: ProFTPd behind a NAT

Behind a HTTP Proxy www.computing.net/answers/linux/behind-a-http-proxy/27821.html

NT Behind a Linux Firewall? www.computing.net/answers/linux/nt-behind-a-linux-firewall/6431.html

telnet problem with port 25 www.computing.net/answers/linux/telnet-problem-with-port-25/7338.html