summaryrefslogtreecommitdiff
path: root/provider_base/test/openvpn/client.ovpn.erb
blob: af183ef42d6e98e72d1dad2d1ee04ba257e27be7 (plain)
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
client
dev tun
remote-cert-tls server
remote-random
nobind
script-security 2
verb 3
auth SHA1
cipher AES-128-CBC
tls-cipher DHE-RSA-AES128-SHA

<% vpn_nodes.each_node do |node| -%>
<%=  "remote #{node.openvpn.gateway_address} 1194 udp"%>
<% end -%>

<ca>
<%= read_file! :ca_cert -%>
</ca>

<cert>
<%# read_file! :test_client_cert -%>
<%= cert -%>
</cert>

<key>
<%# read_file! :test_client_key -%>
<%= key -%>
</key>