OpenVPN-Client verbindet nicht

habnefrage

New Member
Hi zusammen,
ich habe auf einem 1und1 CloudServer nen VPN Server mit diesem Script aufgesetzt und ein Hand voll clients eingerichtet. Einer der Clients ist ein Satellitenreceiver den ich für meine Schwester fertig gemacht habe. (VuZero mit OpenPLI). Habe ihn bei mir zu hause eingerichtet, alles getestet und ihr per Post geschickt. Sort hat sie ihn ausgepackt, angeschlossen, aber verbindet sich nicht. Habe dann gelesen, dass TCP etwas zuverlässige (abder dafür langsamer) sein soll als UDP. Habe testhalber mal auf TCP umgestellt, geht aber auch nicht.

In den Logfiles des Servers sehe ich folgende Infos (ein Verbindungsversuch via TCP)

Habe von OpenVPN nicht so wirklich Ahnung und wäre deshalb für jeden Tipp dankbar.

Code:
Aug 26 17:33:35 localhost ovpn-server_tcp[4162]: MULTI: REAP range 0 -> 16
Aug 26 17:33:35 localhost ovpn-server_tcp[4162]: MULTI: multi_create_instance called
Aug 26 17:33:35 localhost ovpn-server_tcp[4162]: Re-using SSL/TLS context
Aug 26 17:33:35 localhost ovpn-server_tcp[4162]: crypto_adjust_frame_parameters: Adjusting frame parameters for crypto by 56 bytes
Aug 26 17:33:35 localhost ovpn-server_tcp[4162]: crypto_adjust_frame_parameters: Adjusting frame parameters for crypto by 28 bytes
Aug 26 17:33:35 localhost ovpn-server_tcp[4162]: LZO compression initialized
Aug 26 17:33:35 localhost ovpn-server_tcp[4162]: PID packet_id_init tcp_mode=1 seq_backtrack=64 time_backtrack=15
Aug 26 17:33:35 localhost ovpn-server_tcp[4162]: message repeated 3 times: [ PID packet_id_init tcp_mode=1 seq_backtrack=64 time_backtrack=15]
Aug 26 17:33:35 localhost ovpn-server_tcp[4162]: Control Channel MTU parms [ L:1560 D:1182 EF:68 EB:0 ET:0 EL:3 ]
Aug 26 17:33:35 localhost ovpn-server_tcp[4162]: MTU DYNAMIC mtu=1450, flags=2, 1560 -> 1450
Aug 26 17:33:35 localhost ovpn-server_tcp[4162]: Data Channel MTU parms [ L:1560 D:1450 EF:60 EB:143 ET:0 EL:3 AF:3/1 ]
Aug 26 17:33:35 localhost ovpn-server_tcp[4162]: Local Options String: 'V4,dev-type tun,link-mtu 1560,tun-mtu 1500,proto TCPv4_SERVER,comp-lzo,keydir 0,cipher AES-128-CBC,auth SHA1,keysize 128,tls-auth,key-method 2,tls-server'
Aug 26 17:33:35 localhost ovpn-server_tcp[4162]: Expected Remote Options String: 'V4,dev-type tun,link-mtu 1560,tun-mtu 1500,proto TCPv4_CLIENT,comp-lzo,keydir 1,cipher AES-128-CBC,auth SHA1,keysize 128,tls-auth,key-method 2,tls-client'
Aug 26 17:33:35 localhost ovpn-server_tcp[4162]: Local Options hash (VER=V4): 'a642654b'
Aug 26 17:33:35 localhost ovpn-server_tcp[4162]: Expected Remote Options hash (VER=V4): '0bdd0804'
Aug 26 17:33:35 localhost ovpn-server_tcp[4162]: TCP connection established with [AF_INET]178.12.155.20:60210
Aug 26 17:33:35 localhost ovpn-server_tcp[4162]: TCPv4_SERVER link local: [undef]
Aug 26 17:33:35 localhost ovpn-server_tcp[4162]: TCPv4_SERVER link remote: [AF_INET]178.12.155.20:60210
Aug 26 17:33:35 localhost ovpn-server_tcp[4162]: 178.12.155.20:60210 SENT PING
Aug 26 17:33:35 localhost ovpn-server_tcp[4162]: 178.12.155.20:60210 MULTI TCP: instance added: 178.12.155.20:60210
Aug 26 17:33:35 localhost ovpn-server_tcp[4162]: 178.12.155.20:60210 MULTI TCP: multi_tcp_action a=TA_INITIAL p=0
Aug 26 17:33:35 localhost ovpn-server_tcp[4162]: 178.12.155.20:60210 MULTI TCP: multi_tcp_dispatch a=TA_INITIAL mi=0x559e5edd8480
Aug 26 17:33:35 localhost ovpn-server_tcp[4162]: 178.12.155.20:60210 MULTI TCP: multi_tcp_post TA_INITIAL -> TA_UNDEF
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: 178.12.155.20:60210 MULTI: REAP range 16 -> 32
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: 178.12.155.20:60210 MULTI TCP: multi_tcp_action a=TA_SOCKET_READ p=0
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: 178.12.155.20:60210 MULTI TCP: multi_tcp_dispatch a=TA_SOCKET_READ mi=0x559e5edd8480
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: 178.12.155.20:60210 TCPv4_SERVER READ [42] from [AF_INET]178.12.155.20:60210: P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 pid=[ #1 ] [ ] pid=0 DATA len=0
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: 178.12.155.20:60210 TLS: Initial packet from [AF_INET]178.12.155.20:60210, sid=2ffc9b3a 30fd8e1b
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: 178.12.155.20:60210 PID_TEST [0] [TLS_AUTH-0] [] 0:0 339:1 t=1472232816[0] r=[0,0,0,0,1]
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_post TA_SOCKET_READ -> TA_SOCKET_WRITE
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_action a=TA_SOCKET_WRITE p=1
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_wait_lite a=TA_SOCKET_WRITE mi=0x559e5edd8480
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_dispatch a=TA_SOCKET_WRITE mi=0x559e5edd8480
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: 178.12.155.20:60210 TCPv4_SERVER WRITE [54] to [AF_INET]178.12.155.20:60210: P_CONTROL_HARD_RESET_SERVER_V2 kid=0 pid=[ #1 ] [ 0 ] pid=0 DATA len=0
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_post TA_SOCKET_WRITE -> TA_UNDEF
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_action a=TA_SOCKET_READ p=0
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_dispatch a=TA_SOCKET_READ mi=0x559e5edd8480
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: 178.12.155.20:60210 TCPv4_SERVER READ [50] from [AF_INET]178.12.155.20:60210: P_ACK_V1 kid=0 pid=[ #2 ] [ 0 ]
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: 178.12.155.20:60210 PID_TEST [0] [TLS_AUTH-0] [] 339:1 339:2 t=1472232816[0] r=[0,0,0,0,1]
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_post TA_SOCKET_READ -> TA_UNDEF
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_action a=TA_SOCKET_READ p=0
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_dispatch a=TA_SOCKET_READ mi=0x559e5edd8480
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: 178.12.155.20:60210 TCPv4_SERVER READ [142] from [AF_INET]178.12.155.20:60210: P_CONTROL_V1 kid=0 pid=[ #3 ] [ ] pid=1 DATA len=100
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: 178.12.155.20:60210 PID_TEST [0] [TLS_AUTH-0] [] 339:2 339:3 t=1472232816[0] r=[0,0,0,0,1]
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_post TA_SOCKET_READ -> TA_SOCKET_WRITE
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_action a=TA_SOCKET_WRITE p=1
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_wait_lite a=TA_SOCKET_WRITE mi=0x559e5edd8480
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_dispatch a=TA_SOCKET_WRITE mi=0x559e5edd8480
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: 178.12.155.20:60210 TCPv4_SERVER WRITE [50] to [AF_INET]178.12.155.20:60210: P_ACK_V1 kid=0 pid=[ #2 ] [ 1 ]
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_post TA_SOCKET_WRITE -> TA_SOCKET_READ_RESIDUAL
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_action a=TA_SOCKET_READ_RESIDUAL p=1
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_dispatch a=TA_SOCKET_READ_RESIDUAL mi=0x559e5edd8480
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: 178.12.155.20:60210 TCPv4_SERVER READ [142] from [AF_INET]178.12.155.20:60210: P_CONTROL_V1 kid=0 pid=[ #4 ] [ ] pid=2 DATA len=100
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: 178.12.155.20:60210 PID_TEST [0] [TLS_AUTH-0] [] 339:3 339:4 t=1472232816[0] r=[0,0,0,0,1]
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_post TA_SOCKET_READ_RESIDUAL -> TA_SOCKET_WRITE
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_action a=TA_SOCKET_WRITE p=1
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_wait_lite a=TA_SOCKET_WRITE mi=0x559e5edd8480
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_dispatch a=TA_SOCKET_WRITE mi=0x559e5edd8480
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: 178.12.155.20:60210 TCPv4_SERVER WRITE [50] to [AF_INET]178.12.155.20:60210: P_ACK_V1 kid=0 pid=[ #3 ] [ 2 ]
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_post TA_SOCKET_WRITE -> TA_SOCKET_READ_RESIDUAL
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_action a=TA_SOCKET_READ_RESIDUAL p=1
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_dispatch a=TA_SOCKET_READ_RESIDUAL mi=0x559e5edd8480
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: 178.12.155.20:60210 TCPv4_SERVER READ [57] from [AF_INET]178.12.155.20:60210: P_CONTROL_V1 kid=0 pid=[ #5 ] [ ] pid=3 DATA len=15
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: 178.12.155.20:60210 PID_TEST [0] [TLS_AUTH-0] [] 339:4 339:5 t=1472232816[0] r=[0,0,0,0,1]
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_post TA_SOCKET_READ_RESIDUAL -> TA_SOCKET_WRITE
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_action a=TA_SOCKET_WRITE p=1
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_wait_lite a=TA_SOCKET_WRITE mi=0x559e5edd8480
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_dispatch a=TA_SOCKET_WRITE mi=0x559e5edd8480
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: 178.12.155.20:60210 TCPv4_SERVER WRITE [1168] to [AF_INET]178.12.155.20:60210: P_CONTROL_V1 kid=0 pid=[ #4 ] [ 3 ] pid=1 DATA len=1114
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_post TA_SOCKET_WRITE -> TA_SOCKET_WRITE
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_action a=TA_SOCKET_WRITE p=1
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_wait_lite a=TA_SOCKET_WRITE mi=0x559e5edd8480
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_dispatch a=TA_SOCKET_WRITE mi=0x559e5edd8480
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: 178.12.155.20:60210 TCPv4_SERVER WRITE [1156] to [AF_INET]178.12.155.20:60210: P_CONTROL_V1 kid=0 pid=[ #5 ] [ ] pid=2 DATA len=1114
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_post TA_SOCKET_WRITE -> TA_SOCKET_WRITE
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_action a=TA_SOCKET_WRITE p=1
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_wait_lite a=TA_SOCKET_WRITE mi=0x559e5edd8480
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_dispatch a=TA_SOCKET_WRITE mi=0x559e5edd8480
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: 178.12.155.20:60210 TCPv4_SERVER WRITE [360] to [AF_INET]178.12.155.20:60210: P_CONTROL_V1 kid=0 pid=[ #6 ] [ ] pid=3 DATA len=318
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_post TA_SOCKET_WRITE -> TA_UNDEF
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_action a=TA_SOCKET_READ p=0
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_dispatch a=TA_SOCKET_READ mi=0x559e5edd8480
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: 178.12.155.20:60210 TCPv4_SERVER READ [50] from [AF_INET]178.12.155.20:60210: P_ACK_V1 kid=0 pid=[ #6 ] [ 1 ]
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: 178.12.155.20:60210 PID_TEST [0] [TLS_AUTH-0] [] 339:5 339:6 t=1472232816[0] r=[0,0,0,0,1]
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_post TA_SOCKET_READ -> TA_UNDEF
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_action a=TA_SOCKET_READ p=0
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_dispatch a=TA_SOCKET_READ mi=0x559e5edd8480
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: 178.12.155.20:60210 Connection reset, restarting [-1]
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: 178.12.155.20:60210 SIGUSR1[soft,connection-reset] received, client-instance restarting
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI: multi_close_instance called
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: PID packet_id_free
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: message repeated 7 times: [ PID packet_id_free]
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: TCP/UDP: Closing socket
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: PID packet_id_free
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: MULTI TCP: multi_tcp_post TA_SOCKET_READ -> TA_UNDEF
 
Wenn es bei Dir funktioniert hat und bei Deiner Schwester nicht, dann würde ich mal den Router Deiner Schwester untersuchen. Evtl. verhindert eine Firewall den Aufbau der VPN Verbindung.
 
Danke für den Hinweis. Habe ich mir schonmal angesehen. Habe den receiver als exposed host eingetragen, hat aber nichts gebracht.

An dem Logfile ist nichts zu erkennen, was einen Hinweis auf den möglichen Fehler liefert?
 
Sieht für mich so aus, als würde das Problem beim Client liegen
Code:
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: 178.12.155.20:60210 Connection reset, restarting [-1]
Aug 26 17:33:36 localhost ovpn-server_tcp[4162]: 178.12.155.20:60210 SIGUSR1[soft,connection-reset] received, client-instance restarting
Mit den Logs vom VPN-Client könnte man wahrscheinlich mehr anfangen...
 
Back
Top