openvpn: Support username and password options
authorMichal Hrusecky <michal.hrusecky@turris.com>
Mon, 16 Nov 2020 13:34:19 +0000 (14:34 +0100)
committerMichal Hrusecky <michal.hrusecky@turris.com>
Fri, 11 Dec 2020 16:07:53 +0000 (17:07 +0100)
commit0830dfa41c490252b6630f8e7627d634a2e6ed00
tree11f173f39904f0f6ab92e486502ece1418cd8211
parent3292d24cfe1d5c3afcd1c0e0eb86f6f8d2dddfe4
openvpn: Support username and password options

Some VPN providers require username and password for client to connect.
This commit adds an option to specify username, password and
cert_password directly in uci config which then gets expanded during
start of openpvn client.

Signed-off-by: Michal Hrusecky <michal.hrusecky@turris.com>
net/openvpn/Makefile
net/openvpn/files/openvpn.config
net/openvpn/files/openvpn.init