OpenVPN client GUI auto-connect .ovpn files on Windows login?

Need help configuring your VPN? Just post here and you'll get that help.

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

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
fogelfish
OpenVpn Newbie
Posts: 2
Joined: Mon Jan 10, 2022 10:05 pm

OpenVPN client GUI auto-connect .ovpn files on Windows login?

Post by fogelfish » Mon Jan 10, 2022 10:16 pm

I've read that “When started, the OpenVPN Service Wrapper will scan the C:\Program Files\OpenVPN\config-auto folder for .ovpn configuration files, starting a separate OpenVPN process on each file.” I have created a config-auto folder; I have put in there an .ovpn file, .tls KEY file, and Personal Information file. But on restarting and logging into Windows a connection is not automatically started.

My OpenVPN client GUI settings has the following three options checked: Launch on User Logon; Show script window; and Always use interactive service. The OpenVPNServiceInteractive service is set to Automatic.

Can someone point me to what else I should do to make it unnecessary to manually connect?

My OpenVPN server is a pfSense 2.5.2 plugin.

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

Re: OpenVPN client GUI auto-connect .ovpn files on Windows login?

Post by TinCanTech » Mon Jan 10, 2022 11:23 pm

You cannot use the Openvpn-GUI with an auto-connect profile.

fogelfish
OpenVpn Newbie
Posts: 2
Joined: Mon Jan 10, 2022 10:05 pm

Re: OpenVPN client GUI auto-connect .ovpn files on Windows login?

Post by fogelfish » Tue Jan 11, 2022 5:49 pm

I am new to this, so I wonder is there another free client that can auto-connect on Windows login?

BuckSn0rt
OpenVpn Newbie
Posts: 1
Joined: Fri Mar 25, 2022 3:43 pm

Re: OpenVPN client GUI auto-connect .ovpn files on Windows login?

Post by BuckSn0rt » Fri Mar 25, 2022 3:53 pm

What options are there then to have openVPN automatically connect to my VPN service provider?

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

Re: OpenVPN client GUI auto-connect .ovpn files on Windows login?

Post by TinCanTech » Fri Mar 25, 2022 4:28 pm

The GUI does not use the configs in the config-auto folder.

If you want to use the GUI then use the settings to start it automatically.

https://community.openvpn.net/openvpn/w ... et-general

Post Reply