soft-reset OpenVPN client

soft-reset OpenVPN client

Content #

we restart the VPN connection by sending a special signal to the OpenVPN client:

# killall -USR1 openvpn

This will trigger a “soft-reset” of the OpenVPN client.

Soft-resets occur in real-life situations mostly when the persist-tun option is used on the client side and an OpenVPN client is on a mobile network with roaming, or whenever the network between the client and the server is not very stable.

From #

Mastering OpenVPN