Page 1 of 1

OpenVPN RC client automatic connect on startup

Posted: Tue Oct 27, 2020 2:41 pm
by dimitrixz
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.

Re: OpenVPN RC client automatic connect on startup

Posted: Tue Oct 27, 2020 3:32 pm
by TinCanTech

Re: OpenVPN RC client automatic connect on startup

Posted: Tue Oct 27, 2020 3:51 pm
by dimitrixz
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.

Re: OpenVPN RC client automatic connect on startup

Posted: Tue Oct 27, 2020 3:56 pm
by TinCanTech
Then check your log files for errors.

Re: OpenVPN RC client automatic connect on startup

Posted: Tue Oct 27, 2020 4:08 pm
by dimitrixz
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.

Re: OpenVPN RC client automatic connect on startup

Posted: Tue Oct 27, 2020 4:44 pm
by TinCanTech
Please read the howto carefully.