Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
ioshakshay289
New Contributor

To access FTP server from SSL VPN tunnel

My user is unbale to access FTP server from ssl vpn which protocol need to add in firewall policy 

when I add all services to the firewall policy, the SSL VPN user able to access FTP server but when  i  add FTP services in firewall policies the user unable to access FTP Server

is there any other services need add in firewall policy to access FTP server

 
1 Solution
Mrinmoy
Staff
Staff
3 REPLIES 3
Mrinmoy
Staff
Staff

Please run the following command in the firewall while connecting to the FTP server to identify the ports/ protocols and then allow them in your firewall policy

diagnose sniffer packet any 'host SSL_VPN_USER_IP and host FTP_SERVER_IP' 4 0 l


Traditionally these are port 21 for the command port and port 20 for the data port.

Mrinmoy Purkayastha
Mrinmoy
Staff
Staff

You can also capture wireshark log by following the below article

https://community.fortinet.com/t5/FortiGate/Troubleshooting-Tip-Packet-Capture-on-FortiOS-GUI/ta-p/1...

Mrinmoy Purkayastha
nradia_FTNT

You can also use following useful KB articles for troubleshooting steps:

 

https://community.fortinet.com/t5/FortiGate/Technical-Tip-FortiGate-debug-SSL-VPN-daemon/ta-p/214433

 

 

 

https://community.fortinet.com/t5/FortiGate/Troubleshooting-Tip-SSL-VPN-Troubleshooting/ta-p/189542

 

https://community.fortinet.com/t5/FortiGate/Technical-Tip-Basic-SSL-VPN-web-mode-setup-for-FTP-Traff...

 

And following debug flow commands:

diag deb reset
diag deb flow filter clear
diag deb flow trace stop
diag deb en
diag deb flow show fun en
diag deb flow filter addr x.x.x.x (IP that you obtained from ssl vpn pool)
diag deb flow filter port 21
diag deb flow trace start 9999

 

Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors