6

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)

1 Answer 1

0

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

You must log in to answer this question.

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