furlongm / openvpn-monitor

openvpn-monitor is a web based OpenVPN monitor, that shows current connection information, such as users, location and data transferred.
http://openvpn-monitor.openbytes.ie
GNU General Public License v3.0
968 stars 294 forks source link

Allow TLS connections #219

Open exeba opened 3 years ago

exeba commented 3 years ago

I need to control several openvpn instances but i don't want to do that over plaintext connections.

This pull request moves connection methods under a separate file and introduces a new config param called "ssl".

When "ssl" is set, a tls connection is attempted. If ssl=any-cert any certificate is accepted.