Skip to main content
nrivat_FTNT
Staff
Staff
July 16, 2004
Question

FortiClient batch

  • July 16, 2004
  • 2 replies
  • 4110 views
Is it possible to create a script that would start a VPN tunnel, use stored credential information (xauth enabled) and would later disconnect the tunnel (using a stop command) - so that the end-user does not see anything? I suppose it is not possible today. Is there any plan for that? Do you know any third-party client that woud support it today and that would be compatible with the FortiGate (xauth enabled)? Thanks for your help, Nathalie Rivat -------------------------- SE Southern Europe

    2 replies

    vanc
    New Member
    July 19, 2004
    It' s doable with the current FortiClient. You need to use the command under c:\Program Files\Fortinet\FortiClient\ipsec.exe In your script, you can bring up the tunnel with the command ipsec -k your_tunnel_name And stop the tunnel with this: ipsec quit You can do all these stuff with Windows scheduler. Without the FortiClient console, you won' t see any dialog box poped up.
    UkWizard
    New Member
    July 19, 2004
    Thats cool if it works vanc, where did you get that from ?
    vanc
    New Member
    July 20, 2004
    Secret channel.
    ORIGINAL: UkWizard Thats cool if it works vanc, where did you get that from ?