-
-
Save bvanskiver/122af6ee9c7843c89225d954165f4264 to your computer and use it in GitHub Desktop.
rem http://www.shrew.net/ | |
"C:\Program Files\ShrewSoft\VPN Client\ipsecc.exe" -r "VPN Profile Name" -u "Username" -p "Password" -a |
"C:\Program Files\ShrewSoft\VPN Client\ipsecc.exe" -r "VPN Profile Name" -u "Username" -p "Password" -a
Adding -a for auto connect
@nitinjain1005 Thanks, I'll add that!
@bvanskiver is there any way to auto close the command prompt? I tried EXIT but that didn't work.
@jkyadav, when you leave the ikec
/ipsecc
command open, you can press (I think) x
q
(I am not sure if it is I have cheched upon it.)x
or q
, I always forget it.
#!/bin/bash
qikec -r VPN -u [email protected] -p password -a
(in Linux)
@bvanskiver is there any way to auto close the command prompt? I tried EXIT but that didn't work.
@jkyadav start "" "C:\Program Files\ShrewSoft\VPN Client\ipsecc.exe" -r "VPN Profile Name" -u "Username" -p "Password" -a
@Bluscream thank you.
Hi, I'm not a tech genius is there a way I could set such connection and say it will connect @06:00 daily for 1 hour?
Would also need guidance, are the scripts above to run in a bat file or an other?
Thanks in advance
Hi, I'm not a tech genius is there a way I could set such connection and say it will connect @06:00 daily for 1 hour?
Would also need guidance, are the scripts above to run in a bat file or an other?
Thanks in advance
Windows scheduler should help you with this.
@sdkbotik thanks now I got it working
@sdkbotik thanks now I got it working
Отлично! Я рад Вам помочь.
"C:\Program Files\ShrewSoft\VPN Client\ipsecc.exe" -r "VPN Profile Name" -u "Username" -p "Password" -a
Adding -a for auto connect