Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 25th May 2011, 14:35
alleks alleks is offline
Senior Member
 
Join Date: Nov 2010
Posts: 157
Thanks: 9
Thanked 9 Times in 9 Posts
Default Pure Ftpd Passive Ports setup

Hi folks, I need your help to setup a range of passive ports for the pure-ftpd server. All the documentation I have read they were talking of typing a line in /etc/pure-ftpd.conf but I don't have that file...

I have a pure-ftpd folder in etc containing some folders

ls -al /etc/pure-ftpd
Code:
drwxr-xr-x   2 root root 4096 May 18 08:01 auth
drwxr-xr-x   2 root root 4096 May 18 08:37 conf
drwxr-xr-x   2 root root 4096 May 18 08:37 db
-rw-r--r--   1 root root  230 May 18 07:59 pureftpd-dir-aliases
any help would be very appreciated.
Reply With Quote
Sponsored Links
  #2  
Old 26th May 2011, 03:44
erosbk erosbk is offline
Senior Member
 
Join Date: Mar 2011
Posts: 337
Thanks: 49
Thanked 36 Times in 30 Posts
Default

Create a file in /etc/pure-ftpd/conf/PassivePortRange, inside, just write the port range separated with a space.

echo "29799 29899" > /etc/pure-ftpd/conf/PassivePortRange

(for max 50 connected clients)

pure-ftpd uses files in conf dir as parameters. Be carefull setting your ports, they must NOT be used by the kernel.

You must have 2 ports for every client (max 100 clients, you need 200 ports).
If you need more or less than 50 default clients allowed, you must:

echo "50" > /etc/pure-ftpd/conf/MaxClientsNumber

Replace 50 with the number you want to allow...

Remember to restart pureftpd.
Reply With Quote
The Following User Says Thank You to erosbk For This Useful Post:
alleks (2nd September 2011)
  #3  
Old 2nd September 2011, 11:10
alleks alleks is offline
Senior Member
 
Join Date: Nov 2010
Posts: 157
Thanks: 9
Thanked 9 Times in 9 Posts
Default

erosbk, I didn't got to say thanks. It was very helpful your post.
Reply With Quote
  #4  
Old 2nd September 2011, 21:39
erosbk erosbk is offline
Senior Member
 
Join Date: Mar 2011
Posts: 337
Thanks: 49
Thanked 36 Times in 30 Posts
 
Default

np, you are welcome xD
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pure Ftpd MySQL authorisation problem davebamford General 12 13th August 2014 09:02
SSL/TLS Pure FTPD bboy8012 General 6 9th December 2010 16:18
ISPconfig setup - DNS, router and general access problems ingvar Installation/Configuration 6 31st July 2010 13:13
Chrome + Ubuntu + Flash player andor Desktop Operation 1 25th May 2010 16:59
Pure FTPd not running andreasnrb Installation/Configuration 8 20th March 2010 01:01


All times are GMT +2. The time now is 04:21.


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