Hallo, ich bin bei meinem OpenVPN Raspberry Pi von Raspbian auf Ubuntu gewechselt. Jedoch schlägt die Verbindung von Android aus fehl.
/etc/openvpn/server.conf
dev tun proto udp port 1194 ca /etc/openvpn/keys/ca.crt cert /etc/openvpn/keys/server.crt key /etc/openvpn/keys/server.key dh /etc/openvpn/keys/dh4096.pem server 192.168.1.0 255.255.255.0 persist-key persist-tun status /var/log/openvpn-status.log verb 3 #comp-lzo cipher AES-256-GCM auth SHA256 tls-version-min 1.2 tls-crypt /etc/openvpn/ta.key push "redirect-gateway def1" push "dhcp-option DNS 192.168.1.1"
openvpn --config /etc/openvpn/server.conf
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | Tue May 14 16:20:00 2019 WARNING: file '/etc/openvpn/keys/server.key' is group or others accessible Tue May 14 16:20:00 2019 WARNING: file '/etc/openvpn/ta.key' is group or others accessible Tue May 14 16:20:00 2019 OpenVPN 2.4.4 aarch64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Sep 5 2018 Tue May 14 16:20:00 2019 library versions: OpenSSL 1.1.0g 2 Nov 2017, LZO 2.08 Tue May 14 16:20:00 2019 WARNING: --keepalive option is missing from server config Tue May 14 16:20:00 2019 Diffie-Hellman initialized with 4096 bit key Tue May 14 16:20:00 2019 Outgoing Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key Tue May 14 16:20:00 2019 Outgoing Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication Tue May 14 16:20:00 2019 Incoming Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key Tue May 14 16:20:00 2019 Incoming Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication Tue May 14 16:20:00 2019 ROUTE_GATEWAY 192.168.178.1/255.255.255.0 IFACE=eth0 HWADDR=b8:27:eb:4a:b2:8f Tue May 14 16:20:00 2019 TUN/TAP device tun0 opened Tue May 14 16:20:00 2019 TUN/TAP TX queue length set to 100 Tue May 14 16:20:00 2019 do_ifconfig, tt->did_ifconfig_ipv6_setup=0 Tue May 14 16:20:00 2019 /sbin/ip link set dev tun0 up mtu 1500 Tue May 14 16:20:00 2019 /sbin/ip addr add dev tun0 local 192.168.1.1 peer 192.168.1.2 Tue May 14 16:20:00 2019 /sbin/ip route add 192.168.1.0/24 via 192.168.1.2 Tue May 14 16:20:00 2019 Could not determine IPv4/IPv6 protocol. Using AF_INET Tue May 14 16:20:00 2019 Socket Buffers: R=[229376->229376] S=[229376->229376] Tue May 14 16:20:00 2019 UDPv4 link local (bound): [AF_INET][undef]:1194 Tue May 14 16:20:00 2019 UDPv4 link remote: [AF_UNSPEC] Tue May 14 16:20:00 2019 MULTI: multi_init called, r=256 v=256 Tue May 14 16:20:00 2019 IFCONFIG POOL: base=192.168.1.4 size=62, ipv6=0 Tue May 14 16:20:00 2019 Initialization Sequence Completed Tue May 14 16:20:14 2019 80.187.107.98:27256 TLS: Initial packet from [AF_INET]80.187.107.98:27256, sid=c77dbaa5 2cde3a85 Tue May 14 16:21:14 2019 80.187.107.98:27256 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) Tue May 14 16:21:14 2019 80.187.107.98:27256 TLS Error: TLS handshake failed Tue May 14 16:21:14 2019 80.187.107.98:27256 SIGUSR1[soft,tls-error] received, client-instance restarting Tue May 14 16:21:17 2019 80.187.107.98:23758 TLS: Initial packet from [AF_INET]80.187.107.98:23758, sid=a6c0a928 eb483523 Tue May 14 16:22:17 2019 80.187.107.98:23758 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) Tue May 14 16:22:17 2019 80.187.107.98:23758 TLS Error: TLS handshake failed Tue May 14 16:22:17 2019 80.187.107.98:23758 SIGUSR1[soft,tls-error] received, client-instance restarting Tue May 14 16:22:20 2019 80.187.107.98:27089 TLS: Initial packet from [AF_INET]80.187.107.98:27089, sid=ffcd5454 8e4db5bc Tue May 14 16:23:20 2019 80.187.107.98:27089 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) Tue May 14 16:23:20 2019 80.187.107.98:27089 TLS Error: TLS handshake failed Tue May 14 16:23:20 2019 80.187.107.98:27089 SIGUSR1[soft,tls-error] received, client-instance restarting Tue May 14 16:23:23 2019 80.187.107.98:14984 TLS: Initial packet from [AF_INET]80.187.107.98:14984, sid=96ab12b4 dd07a766 Tue May 14 16:24:23 2019 80.187.107.98:14984 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) Tue May 14 16:24:23 2019 80.187.107.98:14984 TLS Error: TLS handshake failed Tue May 14 16:24:23 2019 80.187.107.98:14984 SIGUSR1[soft,tls-error] received, client-instance restarting Tue May 14 16:24:26 2019 80.187.107.98:2770 TLS: Initial packet from [AF_INET]80.187.107.98:2770, sid=0cf5a019 c2e3dfe3 Tue May 14 16:25:26 2019 80.187.107.98:2770 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) Tue May 14 16:25:26 2019 80.187.107.98:2770 TLS Error: TLS handshake failed Tue May 14 16:25:26 2019 80.187.107.98:2770 SIGUSR1[soft,tls-error] received, client-instance restarting Tue May 14 16:25:31 2019 80.187.107.98:19425 TLS: Initial packet from [AF_INET]80.187.107.98:19425, sid=95160c1c afc90159 Tue May 14 16:26:31 2019 80.187.107.98:19425 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) Tue May 14 16:26:31 2019 80.187.107.98:19425 TLS Error: TLS handshake failed Tue May 14 16:26:31 2019 80.187.107.98:19425 SIGUSR1[soft,tls-error] received, client-instance restarting Tue May 14 16:26:40 2019 80.187.107.98:1607 TLS: Initial packet from [AF_INET]80.187.107.98:1607, sid=05323572 21433c0c Tue May 14 16:27:40 2019 80.187.107.98:1607 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) Tue May 14 16:27:40 2019 80.187.107.98:1607 TLS Error: TLS handshake failed Tue May 14 16:27:40 2019 80.187.107.98:1607 SIGUSR1[soft,tls-error] received, client-instance restarting Tue May 14 16:27:57 2019 80.187.107.98:22852 TLS: Initial packet from [AF_INET]80.187.107.98:22852, sid=ea0bfb0a 0418e597 Tue May 14 16:28:57 2019 80.187.107.98:22852 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) Tue May 14 16:28:57 2019 80.187.107.98:22852 TLS Error: TLS handshake failed Tue May 14 16:28:57 2019 80.187.107.98:22852 SIGUSR1[soft,tls-error] received, client-instance restarting Tue May 14 16:29:29 2019 80.187.107.98:6508 TLS: Initial packet from [AF_INET]80.187.107.98:6508, sid=e435e80d 4284c115 ^CTue May 14 16:29:38 2019 event_wait : Interrupted system call (code=4) Tue May 14 16:29:38 2019 /sbin/ip route del 192.168.1.0/24 Tue May 14 16:29:38 2019 Closing TUN/TAP interface Tue May 14 16:29:38 2019 /sbin/ip addr del dev tun0 local 192.168.1.1 peer 192.168.1.2 Tue May 14 16:29:38 2019 SIGINT[hard,] received, process exiting |