Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Deutsches Forum (German) Diskussionsforum
  • Search

[soved]openvpn

Unterhaltung über Gentoo und andere Themen: Alles was nicht in ein Support-Forum gehört.
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
Author
Message
Linubie
Guru
Guru
User avatar
Posts: 418
Joined: Fri Jun 11, 2004 6:52 pm

[soved]openvpn

  • Quote

Post by Linubie » Sat Dec 13, 2025 9:45 pm

Hallo,
ich habe ein Problem mich mit openvpn server zu verbinden.

Egal welche .ovpn ich in networkmanger impotiere ich bekomme immer die selbe Fehlermeldung wenn ich mich verbinden möchte:

Code: Select all

Dez 13 22:24:11 gentupe nm-openvpn[129371]: Note: --cipher is not set. OpenVPN versions before 2.5 defaulted to BF-CBC as fallback when cipher negotiation failed in this case. If you need this fallback please add '--data-ciphers-fallback BF-CBC' to your configuration and/or add BF-CBC to --data-ciphers.
Dez 13 22:24:11 gentupe nm-openvpn[129371]: OpenVPN 2.6.14 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD]
Dez 13 22:24:11 gentupe nm-openvpn[129371]: library versions: OpenSSL 3.5.4 30 Sep 2025, LZO 2.10
Dez 13 22:24:11 gentupe nm-openvpn[129371]: WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Dez 13 22:24:11 gentupe nm-openvpn[129371]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Dez 13 22:24:11 gentupe nm-openvpn[129371]: TCP/UDP: Preserving recently used remote address: [AF_INET]219.100.37.115:443
Dez 13 22:24:11 gentupe nm-openvpn[129371]: Attempting to establish TCP connection with [AF_INET]219.100.37.115:443
Dez 13 22:24:12 gentupe nm-openvpn[129371]: TCP connection established with [AF_INET]219.100.37.115:443
Dez 13 22:24:12 gentupe nm-openvpn[129371]: TCPv4_CLIENT link local: (not bound)
Dez 13 22:24:12 gentupe nm-openvpn[129371]: TCPv4_CLIENT link remote: [AF_INET]219.100.37.115:443
Dez 13 22:24:12 gentupe nm-openvpn[129371]: NOTE: UID/GID downgrade will be delayed because of --client, --pull, or --up-delay
Dez 13 22:24:13 gentupe nm-openvpn[129371]: [opengw.net] Peer Connection Initiated with [AF_INET]219.100.37.115:443
Dez 13 22:24:18 gentupe nm-openvpn[129371]: OPTIONS ERROR: failed to negotiate cipher with server.  Add the server's cipher ('AES-128-CBC') to --data-ciphers (currently 'AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305') if you want to connect to this server.
Dez 13 22:24:18 gentupe nm-openvpn[129371]: ERROR: Failed to apply push options
Nachdem ich im Internet gesucht hatte bin ich immer wieder auf die Info gestoßen folgenden Abschnitt in der .ovpn Datei zu editieren:


#cipher AES-128-CBC
data-ciphers AES-256-GCM:AES-128-GCM:?CHACHA20-POLY1305

Code: Select all

###############################################################################
# The encryption and authentication algorithm.
# 
# Default setting is good. Modify it as you prefer.
# When you specify an unsupported algorithm, the error will occur.
# 
# The supported algorithms are as follows:
#  cipher: [NULL-CIPHER] NULL AES-128-CBC AES-192-CBC AES-256-CBC BF-CBC
#          CAST-CBC CAST5-CBC DES-CBC DES-EDE-CBC DES-EDE3-CBC DESX-CBC
#          RC2-40-CBC RC2-64-CBC RC2-CBC
#  auth:   SHA SHA1 MD5 MD4 RMD160

#cipher AES-128-CBC
data-ciphers AES-256-GCM:AES-128-GCM:?CHACHA20-POLY1305
auth SHA1
Leider hat das auch nicht funktioniert.

Ich habe jetzt mehrere Server versucht
[Moderator edit: Der Link zu Deinem VPN Anbieter wird nicht benötigt. -- pietinger]

Kann mir jemand sagen was ich machen muß um mich über openvpn verbinden zu können.
Ich kenn mich da überhaupt nicht aus und es sind meine ersten Versuche.

Danke
Last edited by Linubie on Sun Dec 14, 2025 7:50 am, edited 1 time in total.
Mircosoft software is like having sex with a stranger, you always have to be careful not to get infected with something...
Top
firefly
Watchman
Watchman
Posts: 5385
Joined: Thu Oct 31, 2002 8:24 pm

  • Quote

Post by firefly » Sun Dec 14, 2025 6:09 am

In der Fehlermeldung steht folgendes:

Code: Select all

OPTIONS ERROR: failed to negotiate cipher with server.  [b]Add[/b] the server's cipher ('[b]AES-128-CBC[/b]') to --data-ciphers ....
Und das hast du wohl nicht gemacht. Denn in deiner ausgabe aus der .ovpn Datei ist AES-128-CBC nicht der data-ciphers Option hinzugefügt worden.

Sicher dass diese ovpn Datei vom Serveranbieter kommt? Oder hast du die selbst erstellt?
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Top
Linubie
Guru
Guru
User avatar
Posts: 418
Joined: Fri Jun 11, 2004 6:52 pm

  • Quote

Post by Linubie » Sun Dec 14, 2025 7:49 am

Danke für den Hinweis

Code: Select all

#cipher AES-128-CBC
#data-ciphers AES-128-CBC:AES-256-GCM:AES-128-GCM:?CHACHA20-POLY1305
data-ciphers AES-128-CBC
so klappt's
Mircosoft software is like having sex with a stranger, you always have to be careful not to get infected with something...
Top
Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Diskussionsforum”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy