OpenVPN RC client automatic connect on startup

Weekly dev snapshots are available for testing.
We talk about them here. Testing features in the dev snapshot helps the features make it to stable.

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

Forum rules
Please report your experience with testing branch. Include what you were using and how
If there is a problem, the more info the better!
Post Reply
dimitrixz
OpenVpn Newbie
Posts: 3
Joined: Tue Oct 27, 2020 2:32 pm

OpenVPN RC client automatic connect on startup

Post by dimitrixz » Tue Oct 27, 2020 2:41 pm

Hello! Please tell me how I can set up automatic connection to one of the configurations on startup? I found option in the GUI, but it starts service and GUI (tray icon) without any connection.

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

Re: OpenVPN RC client automatic connect on startup

Post by TinCanTech » Tue Oct 27, 2020 3:32 pm


dimitrixz
OpenVpn Newbie
Posts: 3
Joined: Tue Oct 27, 2020 2:32 pm

Re: OpenVPN RC client automatic connect on startup

Post by dimitrixz » Tue Oct 27, 2020 3:51 pm

I have already read this. System service configured to Automatic, all config files in the directory: OpenVPN/config, but there is no automatic connection at login.

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

Re: OpenVPN RC client automatic connect on startup

Post by TinCanTech » Tue Oct 27, 2020 3:56 pm

Then check your log files for errors.

dimitrixz
OpenVpn Newbie
Posts: 3
Joined: Tue Oct 27, 2020 2:32 pm

Re: OpenVPN RC client automatic connect on startup

Post by dimitrixz » Tue Oct 27, 2020 4:08 pm

TinCanTech wrote:
Tue Oct 27, 2020 3:56 pm
Then check your log files for errors.
There is nothing in the logs, since the connection action itself does not occur automatically, only old records of manual connections.
Everything is configured correctly: the username and password are saved, the configs are shown in the menu of available connections of GUI, and manually connection works properly. I need to determine which configuration to use at boot, I didn't notice this in the documentation. It just doesn't do anything. Client starts but waits until I connect everything manually.

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

Re: OpenVPN RC client automatic connect on startup

Post by TinCanTech » Tue Oct 27, 2020 4:44 pm

Please read the howto carefully.

Post Reply