Your browser does not allow storing cookies. We recommend enabling them.


System-Wide Transparent FTP Tunneling with Fallback

In this example, transparent FTP tunneling is configured to secure file transfers to three different subnets (,, and Configuration is done system-wide affecting all FTP batch jobs and interactive sessions to those three subnets. FTP connections to other addresses are not affected.

In this example, Tectia SOCKS Proxy is configured to fall back to plain FTP if securing the connection fails. Fallback is a usable feature during the migration phase but must be turned off once all connections are working correctly.

Do the following steps:

  1. Copy the /opt/tectia/etc/ssh-socks-proxy-config-example.xml configuration file to /opt/tectia/etc/ssh-socks-proxy-config.xml (if it does not exist yet).

  2. Edit the file to enable fallback to plaintext FTP for transparent FTP tunneling:

         <rule ip-address=".*"
               fallback-to-plain="YES" />
  3. Start the SOCKS Proxy if it is not already running.

    If the SOCKS Proxy is already running, take the updated configuration in use as instructed in Reloading ssh-socks-proxy configuration.

  4. Edit the system-wide FTP configuration file SYS1.TCPPARMS(FTPDATA) to include the following lines:

  5. Create a new SOCKS configuration data set EXAMPLE.SYSTEM.SOCKS.CONF with the following contents:

    sockd @= 
    sockd @= 
    sockd @= 

Want to see how PrivX can help your organisation?

Are you a DEVELOPER accessing cloud hosts, are you a IT ADMIN managing access & credentials in your corporation, are you BUSINESS MANAGER and want to save money or are you responsible of IT SECURITY in DevOps