Start vbs script on up tunnel.

How to customize and extend your OpenVPN installation.
Post Reply
dm_235
OpenVpn Newbie
Posts: 1
Joined: Wed Oct 10, 2018 6:54 am

Start vbs script on up tunnel.

Post by dm_235 » Wed Oct 10, 2018 8:20 am

Hi all, have a problem with a start vbs script on start up. In config file add line up ".\\start.vbs\\. So after runnig vpn client have an error: openvpn_execve: CreateProcess .\start.vbs failed: Unknown error (errno=193). Warning: failed running (--up/--down): external program did not execute -- returned code -1.
If i start vbs script form windows explorer, hi running and did his job.
So, how can I start vbs script on up tunnel?
Thanks.

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 5785
Joined: Fri Jun 03, 2016 1:17 pm

Re: Start vbs script on up tunnel.

Post by TinCanTech » Wed Oct 10, 2018 9:30 pm

That does not look like a valid --up command

viewtopic.php?f=30&t=22603

Post Reply