Skip to content

mboehmic/proftpd-whmcs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

proftpd-whmcs

whmcs Module for proftpd (http://www.proftpd.org/ )

This is an addon for whmcs It is based on: https://github.com/eksoverzero/whmcs-freeradius/tree/refactor

Installation

Upload the "proftpd" folder to your whmcs installation to -> modules\servers Make sure you have the appropriate permissions and ownerships for the files in your whmcs server

It is recommended to have proftpd daemon installed on a different server. See mysql.dump for reference.

Create a mysql user for whmcs to access the proftpd database (named "ftp")

Server Settings:

Mandatory fields:

  • username and password (mysql username and password on the proftpd server)
  • ip-adress field is required
  • access hash -> create on line with the name of the mysql database containing ftp users
  • not used: Hostname

Product Settings:

  • The proftpd Group is the "gid" of the group id the ftpgroup table. Same for the field "proftpd userid".
  • Both the group id as well as the userid should exist in /etc/passwd

The product allows the following actions in whmcs

  • create account
  • terminate account
  • change password
  • change package

Changes

I have changed the field "passwd" in table "ftpuser" to varchar(40) (before varchar(32)) in order to insert sha1 encrypted passwords properly. The automatically created password uses sha1 encryption. See file mysql.dump with a mysql dump of all 3 tables

Tested on

  • Debian 11
  • whmcs 8.3.2
  • proftpd Version 1.3.7a on Debian 11

Releases

No releases published

Packages

No packages published

Languages