macos openvpn on demand

G

Ghost108

Aktives Mitglied
Thread Starter
Dabei seit
11.05.2017
Beiträge
496
Reaktionspunkte
44
hallo zusammen,

ich habe ein Profil mit dem Apple Configurator 2 erstellt, welches mir eine openVPN Verbindung on Demand auf dem iPhone ermöglicht.
Auf dem iPhone eingespielt und funktioniert tadellos !

Nun habe ich testweise dieses Profil auf meinem macOS Catalina nutzen wollen - da fangen die Probleme an.
Habe das Profil in der Form angepasst, das ich die ID der iphone openVPN App durch die ID der macOS openVPN App ersetzt habe.
Profil lässt sich auch problemlos installieren. Danach habe ich folgenden Eintrag bei mir unter Netzwerk:

Bildschirmfoto 2020-09-07 um 13.48.02.png


Die ID der macOS App scheint ja zu stimmen, da dort als VPN Programm "OpenVPN Connect" hinterlegt wurde.
Wenn ich jetzt auf Verbinden klicke, passiert nichts, bis auf diese Ausgabe der macOS Konsole im Hintergrund:


Code:
standard    13:42:48.374881+0200    nesessionmanager    NESMVPNSession[Primary Tunnel:SynologyVPN:43640959-727C-43C7-97F3-7015CA3A4944:(null)]: Received a start command from com.apple.preference.network.re[701]
standard    13:42:48.375122+0200    nesessionmanager    Registering session NESMVPNSession[Primary Tunnel:SynologyVPN:43640959-727C-43C7-97F3-7015CA3A4944:(null)]
standard    13:42:48.380419+0200    nesessionmanager    <NESMServer: 0x7f96afc06bf0>: Register Enterprise VPN Session: NESMVPNSession[Primary Tunnel:SynologyVPN:43640959-727C-43C7-97F3-7015CA3A4944:(null)]
standard    13:42:48.380503+0200    nesessionmanager    NESMVPNSession[Primary Tunnel:SynologyVPN:43640959-727C-43C7-97F3-7015CA3A4944:(null)]: Successfully registered
standard    13:42:48.387120+0200    nesessionmanager    NESMVPNSession[Primary Tunnel:SynologyVPN:43640959-727C-43C7-97F3-7015CA3A4944:(null)]: status changed to connecting
standard    13:42:48.387696+0200    nesessionmanager    NESMVPNSession[Primary Tunnel:SynologyVPN:43640959-727C-43C7-97F3-7015CA3A4944:(null)] in state NESMVPNSessionStateIdle: received start message
standard    13:42:48.388230+0200    nesessionmanager    NESMVPNSession[Primary Tunnel:SynologyVPN:43640959-727C-43C7-97F3-7015CA3A4944:(null)]: Leaving state NESMVPNSessionStateIdle
standard    13:42:48.388308+0200    nesessionmanager    NESMVPNSession[Primary Tunnel:SynologyVPN:43640959-727C-43C7-97F3-7015CA3A4944:(null)]: Entering state NESMVPNSessionStatePreparingNetwork
standard    13:42:48.389117+0200    nesessionmanager    NESMVPNSession[Primary Tunnel:SynologyVPN:43640959-727C-43C7-97F3-7015CA3A4944:(null)]: Leaving state NESMVPNSessionStatePreparingNetwork
standard    13:42:48.389322+0200    nesessionmanager    NESMVPNSession[Primary Tunnel:SynologyVPN:43640959-727C-43C7-97F3-7015CA3A4944:(null)]: Entering state NESMVPNSessionStateStarting
standard    13:42:48.389789+0200    nesessionmanager    NEVPNTunnelPlugin(org.openvpn.client.app[inactive]): Sending start command
standard    13:42:48.389942+0200    nesessionmanager    org.openvpn.client.app[inactive]: starting
fehler    13:42:48.394676+0200    nesessionmanager    org.openvpn.client.app[529]: Tearing down XPC connection due to setup error: Error Domain=NEAgentErrorDomain Code=2 "(null)"
standard    13:42:48.396794+0200    nesessionmanager    org.openvpn.client.app[529]: XPC connection went away
standard    13:42:48.399135+0200    nesessionmanager    NESMVPNSession[Primary Tunnel:SynologyVPN:43640959-727C-43C7-97F3-7015CA3A4944:(null)] in state NESMVPNSessionStateStarting: plugin NEVPNTunnelPlugin(org.openvpn.client.app[inactive]) started with PID 0 error Error Domain=NEAgentErrorDomain Code=2 "(null)"
standard    13:42:48.404098+0200    nesessionmanager    NESMVPNSession[Primary Tunnel:SynologyVPN:43640959-727C-43C7-97F3-7015CA3A4944:(null)]: Leaving state NESMVPNSessionStateStarting
standard    13:42:48.404187+0200    nesessionmanager    NESMVPNSession[Primary Tunnel:SynologyVPN:43640959-727C-43C7-97F3-7015CA3A4944:(null)]: Entering state NESMVPNSessionStateStopping, timeout 20 seconds
standard    13:42:48.404490+0200    nesessionmanager    <NESMServer: 0x7f96afc06bf0>: Request to uninstall session: NESMVPNSession[Primary Tunnel:SynologyVPN:43640959-727C-43C7-97F3-7015CA3A4944:(null)]
standard    13:42:48.404568+0200    nesessionmanager    NESMVPNSession[Primary Tunnel:SynologyVPN:43640959-727C-43C7-97F3-7015CA3A4944:(null)]: status changed to disconnecting
standard    13:42:48.404756+0200    nesessionmanager    NESMVPNSession[Primary Tunnel:SynologyVPN:43640959-727C-43C7-97F3-7015CA3A4944:(null)]: Updated network agent (inactive, compulsory, not-user-activiated, not-kernel-activated)
standard    13:42:48.405360+0200    nesessionmanager    NESMVPNSession[Primary Tunnel:SynologyVPN:43640959-727C-43C7-97F3-7015CA3A4944:(null)]: Leaving state NESMVPNSessionStateStopping
standard    13:42:48.405595+0200    nesessionmanager    NESMVPNSession[Primary Tunnel:SynologyVPN:43640959-727C-43C7-97F3-7015CA3A4944:(null)]: Entering state NESMVPNSessionStateDisposing, timeout 5 seconds
standard    13:42:48.405771+0200    nesessionmanager    org.openvpn.client.app[529]: disposing
standard    13:42:48.407324+0200    nesessionmanager    NESMVPNSession[Primary Tunnel:SynologyVPN:43640959-727C-43C7-97F3-7015CA3A4944:(null)] in state NESMVPNSessionStateDisposing: plugin NEVPNTunnelPlugin(org.openvpn.client.app[529]) dispose complete
standard    13:42:48.407500+0200    nesessionmanager    NESMVPNSession[Primary Tunnel:SynologyVPN:43640959-727C-43C7-97F3-7015CA3A4944:(null)] in state NESMVPNSessionStateDisposing: all plugins have disposed
standard    13:42:48.407957+0200    nesessionmanager    NESMVPNSession[Primary Tunnel:SynologyVPN:43640959-727C-43C7-97F3-7015CA3A4944:(null)]: Leaving state NESMVPNSessionStateDisposing
standard    13:42:48.408169+0200    nesessionmanager    NESMVPNSession[Primary Tunnel:SynologyVPN:43640959-727C-43C7-97F3-7015CA3A4944:(null)]: Entering state NESMVPNSessionStateIdle
standard    13:42:48.408710+0200    nesessionmanager    NESMVPNSession[Primary Tunnel:SynologyVPN:43640959-727C-43C7-97F3-7015CA3A4944:(null)]: status changed to disconnected, last stop reason Plugin was disabled

Kann mir jemand sagen, wo der Fehler liegt?
Danke !!
 
Hallo
Hast du schon etwas herausgefunden? Ich bin gerade am gleichen Punkt angelangt und komme nicht weiter.
 
@Ghost108
Das hattest du bereits schon getestet?
@Ghost108 the problem for me was having this: `-----BEGIN RSA PRIVATE KEY-----` instead of this: `-----BEGIN PRIVATE KEY-----` simply removing the RSA from the header fixed the issue.
Someone would think such an error would need to be communicated more accurately...
 
Zurück
Oben Unten