Jamie- / openvpn-api

A Python API for the OpenVPN management interface.
MIT License
60 stars 18 forks source link

OpenVPN should not quit by default on VPN object disconnect #13

Closed HosseyNJF closed 4 years ago

HosseyNJF commented 4 years ago

I was testing this script in my production server, and after my first test, I closed the connection and script (with vpn.disconnect()) and the entire server was down without me knowing! This could happen to every user, and it's not even documented that the quit command will get sent automatically while disconnecting.

HosseyNJF commented 4 years ago

Well I was wrong, the quit command will not shut down the server.