forked from rockstor/rockon-registry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
openvpn.json
49 lines (49 loc) · 2.47 KB
/
openvpn.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"OpenVPN": {
"containers": {
"openvpn": {
"image": "kylemanna/openvpn",
"launch_order": 2,
"opts": [
[
"--cap-add=NET_ADMIN",
""
],
[
"--volumes-from",
"ovpn-data"
]
],
"ports": {
"1194": {
"description": "OpenVPN server listening port. You may need to open it on your firewall.",
"host_default": 1194,
"label": "Server port",
"protocol": "udp"
}
}
},
"ovpn-data": {
"image": "busybox",
"launch_order": 1,
"opts": [
[
"-v",
"/etc/openvpn"
]
]
}
},
"custom_config": {
"servername": {
"description": "Your Rockstor system's public ip address or FQDN.",
"label": "Server address"
}
},
"description": "Open Source VPN server.<p>Based on a custom docker image: <a href='https://hub.docker.com/r/kylemanna/openvpn' target='_blank'>https://hub.docker.com/r/kylemanna/openvpn</a>, available for amd64 architecture only.</p>",
"icon": "https://openvpn.net/",
"more_info": "<h4>Additional steps are required by this Rock-on.</h4><p>Run these following commands as the<code>root</code>user on your Rockstor system, i.e., via a ssh console.</p><h4><u>Initialize PKI</u> <i>The OpenVPN Rock-on will not start without it.</i></h4><code>/opt/rockstor/bin/ovpn-initpki</code><h4><u>Generate a client certificate</u> <i>One for each client</i></h4><code>/opt/rockstor/bin/ovpn-client-gen</code><br><h4><u>Retrieve client configuration</u>  <i>For any one of your clients. The resulting .ovpn file can be used to connect to this OpenVPN server.</i></h4><code>/opt/rockstor/bin/ovpn-client-print</code><h4><u>Configure firewall</u></h4><p>If your Rockstor system is behind a firewall, you will need to configure it to allow OpenVPN traffic to forward to your Rockstor system.</p>",
"website": "https://openvpn.net/",
"version": "1.1"
}
}