forked from zer.ooo/web
added a twig template for a server config with an embedded certificate and associated code to make it work
parent
0d69847a99
commit
cb7297eb88
@ -0,0 +1,34 @@
|
||||
client
|
||||
|
||||
dev zerooo
|
||||
dev-type tun
|
||||
|
||||
proto {{ server.getProtocol() }}
|
||||
|
||||
remote {{ server.getExternalIp() }} {{ server.getPort() }}
|
||||
resolv-retry infinite
|
||||
nobind
|
||||
|
||||
user nobody
|
||||
group nogroup
|
||||
|
||||
persist-key
|
||||
persist-tun
|
||||
|
||||
remote-cert-tls server
|
||||
|
||||
cipher AES-256-CBC
|
||||
|
||||
comp-lzo
|
||||
|
||||
<ca>
|
||||
{{ ca }}
|
||||
</ca>
|
||||
|
||||
<cert>
|
||||
{{ cert }}
|
||||
</cert>
|
||||
|
||||
<key>
|
||||
{{ key }}
|
||||
</key>
|
Loading…
Reference in New Issue