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

FTP Session Helper assistance

Hi, I am trying to add an FTP session-helper for some passive FTP server requirements. I understand that I need to add this, but would like to get some input to be sure I' m doing this right. Firstly I have three VDOMs, Global, root and Hosting. I want to edit this for Hosting vdom only. I cannot run show system session-helper for example, and I cannot recall how to switch CLI to the VDOM I want to interact with. The FTP servers are listening on 21 and 2121, so I need to enable session-helper for both ports. Any advice would be appreciated. Thanks.
10 REPLIES 10
pchechani_FTNT

1) to get the configuration of the particular vdom: #config vdom #edit Hosting <or your vdom name> 2)for FTP session helper you can look into the help link below; http://docs.fortinet.com/fgt/handbook/cli_html/wwhelp/wwhimpl/js/html/wwhelp.htm#href=config_system.21.69.html 3) yes you have to configure both port.
-p
Andrew3791
New Contributor

Thanks, OK I have done this and both the below command and also " show system session-helper" fails to complete (see copy/paste below). Can you steer me in the right direction to resolve and edit this? ngfwngdc01 (Hosting) # show system session-helper command parse error before ' session-helper' Command fail. Return code -61 ngfwngdc01 (Hosting) # config system session-helper command parse error before ' session-helper' Command fail. Return code 1
rwpatterson
Valued Contributor III

You need to enter the correct VDOM before entering that command, I believe. Then it' s
 # config system session-helper
 (session-helper) # show
 

Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com

Bob - self proclaimed posting junkie!See my Fortigate related scripts at: http://fortigate.camerabob.com
Andrew3791
New Contributor

Thanks Bob, From the earlier post I entered #config vdom #edit Hosting This provided the prompt below which I take to mean the focus is the Hosting vdom. ngfwngdc01 (Hosting) # The errors seem to be related to while in vdom edit mode. I may very well be mistaken...any thoughts?
rwpatterson
Valued Contributor III

From that point did you try the two commands I posted?

Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com

Bob - self proclaimed posting junkie!See my Fortigate related scripts at: http://fortigate.camerabob.com
Andrew3791
New Contributor

Yes, this was in my original post, the command below results in the following error. So I cannot progress to the second show command.
ngfwngdc01 (Hosting) # config system session-helper command parse error before ' session-helper' Command fail. Return code 1
Andrew3791
New Contributor

To add further, I am using a FG-60C device in the event there may be capability differences. When I run " config system ?:" it displays a list of available commands, and I see the following monitors System Monitors configuration object-tag Object tags. proxy-arp configure proxy-arp replacemsg-group replacement message groups session-ttl session ttl configuration settings settings sit-tunnel configure ipv6 tunnel over ipv4 switch-interface software switch interfaces vdom-dns vdom dns configuration vdom-sflow vdom-sflow configuration wccp WCCP configuration zone zone configuration But intertestingly session-helper is not included in this list. Puzzling...
Paul_Dean
Contributor

You can find session helper under global settings. # config global (global) # config system session-helper So it' s a global command rather than VDOM specific.
NSE4
NSE4
Andrew3791
New Contributor

Worked like a charm. Thanks
#config vdom #edit Hosting <or your vdom name>
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