Jump to content

Je suis perdu avec la configuration VPN sur R2


Recommended Posts

Bonsoir j'ai une question que dois-je réellement mettre dans l'onglet configuration j'ai un vpn depuis cyberghost et quand je dl une configuration pour routeur il me donne 4 fichiers j'ai le choix entre ipsec et openvpn donc j'ai donc choisi openvpn j'ai mon username et mot de passe mais dans configuration j'ai du texte à mettre alors que j'ai 4 fichiers par cyberghost quelqu'un peut m'éclairer ou me donner un exemple de configuration vpn s'il vous plait ??  :)

Merci d'avance,

 

Bonne soirée

Capture d'écran 2023-05-07 220526.png

Capture d'écran 2023-0d5-07 221156.png

Link to comment
Share on other sites

  • Administrators

Essayez ceci, mais assurez-vous de le basculer sur OpenVPN et non sur Wireguard, comme le montre votre capture d'écran

client
remote 87-19-fr.cg-dialup.net 443
dev tun 
proto udp
auth-user-pass
redirect-gateway def1
persist-key
persist-tun
nobind
cipher AES-256-CBC
ncp-disable
auth SHA256
ping 5
ping-exit 60
ping-timer-rem
explicit-exit-notify 2
script-security 2
remote-cert-tls server
route-delay 5
verb 4

<ca>
-----BEGIN CERTIFICATE-----
MIIGWjCCBEKgAwIBAgIJAJxUG61mxDS7MA0GCSqGSIb3DQEBDQUAMHsxCzAJBgNV
BAYTAlJPMRIwEAYDVQQHEwlCdWNoYXJlc3QxGDAWBgNVBAoTD0N5YmVyR2hvc3Qg
Uy5BLjEbMBkGA1UEAxMSQ3liZXJHaG9zdCBSb290IENBMSEwHwYJKoZIhvcNAQkB
FhJpbmZvQGN5YmVyZ2hvc3Qucm8wHhcNMTcwNjE5MDgxNzI1WhcNMzcwNjE0MDgx
NzI1WjB7MQswCQYDVQQGEwJSTzESMBAGA1UEBxMJQnVjaGFyZXN0MRgwFgYDVQQK
Ew9DeWJlckdob3N0IFMuQS4xGzAZBgNVBAMTEkN5YmVyR2hvc3QgUm9vdCBDQTEh
MB8GCSqGSIb3DQEJARYSaW5mb0BjeWJlcmdob3N0LnJvMIICIjANBgkqhkiG9w0B
AQEFAAOCAg8AMIICCgKCAgEA7O8+m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EvTUrzz4l5lea7sTSKb
V+Z2vbH/Bqlw4fRhDahpKdr1yL/2xLlHbiDd+OE3TSPbH2FUgpBQ2BybxnUYbCxD
Q9sVZtZgLfOOvjIG5/Xia2eD5b8WvNvN7F2H3Y9eJXk7P0K6iuK7r7vZRtWLxClo
1KgZdTTQUP6LrpnhgKrMsEt73sHb3YSePSkygqwFAoIBAQDJXFQbUO93wGh487AK
pc0qE/N/WeZEf+FQRYZEv5FaXsqhto2FeIaKIgDz7zp6bplA8jF3qyliM0tx+RO1
8W/Zfmh1xliqCzBPJKERPndIMEuMq6pBzftZtqEfB+JrPGEyCMeCiUu1K3dYB7a/
FmlRjtj2OkJaPv9uO0HLzoLdUrATVk200EtXuhA2C/hVvOcVGljNEKS964j6ioXJ
N27+4lk5Q1AdcOTtsdpMI6sRWPikQm5BzA+4btewGTyjOwAyuL98mPGyBXD/WaYz
egZ5WPg3Htb+QXrjxYAsj2eI5DAMmLZRTZnUmzS7KfERuvlET+lwJUMdrSqT4khT
VAjTAoIBAQCx/WvUfVeRr5ByfP0AmRaTOLP0/ywQlDpu623YqI/thtGk65Gi+9hN
o8r6NKz4kCuOtfikRdZbcTKvvvtcoBiAptJmM+2lz+YRErUJ1Qb3MwPWW15S9vhJ
0BPiOnotQba2fcinA5gUxqtkA/0tAUOB3aBnNtaj+UsrC5GMcx2caO1Khz6M+r3Z
uNuNJaPCHUMnAYJApy2VvO+hFRLwTBYsoTQBBaUshNbHL0fwEIkGZSF07bU7I/3E
n4dM6sSt784Sgd8Q63sx7Fn3kUEe8yRiX5+G1xcp4/fXTXu6WgxaExRot2X72LE4
ow7S54tUqLudB3R0yMitWDXvmG0631aY
-----END PRIVATE KEY-----
</key>

Link to comment
Share on other sites

Je te remercie j'avais pas mit les <> et </> en début et fin de fichier C'est possible de supprimer la config du coup pour ne pas quelle soit reprise par d'autre ??

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...