F5 is upgrading its customer support chat feature on My.F5.com. Chat support will be unavailable from 6am-10am PST on 1/20/26. Refer to K000159584 for details.

Forum Discussion

cronus's avatar
cronus
Icon for Nimbostratus rankNimbostratus
Nov 08, 2016

Listening port of pool members about SFTP virtual server.

Hi all

 

I would like to create a virtual server for SFTP. Does it work with a virtual server listening port 22 with address translation and port translation and the pool members are listening port 21?

 

I tried this but failed. But If I change the listening port of pool members from 21 to 22, connections could be established successfully.

 

How could I make a SFTP virtual server works with pool members listening port 21? Or this couldn't be done?

 

THX

 

2 Replies

  • SFTP works over SSH so a VIP and Pool members should only need TCP/22 (assuming the SFTP service on the pool members are enabled on TCP/22)

     

  • If I understand correctly you want to do SFTP (TCP 22) on the clint side and FTP (TCP 21) on the server side with Big-IP in the middle doing the "magic". That wouldn't be possible due to nature of SSH protocol and encryption. Your SFTP servers should be listening on port 22.