Unable to connect while on 3G
Posted: Mon Jun 22, 2015 6:35 pm
Hi everyone.
I'm hosting my own OpenVPN server and I am unable to connect while I'm using a 3G connection.
This is what my serverlog says while using 3G connection:
When I'm on a WiFi, I am able to connect, but there are erros, too. This is what server log says while on WiFi:
The config files (server & client) seem to be "okay", cause it's working while on WiFi.
It also works fine, if I connect from a computer.
Does anyone have an idea what's causing this?
If you need more info (config files, etc), just tell me.
Thanks in advance!
Phil
I'm hosting my own OpenVPN server and I am unable to connect while I'm using a 3G connection.
This is what my serverlog says while using 3G connection:
Code: Select all
Mon Jun 22 20:10:42 2015 89.XXX.XXX.XXX:32595 TLS: Initial packet from [AF_INET]89.XXX.XXX.XXX:32595, sid=245ef0ae 8dd6deb6
Mon Jun 22 20:10:46 2015 89.XXX.XXX.XXX:32595 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #61 / time = (1434996642) Mon Jun 22 20:10:42 2015 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Jun 22 20:10:46 2015 89.XXX.XXX.XXX:32595 TLS Error: incoming packet authentication failed from [AF_INET]89.XXX.XXX.XXX:32595
Mon Jun 22 20:11:30 2015 89.XXX.XXX.XXX:34508 TLS: Initial packet from [AF_INET]89.XXX.XXX.XXX:34508, sid=e7c0549a 0954db71
Mon Jun 22 20:11:34 2015 89.XXX.XXX.XXX:34508 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #61 / time = (1434996690) Mon Jun 22 20:11:30 2015 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Jun 22 20:11:34 2015 89.XXX.XXX.XXX:34508 TLS Error: incoming packet authentication failed from [AF_INET]89.XXX.XXX.XXX:34508
Mon Jun 22 20:11:42 2015 89.XXX.XXX.XXX:32595 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Mon Jun 22 20:11:42 2015 89.XXX.XXX.XXX:32595 TLS Error: TLS handshake failed
Mon Jun 22 20:11:42 2015 89.XXX.XXX.XXX:32595 SIGUSR1[soft,tls-error] received, client-instance restarting
Mon Jun 22 20:12:30 2015 89.XXX.XXX.XXX:34508 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Mon Jun 22 20:12:30 2015 89.XXX.XXX.XXX:34508 TLS Error: TLS handshake failed
Mon Jun 22 20:12:30 2015 89.XXX.XXX.XXX:34508 SIGUSR1[soft,tls-error] received, client-instance restarting
Code: Select all
Mon Jun 22 20:21:18 2015 91.XXX.XXX.XXX:49933 TLS: Initial packet from [AF_INET]91.XXX.XXX.XXX:49933, sid=63cb8768 7cc0894b
Mon Jun 22 20:21:20 2015 91.XXX.XXX.XXX:49933 VERIFY OK: depth=1, C=DE, ST=NW, L=XXX, O=example.com, OU=CA, CN=example.com CA, name=example.com CA, emailAddress=mail@example.com
Mon Jun 22 20:21:20 2015 91.XXX.XXX.XXX:49933 Validating certificate key usage
Mon Jun 22 20:21:20 2015 91.XXX.XXX.XXX:49933 ++ Certificate has key usage 0080, expects 0080
Mon Jun 22 20:21:20 2015 91.XXX.XXX.XXX:49933 VERIFY KU OK
Mon Jun 22 20:21:20 2015 91.XXX.XXX.XXX:49933 Validating certificate extended key usage
Mon Jun 22 20:21:20 2015 91.XXX.XXX.XXX:49933 ++ Certificate has EKU (str) TLS Web Client Authentication, expects TLS Web Client Authentication
Mon Jun 22 20:21:20 2015 91.XXX.XXX.XXX:49933 VERIFY EKU OK
Mon Jun 22 20:21:20 2015 91.XXX.XXX.XXX:49933 VERIFY OK: depth=0, C=DE, ST=NW, L=XXX, O=example.com, OU=CA, CN=username, name=example.com CA, emailAddress=mail@example.com
Mon Jun 22 20:21:20 2015 91.XXX.XXX.XXX:49933 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #59 / time = (1434997278) Mon Jun 22 20:21:18 2015 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Jun 22 20:21:20 2015 91.XXX.XXX.XXX:49933 TLS Error: incoming packet authentication failed from [AF_INET]91.XXX.XXX.XXX:49933
Mon Jun 22 20:21:20 2015 91.XXX.XXX.XXX:49933 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #60 / time = (1434997278) Mon Jun 22 20:21:18 2015 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Jun 22 20:21:20 2015 91.XXX.XXX.XXX:49933 TLS Error: incoming packet authentication failed from [AF_INET]91.XXX.XXX.XXX:49933
Mon Jun 22 20:21:20 2015 91.XXX.XXX.XXX:49933 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #61 / time = (1434997278) Mon Jun 22 20:21:18 2015 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Jun 22 20:21:20 2015 91.XXX.XXX.XXX:49933 TLS Error: incoming packet authentication failed from [AF_INET]91.XXX.XXX.XXX:49933
user : username
authentication ok.
Mon Jun 22 20:21:20 2015 91.XXX.XXX.XXX:49933 TLS: Username/Password authentication succeeded for username 'username' [CN SET]
Mon Jun 22 20:21:20 2015 91.XXX.XXX.XXX:49933 Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Mon Jun 22 20:21:20 2015 91.XXX.XXX.XXX:49933 Data Channel Encrypt: Using 512 bit message hash 'SHA512' for HMAC authentication
Mon Jun 22 20:21:20 2015 91.XXX.XXX.XXX:49933 Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Mon Jun 22 20:21:20 2015 91.XXX.XXX.XXX:49933 Data Channel Decrypt: Using 512 bit message hash 'SHA512' for HMAC authentication
Mon Jun 22 20:21:20 2015 91.XXX.XXX.XXX:49933 Control Channel: TLSv1.2, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 4096 bit RSA
Mon Jun 22 20:21:20 2015 91.XXX.XXX.XXX:49933 [username] Peer Connection Initiated with [AF_INET]91.XXX.XXX.XXX:49933
Mon Jun 22 20:21:20 2015 username/91.XXX.XXX.XXX:49933 OPTIONS IMPORT: reading client specific options from: ccd/username
Mon Jun 22 20:21:20 2015 username/91.XXX.XXX.XXX:49933 OPTIONS IMPORT: reading client specific options from: /tmp/openvpn_cc_59cf8575d999279c5db2be1c78b1da88.tmp
Mon Jun 22 20:21:20 2015 username/91.XXX.XXX.XXX:49933 MULTI: Learn: 10.11.12.5 -> username/91.XXX.XXX.XXX:49933
Mon Jun 22 20:21:20 2015 username/91.XXX.XXX.XXX:49933 MULTI: primary virtual IP for username/91.XXX.XXX.XXX:49933: 10.11.12.5
Mon Jun 22 20:21:20 2015 username/91.XXX.XXX.XXX:49933 PUSH: Received control message: 'PUSH_REQUEST'
Mon Jun 22 20:21:20 2015 username/91.XXX.XXX.XXX:49933 send_push_reply(): safe_cap=940
Mon Jun 22 20:21:20 2015 username/91.XXX.XXX.XXX:49933 SENT CONTROL [username]: 'PUSH_REPLY,route 10.11.12.0 255.255.255.0,persist-key,persist-tun,comp-lzo yes,route 10.11.12.1,topology net30,ping 5,ping-restart 60,redirect-gateway def1,ifconfig 10.11.12.5 10.11.12.6' (status=1)
It also works fine, if I connect from a computer.
Does anyone have an idea what's causing this?
If you need more info (config files, etc), just tell me.
Thanks in advance!
Phil