2

I'm on an Ubuntu 18.04 laptop and I always need to connect to an openvpn server. Since I'm unable to setup the VPN from the GUI I always need to manually run

sudo openvpn --config theconfig.ovpn

When I'm away from my laptop it goes into sleep mode, disconnects from wifi and when it wakes up again it reconnects to wifi again. After that I'm disconnected from the internet until I stop the openvpn and reconnect it again.

Is there a way that I can make this reconnection happen automatically when it finds a connection to wifi again?

1
  • Have you tried using the "gnome-nettool" package? Jul 12, 2018 at 14:10

1 Answer 1

0

Openvpn (when kept running) will reconnect automagically.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .