Skip to main content
Andrew3791
New Member
August 28, 2012
Question

FTP Session Helper assistance

  • August 28, 2012
  • 8 replies
  • 12688 views
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.

    8 replies

    pchechani_FTNT
    Staff
    Staff
    August 28, 2012
    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
    August 29, 2012
    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
    August 29, 2012
    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
    August 29, 2012
    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
    August 29, 2012
    From that point did you try the two commands I posted?
    Andrew3791
    New Member
    August 29, 2012
    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
    August 29, 2012
    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
    August 29, 2012
    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
    August 29, 2012
    Worked like a charm. Thanks
    #config vdom #edit Hosting <or your vdom name>
    Paul_Dean
    Visitor III
    August 29, 2012
    Happy to help.