ClearFoundation Tracker - ClearOS
View Issue Details
0000983ClearOSapp-openvpn - OpenVPNpublic2013-02-15 11:292019-04-25 08:29
dloper 
 
lowfeaturealways
closedsuspended 
 
 
0000983: Add app to create customizable templates to OpenVPN config file.
An app should exist to make customizable .ovpn files for downloads. Basically the app will make additional objects in the pulldown which now allows for Windows, Mac, Linux. These template files will be used in place of these three.

Each object will have a name (no spaces or special characters) which will be the name in the pulldown list and also the name of the file in whatever directory (e.g. /etc/openvpn/client-templates/templatename.webconfig) will house the data for the custom template.

The config will look exactly like the variable in /usr/clearos/apps/openvpn/libraries/OpenVPN.php public function get_client_configuration() and users by have a template to get started which reflects the Mac, Windows, and Linux templates:

"client^M
remote $host $port^M
dev tun^M
proto $protocol^M
resolv-retry infinite^M
nobind^M
persist-key^M
persist-tun^M
ca ca-cert.pem^M
cert client-" . $file_id . "-cert.pem^M
key client-" . $file_id . "-key.pem^M
ns-cert-type server^M
comp-lzo^M
verb 3^M
auth-user-pass^M
";
No tags attached.
Issue History
2013-02-15 11:29dloperNew Issue
2013-02-16 14:53user2Statusnew => confirmed
2015-05-25 05:10user2Target VersionFuture =>
2019-04-25 08:29NickHNote Added: 0011741
2019-04-25 08:29NickHStatusconfirmed => closed
2019-04-25 08:29NickHResolutionopen => suspended

Notes
(0011741)
NickH   
2019-04-25 08:29   
Scope reduced and duped to https://tracker.clearos.com/view.php?id=17381 [^] and https://gitlab.com/clearos/clearfoundation/app-openvpn/issues/2 [^]