Created on
10-27-2025
01:34 AM
Edited on
11-19-2025
10:27 PM
By
Jean-Philippe_P
| Description | This article describes how to configure a SOCKS proxy to allow SFTP server access. |
| Scope | FortiProxy. |
| Solution |
In this scenario, an internal user requests to access SFTP server using a FileZilla client, where FortiProxy acts as an intermediate proxy to authenticate this application access traffic.
Go to Proxy Settings -> Explicit Proxy -> Select web proxy name -> Select Edit. Enable the SOCKS Proxy checkbox and enter a port number.
Go to Policy & Objects -> Authentication Rules -> Authentication Schemes -> Create New. Select the authentication methods. Note: Socks authentication rule can only support basic or Kerberos authentication methods.
Go to Policy & Objects -> Authentication Rules -> Create New. Select Socket Secure under protocol selection to match SOCKS authentication traffic.
diagnose wad user list diagnose wad filter process-id-by-src <client-ip>
fpx # diagnose wad user list ID: 5, VDOM: root, IPv4: 10.165.2.76 fpx #
Wad debug: Matching authentication rule
Wad debug: Matching policy rule [I][p:962] wad_socks_policy_match_one :124 fw_pol_id=1(pol_ctx:mx|A|7?|=p) pflag:H|W|U|A asyn_info=1
Related article: Technical Tip: A basic working sample for Telnet over SOCKS 5 Proxy |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.