How to autostart manual openvpn?
I recently had to change to icevpn. Unfortunately they have no Linux client but you can manually configure it with openvpn. It works fine, however I cannot get it to auto start when I boot the PC or wake from sleep. I edited the config for opnvpn in /etc to uncomment AUTOSTART which did nothing.
Linux Mint
I appreciate any help! Other than this, icevpn has been great.
3 replies
Make it a SystemD user service that runs after you login
When I did this, I set it up as a system service because it was on a server. If OP wants it up when the system comes up they should make it a system service.
And there's plenty of documentation about setting up the openvpn client as a service out there.
That is also an option. I imagine the user wants to be able to disable and restart it easily, like in the case where his VPN IP is blocked. Better to be able to do that without using sudo