Archer C7 - no connection with openVPN

Archer C7 - no connection with openVPN

Archer C7 - no connection with openVPN
Archer C7 - no connection with openVPN
2024-05-21 13:27:27 - last edited 2024-10-23 10:04:19
Tags: #VPN
Model: Archer C7  
Hardware Version: V5
Firmware Version: 1.2.1 Build 20220715 rel.19099(4555)

Hi,


I am from Austria and use my Archer C7 in German, but will try to explain everything in English.


I use a ZTE MC801A Modem Router from Magenta (T-Mobile) in Bridge Mode. The APN is set to business, hence I enjoy a dynamic public IP. My WAN IP of the Archer C7 is the same as whatismyip.


Further more I set up a dyndns via no-ip and activated it in my Archer C7 which is working correctly, as far as I can tell.


In the web gui from my Archer C7 I activated the openVPN Server, set it to UDP, left the serviceport and subnet standard and also "only home network" for client access.


I generated a certificate (meanwhile a second and third time) and downloaded the certificate.


Next I uploaded the certificate into the current version of openVPN client for windows (version 3.4.4). Well, they do not connect. I also tried it with the latest openVPN app under Android 14, which is not working, too.


In the Archer C7 menu, under the point "vpn connections" there is logically no entry due to the failed connection with my pc or my android smartphone.


I also tried to add "remote --mypublicip-- --port--" after the dyndns but that did not help.


My goal is to connect my QNAP NAS with my smartphone via openVPN.


I will upload the content of my *.ovpn (without certificate and key) and the log file from my windows openVPN client later.


If you need screenshots from specific menus of the Archer C7 please let me know.


Help would be much appreciated.


Kind Regards

Sigfrid

File:
openVPN config and client log.pdfDownload
  0      
  0      
#1
Options
6 Reply
Re:Archer C7 - no connection with openVPN
2024-05-21 19:40:59 - last edited 2024-05-21 19:41:26

  @Sigfrid_Xanten 

 

Here are two things you could try that might help with troubleshooting the problem.

 

1) Connect your Android phone to the Wi-Fi of your Archer C7, open the "OpenVPN Connect" app and then activate the connection that you've already imported ealier. 
Does it connect successfully? (normally it should connect)

 

2) Enable "Remote Management" on the C7 via the menu "Advanced -> Administration". 
Then grab a device that is connected to the Internet via a different provider (like a phone with its own SIM card), open the device's web browser and type http://78.132.82.195 (or http://vifacloud2020.ddns.net). 
Does the login page of your Archer C7 appear in the browser?
 

  0  
  0  
#2
Options
Re:Archer C7 - no connection with openVPN
2024-05-23 08:58:24 - last edited 2024-05-23 09:02:09

  @woozle 

 

Thx for the first ideas.

 

Ad 1) Nope. Neither in WiFi nor in mobile Internet I get a connection in the openvpn app on Android. I click on the slider but it does not start (or it seems to stop immediatly, in comparison to the Windows Client which tries to connect for a minute or so)

 

Ad 2) Yes, I can enter and administrate the C7 via mobile Internet through both the IP as well as vifacloud2020.ddns.net

 

Further ideas? Thank you so much.

 

By the way: I also added and activated Port 1194 under NAT/PORT TRIGGERING. Did not help.

  0  
  0  
#3
Options
Re:Archer C7 - no connection with openVPN
2024-05-23 19:19:08

  @Sigfrid_Xanten 

 

According to the log you provided earlier there is no response from the VPN server. (Server poll timeout, trying next remote entry...)

 

I can only think of two possible reasons. 

 

1) The incoming connection from the Internet does not go through to the router.

-> We can now rule this out, because you can get to the remote login screen of the C7 via the Internet.

 

2) The openvpn server process does not start because something got misconfigured internally and disabling/enabling the OpenVPN option via the router's admin webpage doesn't correct the error.

-> Since the C7 (as well as most other commercial routers) doesn't provide access to the Linux command line we cannot verify this.
The only way to recover from such a situation would be to reset the router to factory default settings.

 

By the way, in case you decided to go for the factory restore, then test the OpenVPN server first thing after the reset. What I mean is, don't change a whole lot of other settings on the router before you test the OpenVPN.

After the router reset a new certificate will be created, which means you have to export the ovpn profile again and import it to your client devices.

 

And don't add port triggering rules for ports used by the C7's own VPN service.

  0  
  0  
#4
Options
Re:Archer C7 - no connection with openVPN
2024-10-22 00:32:55

  @woozle 

I have a similar problem, with the extra difficulty that remote management doesn't work when OpenVPN is enabled - the connection times out.  Remote management works fine when VPN is disabled.  I checked the port forwarding, and there's no conflict with the VPN port.

 

I guess you'd recommend I try resetting the router?

  0  
  0  
#6
Options
Re:Archer C7 - no connection with openVPN
2024-10-24 19:17:49

  @Unhandyandy 

 

Hi,

 

Well, it's not really that I recommend it, because I know it can mean a lot of effort to reconfigure everything. 

 

But whenever a particular router shows abnormal behavior that is not common for that model, then a factory reset would be the only way to return it to a normal state. These devices designed for use by the avarage home user generally do not allow access to the internal Linux system and hence there is no alternate way to (manually) correct a potential error in one of the configuration files.

  0  
  0  
#7
Options
Re:Archer C7 - no connection with openVPN
2024-10-24 20:34:09

  @woozle 

Well, I tried the easier of the two facrory resets, which preserves login and cloud info.  It made no difference.

 

Does that suggest that the unit may be defective?

  0  
  0  
#8
Options

Information

Helpful: 0

Views: 559

Replies: 6

Tags

Related Articles