Connecting to VPN automatically

Solution 1:

No guarantees, but try a variation of this...

# drop into /etc/network/interfaces

# change eth0 if required
# change /path/to/protovpn.ovpn to the correct path and filename
auto eth0
iface eth0 dhcp
        post-up openvpn /path/to/protonvpn.ovpn

# change wlpxxxx to the name of your wireless device
# change /path/to/protovpn.ovpn to the correct path and filename
auto wlpxxxx
iface wlpxxxx dhcp
        post-up openvpn /path/to/protonvpn.ovpn

Then reboot.