Innovenergy_trunk/csharp/App/OpenVpnCertificatesServer/Files.cs

35 lines
645 B
C#
Raw Normal View History

namespace InnovEnergy.App.OpenVpnCertificatesServer;
2023-02-16 12:57:06 +00:00
public static class Files
{
public const String ReadMeTxt = @"
for systemd:
store everything in /etc/openvpn/client
sudo systemctl start openvpn-client@innovenergy.service
sudo systemctl enable openvpn-client@innovenergy.service
otherwise:
openvpn --config innovenergy.conf
";
public const String OvpnConf = @"
client
nobind
resolv-retry infinite
ca ca-certificate
cert client-certificate
key client-key
remote salidomo.innovenergy.ch
port 7002
proto udp
dev innovenergy
dev-type tun
auth SHA256
cipher AES-256-CBC
verb 3
keepalive 10 120
persist-key
persist-tun
";
}