Skip to main content
mannemramesh
New Member
May 3, 2016
Question

Auto connect SSL VPN with windows Stratup

  • May 3, 2016
  • 1 reply
  • 17595 views

Is it possible to auto connect Forticlient ssl vpn before windows login?

 

Presently we are using Hamachi VPN, it is connecting automatically with windows startup.

 

Some of my remote servers are restarting on daily schedules. After rebooting the servers, VPN should connect automatically.

 

I have tested with Forticlient ssl vpn, it is asking user name and password of VPN connection with windows login or it is connecting automatically after windows login. I need to enter manually the user name and password of VPN with windows login. My servers are in remote location and no one is available there to enter user name and password manually

 

So I want the SSL VPN should connect automatically with windows startup. It should not ask or wait till manual entering the VPN credentials.

 

 

Thanks

Ramesh

1 reply

AndreaSoliva
New Member
May 4, 2016

Hi

 

this is possible based on SSL-VPN and FortiClient as command line option. Options see below or to attached printscreen:

 

 

 

hope this helps

 

have fun

 

Andrea

 

 

 

 

mannemramesh
New Member
May 5, 2016

Hi Andrea,

 

Thanks for your response.

I have created  a batch file with following script.

 

cd C:\SSLVPNcmdline FortiSSLVPNclient.exe connect -s ned

 

batch file is working, but how can I make it in windows startup?

I have added  a startup task to run the .bat file in Task Scheduler. It is not starting the VPN.

 

AndreaSoliva
New Member
May 6, 2016

Hi

 

sorry can not help because I'm a linux/unix/solaris guy no doubt of windows details etc.

 

It is enough for me if I have to use windows for some reason :)

 

have fun

 

Andrea