CrushMFT Documentation

Before you start#

  • Java 25 or newer on the balancer host. Check with java -version. You may skip this: when the computer has no Java 21 or newer, the Linux script, CrushBalance.exe and CrushBalance.app download Eclipse Temurin into a folder Java in the install folder at the first start (Install on Linux). CrushBalance then looks for a newer Temurin twice a day, downloads it beside the one in use, and the next start uses it. It never restarts itself for that: a restart ends every connection, so the moment is yours. A Java of the system, or one named with java= in CrushBalance.conf or JAVA= in the Linux script, is used as it is and never changed.
  • File-descriptor limits and kernel settings. Every relayed session uses two sockets. Raise the open-file limit before production; the automatic connection cap depends on it (Capacity and tuning).
  • Choose the prefs directory. By default it is the working directory, which is the install folder under the Linux init script and the Windows service. Every file CrushBalance creates goes there. To use another folder, start Java with -Dcrushbalance.prefs=<dir> (every command honours it; under the init script, add it to JAVA_OPTS at the top of crushbalance_init.sh). The Windows service always uses its install folder.
  • Have the CrushMFT registration ready: registration name, email and code of a CrushFTP 11 or newer Enterprise licence.
  • Plan the CrushMFT-side changes: the PROXY header flags on the CrushMFT ports behind the balancer, the passive port ranges for FTP, proxy_protocol_ftp_pasv, https_redirect (Listeners). The listener templates print what to change.
  • Plan the firewall. A CrushMFT port with a PROXY flag trusts the PROXY header from any source, so only the balancer may reach such ports; otherwise anyone who reaches them can claim any client address (PROXY headers, hardening guide).