This guide explains how to use ngrok with SFTP and why FTP or FTPS are not a good fit for TCP tunneling.Documentation Index
Fetch the complete documentation index at: https://ngrok.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Compatibility with FTP and FTPS
FTP and FTPS (FTP over SSL) require multiple dynamic ports for data transfer between server and client, so ngrok is not a good solution for that traffic. Use SFTP instead, which uses a single port.ngrok with SFTP
You can use ngrok for SFTP by starting a TCP endpoint on the port your SFTP server uses, usually port22 (the same as SSH).