console/terminal-only setup (no X/DE/WM/Wayland): How do I connect to openvpn automatically on start-up?
I have installed networkmanager + networkmanager-openvpn packages during installation. I then enabled networkmanager via systemctl enable NetworkManager.
I just restarted the PC (first boot) and I can ping www.google.com. What service/daemon do I need to run/enable so I can connect to a VPN server on boot? I've looked around the net and all I found is using nmcli to activate a connection.
Or perhaps I'm better off using the openvpn package?
Thanks
About this post
- Posted
- Archived
- Score
- 1 · 100% up
- Kind
- Text
- ID
- bb4dqa
2 comments
Check the wiki and find your answer. You basically need to create a systemd unit and enable it
https://wiki.archlinux.org/index.php/OpenVPN#systemd_service_configuration