Skip to main content
Andrew3791
New Member
Aug 28, 2012 12:44 PM UTC
Question

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

    pchechani_FTNT
    Staff
    Staff
    Aug 28, 2012 7:00 PM UTC
    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.
    Andrew3791
    New Member
    Aug 29, 2012 1:58 AM UTC
    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
    New Member
    Aug 29, 2012 5:04 AM UTC
    You need to enter the correct VDOM before entering that command, I believe. Then it' s
      # config system session-helper  (session-helper) # show  
    Andrew3791
    New Member
    Aug 29, 2012 5:27 AM UTC
    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
    New Member
    Aug 29, 2012 5:51 AM UTC
    From that point did you try the two commands I posted?
    Andrew3791
    New Member
    Aug 29, 2012 6:29 AM UTC
    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 Member
    Aug 29, 2012 7:06 AM UTC
    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
    Visitor III
    Aug 29, 2012 7:48 AM UTC
    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.
    Andrew3791
    New Member
    Aug 29, 2012 12:39 PM UTC
    Worked like a charm. Thanks
    #config vdom #edit Hosting <or your vdom name>
    Paul_Dean
    Visitor III
    Aug 29, 2012 1:42 PM UTC
    Happy to help.
    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024