Is it possible to launch as a service based on the network?

How to customize and extend your OpenVPN installation.
Post Reply
saint1415
OpenVpn Newbie
Posts: 1
Joined: Tue Aug 29, 2017 1:58 pm

Is it possible to launch as a service based on the network?

Post by saint1415 » Tue Aug 29, 2017 3:14 pm

Working in a Windows 7/10 environment, I'm looking to run the service on PCs in my office and remotely. Is there a config, VBScript, PS, etc that would look at the LAN and connect based on given factors? For example, if I have an office associate working remotely, it wouldn't have access to the DC so would launch OpenVPN and connect, and when the associate comes into the office it would disable.

Thoughts on how to accomplish this?

Post Reply