Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Nominate a Forum Post for Knowledge Article Creation
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
10 REPLIES 10
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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...
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Worked like a charm. Thanks
#config vdom #edit Hosting <or your vdom name>