automatically map a network drive after a successful Openvpn Connect 3.3.1 (2222) client connection in MS Windows 10

How to customize and extend your OpenVPN installation.
Post Reply
kexaxen
OpenVpn Newbie
Posts: 1
Joined: Mon Aug 02, 2021 7:06 am

automatically map a network drive after a successful Openvpn Connect 3.3.1 (2222) client connection in MS Windows 10

Post by kexaxen » Mon Aug 02, 2021 2:05 pm

How to automatically map a network drive after a successful Openvpn Connect 3.3.1 (2222) client connection in MS Windows 10 OS?
script-security 2
up profile_name_up.bat
options in .ovpn profile not working.
Thank you.

300000
OpenVPN Expert
Posts: 617
Joined: Tue May 01, 2012 9:30 pm

Re: automatically map a network drive after a successful Openvpn Connect 3.3.1 (2222) client connection in MS Windows 10

Post by 300000 » Tue Aug 03, 2021 11:39 am

here the way it work , I make it work on openvpn 2.5 and openvpn GUI support script but you can use up command to make it work the same way . it is on both windows 10 and new openvpn 3.0 make it trouble so carefully will make it work as you like.

the trick in here is make the first scripts finish first so openvpn network card have ip address then the first scripts will call other scritp to create network map for you. if you try to make it work on the first scripts it will never do for you.

viewtopic.php?f=8&t=32636

Post Reply