can't connect Android phone to router using openvpn

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

can't connect Android phone to router using openvpn

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
can't connect Android phone to router using openvpn
can't connect Android phone to router using openvpn
2022-08-28 13:54:48 - last edited 2022-08-31 05:37:14
Tags: #VPN
Model: Archer C7  
Hardware Version: V5
Firmware Version: 1.2.0

I have set up the router according to the instructions and then installed openvpn on my android phone.  After installing the app and then the configuration file I tried to connect but without success.  I have the log of what happened but am unable to include it as I am told it contains illegal external links.

 

 

Any help will be appreciated.  I'm a real newby at this VPN caper.

  0      
  0      
#1
Options
7 Reply
Re:can't connect Android phone to router uusing openvpn
2022-08-28 16:23:05

  @Rodneymf 

 

Hi,

 

Are you saying you have enabled the OpenVPN server of your Archer C7 (V4?, V5?) router and now want to connect to it via an OpenVPN client installed on a smartphone with its own 3G/4G connection?

 

If yes and if your C7's configuration webpage looks like the screenshot below, then please tell us the first two numbers of the Internet IP address (circled in red).

 

Furthermore, open the OpenVPN configuration file with a text editor and verify that the line "remote MyHostname 1194 udp" does indeed contain your Dynanic DNS domain name.

 

 

  0  
  0  
#2
Options
Re:can't connect Android phone to router using openvpn
2022-08-29 10:59:25 - last edited 2022-08-29 13:43:59

  @woozle 

Archer C7 is version 5.0. 

 

The first two numbers of my IP address are 212.56

 

However the config file has the following line (without inverted commas)  “remote 212.56.XXX.XXX 1194” so it appears to be lacking some info.

  0  
  0  
#3
Options
Re:can't connect Android phone to router uusing openvpn
2022-08-29 11:05:45 - last edited 2022-08-29 11:06:08

Incidentally, my connection (copied from old original router) is PPPoE.

  0  
  0  
#4
Options
Re:can't connect Android phone to router uusing openvpn
2022-08-29 19:06:59

  @Rodneymf 

 

Connection type PPPoE is fine.

 

If the line “remote 212.56.XXX.XXX 1194” doesn't include the protocol type, then your ovpn file probably has a separate line "proto udp" in it (or "proto tcp", if you selected tcp in the configuration). Just check it youself.

 

What is important is that the Internet IP address shown in the router's "Network Map" menu is absolutely identical to the IP address in the ovpn file (“remote 212.56.XXX.XXX 1194”).

In case the IP address of your Internet connection is not always the same, but changes every so often, then you would need to work with a DDNS domain name instead. 

 

Below is an example of a log from the OpenVPN client app on an Android phone that shows a properly working connection to a TP-Link AX50 router.

Can you maybe identify at which point your's goes wrong?

 

  0  
  0  
#5
Options
Re:can't connect Android phone to router uusing openvpn
2022-08-30 09:14:54

  @woozle 

The log agrees up to the point where the Peer info is listed.  The Peer info all appears to be the same but the next four lines are where it goes wrong:

 

14:20:49.883 -- VERIFY FAIL: depth=1, /C=CN/ST=GD/L=ShenZhen/O=TP-Link/OU=SOHO-I18N/CN=TP-Link CA/name=EasyRSA/emailAddress=xxxx@xxxx, signature: RSA-SHA256 [certificate is not yet valid]

14:20:49.991 -- Transport Error: OpenSSLContext::SSL::read_cleartext: BIO_read failed, cap=2576 status=-1: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed

14:20:49.992 -- EVENT: CERT_VERIFY_FAIL info='OpenSSLContext::SSL::read_cleartext: BIO_read failed, cap=2576 status=-1: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed'

14:20:50.001 -- EVENT: DISCONNECTED

14:20:50.001 -- Tunnel bytes per CPU second: 0

14:20:50.002 -- ----- OpenVPN Stop -----


There appears to be a problem with the verification of the certificate.
 

  0  
  0  
#6
Options
Re:can't connect Android phone to router uusing openvpn
2022-08-30 20:34:40 - last edited 2022-08-30 20:35:55

  @Rodneymf 

 

If that is the case, then create another new certificate via the OpenVPN menu of the C7 and after the process has successfully finished export a new ovpn configuration file and import that into your Android client.

 

Given the message "[certificate is not yet valid]" from your OpenVPN log it might also be a good idea that you first go to the menu "Advanced" > "System Tools" > "Time Settings" and verify that the router's current date and time are correct!

 

  0  
  0  
#7
Options
Re:can't connect Android phone to router uusing openvpn
2022-08-31 15:02:46

  @woozle 

Thanks for your patience and help.  At last I have connected.

  0  
  0  
#8
Options

Information

Helpful: 0

Views: 1623

Replies: 7

Tags

Related Articles