Automating connection guide?

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
Strahan
OpenVpn Newbie
Posts: 1
Joined: Sat Aug 20, 2022 4:51 pm

Automating connection guide?

Post by Strahan » Sat Aug 20, 2022 4:55 pm

Hello. Is there a guide somewhere on how to setup an automatic connection? My sister wants to play a game with me over the net, so I gave her OpenVPN to connect to my LAN. It works, but she keeps forgetting to connect before she fires up the game. I'd like to make a batch file that will ping my network IP and if it can't reach it, it will automatically connect to my VPN using her creds so for her it's seamless... click icon, it all happens automatically then opens game.

I did the --help option on the command line, but I can't figure it out. I was wondering if there was a tutorial/guide somewhere on this subject?

Thanks!

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Automating connection guide?

Post by TinCanTech » Sat Aug 20, 2022 5:21 pm

There is a folder on the computer called C:\Program Files\Openvpn\config-auto\README.md
which explains what you need.

or not and

You can also have an auto-start profile launched by the GUI:
https://community.openvpn.net/openvpn/w ... PN-GUI-New

I haven't tried the GUI version myself.

Post Reply