Outils pour utilisateurs

Outils du site


reseau:openvpncube

OpenVPN fichier de configuration .cube

Certains logiciels client OpenVPN utilisent un format de fichier .cube, notamment Yunohost.

Par défaut, Grifon fournit un fichier au format classique OpenVPN .ovpn.

Si vous souhaitez utiliser un fichier .cube, voici un template que vous pouvez compléter/ajuster (certaines parties sont à remplacer, notamment server_name, crt_client_ta, login_user, login_passphrase et dns0/dns1) :

{
  "server_name": "vpn2.grifon.fr",
  "server_port": "1194",
  "server_proto": "udp",
  "crt_server_ca": "-----BEGIN CERTIFICATE-----|MIIGdDCCBFygAwIBAgIJAKk3963Ys0HlMA0GCSqGSIb3DQEBCwUAMIGCMQswCQYD|VQQGEwJGUjERMA8GA1UECBMIQnJldGFnbmUxFzAVBgNVBAcTDkNlc3NvbiBTZXZp|Z25lMQ8wDQYDVQQKEwZHUklGT04xDDAKBgNVBAsTA1ZQTjEWMBQGA1UEAxMNdnBu|LmdyaWZvbi5mcjEQMA4GA1UEKRMHT3BlblZQTjAeFw0xNTExMDkyMDA0MzFaFw0y|NTExMDYyMDA0MzFaMIGCMQswCQYDVQQGEwJGUjERMA8GA1UECBMIQnJldGFnbmUx|FzAVBgNVBAcTDkNlc3NvbiBTZXZpZ25lMQ8wDQYDVQQKEwZHUklGT04xDDAKBgNV|BAsTA1ZQTjEWMBQGA1UEAxMNdnBuLmdyaWZvbi5mcjEQMA4GA1UEKRMHT3BlblZQ|TjCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAKl+DCOmB7u/mphT9Pbj|91F5KviclWxw1gT1GglbHizfNFomJ9i4xBWO7hBP7x+HtgAnOb9/KSjFRADq9gMo|ay+NULkMH/+sDr8AdNGOD1wZU0bpkmqGWRgLZpTHc9uMP0RTmpFFYecFAPJeY6U2|uRuIPZSkbYRZxnlSbKMidV/w4e1PVv30hpr0x7Y6Ded3lr+RUbWYpSGeNn89bM8y|xZjUCxPaX73mKfLg4gaXVwKOn/50KESKhaE/BHdkKIE9WKpL48ireIYf4TFQ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Dnl8hj8hJzaCj1zbda+DzrdBJJTwk8dX51gXxVAfgw9|3keZeI7UKEpCbb3hIeVK3r5E1DsVvgE6yfSzlfGBlY1nyA0G8/Q6+2k3WJjdY5lm|cZ3LerCNeXZfVELpwlMdj0q+/m2HnZKxIqKScEjZSwxt+go9sdvoz2EZVjtp3iB8|YziO3VvnrrOsKBy8RLAKXpm+x5CP4uX48Qv1sqDaEvSZzuh704QJMfUekoeDHR3L|M3mqrq2nDUJuKwtOb1pGJgDkMeKSj7IZNQQgVSDx2F/frDArhyEv+b/+VLnd9IUp|QK/w37xqNHPIj02Mrr9D2cHcKRLnubd1YuWcazNqvnSKXXeJoNvpj9L6pYtWoHMg|2kSONme/cdZptUNl2KZzs+xYBeyUPSRE|-----END CERTIFICATE-----",
  "crt_client_ta": "-----BEGIN OpenVPN Static key V1-----|laStaticKeyARemplacerLigne1|laStaticKeyARemplacerLigne2|laStaticKeyARemplacerLigne3|...|-----END OpenVPN Static key V1-----",
  "login_user": "TON USERNAME",
  "login_passphrase": "TON MOT DE PASSE",
  "dns0": "89.234.186.5",
  "dns1": "2a00:5884::9",
  "openvpn_add": [ "resolv-retry infinite", "remote-cert-tls server", "route-delay 2", "nobind", "persist-key", "fragment 1300", "mssfix 1300", "cipher aes-256-cbc", "comp-lzo", "redirect-gateway def1 bypass-dhcp", "route-ipv6 2000::/3" ]
}

Note : il est possible que la configuration ne passe pas, dans ce cas il faudra trouver les ajustements nécessaires (n'hésitez pas à nous en informer via contact@grifon.fr).

reseau/openvpncube.txt · Dernière modification: 2022/08/10 06:22 de nemo