Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 21st May 2009, 15:36
KenKnight KenKnight is offline
Senior Member
 
Join Date: Nov 2005
Posts: 137
Thanks: 0
Thanked 3 Times in 2 Posts
Default pureftpd and PASV port modification

Hi all,

I'm trying to adjust the PASV range that pureftpd is using. I found the pure-ftpd.conf in the fail2ban directory and have added the following line in there;

PassivePortRange 30000 35000

and restarted using the /etc/init.d/pure-ftpd-mysql restart command
however it doesn't appear to made any difference.

Any suggestions would be greatly appreciated.

Cheers!
Ken

Edit: I found that the configuration is done through individual files in the pure-ftpd/conf directory, however, even after putting a PassivePortRange file in there with the appropriate values (at least I think they are appropriate) it is still not functioning correctly. I also have modified the port forwarding on the firewall to allow this range.

Last edited by KenKnight; 21st May 2009 at 15:45.
Reply With Quote
Sponsored Links
  #2  
Old 21st May 2009, 17:30
KenKnight KenKnight is offline
Senior Member
 
Join Date: Nov 2005
Posts: 137
Thanks: 0
Thanked 3 Times in 2 Posts
Default Solved

I got it.

I had to add another file in the conf directory for masquerading.

Now it appears to be working.

Thanks,
Ken
Reply With Quote
  #3  
Old 26th August 2009, 21:54
mmk mmk is offline
Junior Member
 
Join Date: Aug 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi. I am having the exact same problem. Could you please explain the masquerading part in more detail?

Thanks.
Reply With Quote
  #4  
Old 26th August 2009, 22:10
mmk mmk is offline
Junior Member
 
Join Date: Aug 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Nevermind, I figured it out.

Adding ForcePassiveIP x.x.x.x to /etc/pure-ftpd/pure-ftpd.conf did the trick for me. (x.x.x.x = public IP of the server)
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 +2. The time now is 22:06.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.