# Security offload for SFTP

**URL:** <https://community.f5.com/t/security-offload-for-sftp/71215>\
**Category:** Technical Forums\
**Tags:** offload, sftp, security, application-delivery\
**Created:** [December 15, 2022, 2:34pm UTC](https://community.f5.com/t/security-offload-for-sftp/71215 "2022-12-15T14:34:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stefan\_Klotz](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/stefan_klotz/32/19800_2.png) [@Stefan\_Klotz](https://community.f5.com/u/Stefan_Klotz)\
**Post date:** [December 15, 2022, 2:34pm UTC](https://community.f5.com/t/security-offload-for-sftp/71215/1 "2022-12-15T14:34:38Z")

</div>

What’s the latest status about offloading SFTP/SSH? Is this still not possible? I’m looking for an alternative solution to offload some security features for SFTP, because due to SNAT the server only sees the LBs IP-address and therefor can’t use this for the blacklist. Disabling SNAT and having the LB as DFGW for the server is not an option. And as SFTP doesn’t support and kind of XFF, I was wondering if I can use any nice iRule to check for not allowed usernames or the number of failed login attempts. We also have only LTM module available.

Thanks for any ideas or further information!

Regards Stefan 🙂

---

<div class="post-metadata">

**Author:** ![Paulius](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/paulius/32/21698_2.png) [@Paulius](https://community.f5.com/u/Paulius)\
**Post date:** [December 15, 2022, 4:15pm UTC](https://community.f5.com/t/security-offload-for-sftp/71215/2 "2022-12-15T16:15:33Z")

</div>

@Stefan_Klotz I don’t believe you can with just LTM. I have been poking around in the various option for TCP connections but I can’t seem to find any values pertaining to SSH sessions before they form. You can log client IP for every SSH sessions but I don’t see a way currently to match that to SSH session on the server side to have that correlation.

---

<div class="post-metadata">

**Author:** ![Daniel\_Wolf](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/daniel_wolf/32/1119_2.png) [@Daniel\_Wolf](https://community.f5.com/u/Daniel_Wolf)\
**Post date:** [December 16, 2022, 3:05pm UTC](https://community.f5.com/t/security-offload-for-sftp/71215/3 "2022-12-16T15:05:30Z")

</div>

Hi @Stefan_Klotz ,

did you consider using AFM and SSH Proxy?  
[AskF5 \>\> Secure SSH traffic with the SSH Proxy](https://techdocs.f5.com/en-us/bigip-15-1-0/big-ip-network-firewall-policies-and-implementations/afm-protocol-security/ssh-protocol-security/securing-ssh-traffic-with-the-ssh-proxy.html)

KR  
Daniel
