Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Proftpd PassivePorts not working

Status
Not open for further replies.

postwick

Programmer
Jul 23, 2002
43
US
I have the MasqueradeAddress and PassivePorts directives set in proftpd.conf. I've tried it both running under xinetd and as standalone. Neither works.

The passive port it picks is not within the range I set with PassivePorts. I have proftpd 1.2.8

With MasqueradeAddress, do I set it to the public IP address (before NAT) or the private IP address (after NAT)?

I cannot figure out why it refuses to work. Everything I read says it is easy to configure this way, but for me it just isn't working.

-- Paul
 
I assume you've got a linksys or similar type hardware DSL/Cable router connected straight to the Inet connection? If so, you will need to enable port forwarding to your linux box set to the correct port range for tcp, then set the proftpd config of MassqueradeAddress to the lan ip.

Hope this helps! Rninja

smlogo.gif

 
I have an Efficient Speedstream DSL router that is more intended for small business use, including firewall, VPN etc. (just to give you an idea of what I'm using) I'm 99% sure it's a model 5861, but I'm not at home to check. I searched online and on their support site for port forwarding, but can't find anything.

I'm not sure what you mean by enabling port forwarding. I have SMTP, POP3, HTTP, and DNS all running from behind it and have no troubles. I am using firewall rules to block everything but what I need.

Could you elaborate a bit?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top