4

How would you go about making OpenVPN automatically restart upon connecting to a network?

The issue is that every time a network connection is lost, or if the computer is booted without a network connection and then connects, OpenVPN does not work — at least until I manually restart openvpn.

Running Arch Linux (thus using systemd)

0

Use the --ping and --ping-restart (or --keepalive) options and openvpn will reconnect when it looses the connection.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.