Unable to connect to openVPN from client

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

Unable to connect to openVPN from client

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Unable to connect to openVPN from client
Unable to connect to openVPN from client
2023-11-27 08:58:49 - last edited 2023-12-05 12:34:47
Tags: #VPN
Model: Archer C6  
Hardware Version: V2
Firmware Version: 1.3.6

I have set up openVPN on my router and exported the ovpn file but whenever I try to connect from other devices outside the network it says 'timeout: unable to connect'. What can be the potential issues/errors?

 

I even tried DDNS but it also doesn't works.

  0      
  0      
#1
Options
1 Accepted Solution
Re:Unable to connect to openVPN from client-Solution
2023-11-27 10:37:04 - last edited 2023-12-05 12:34:47

  @Navin772 

 

If your C6 WAN IP address is starting with "10." then it's a private IP address.

If you don't have another ISP provided device (modem/router) sitting in front of the C6, contact your ISP for assistance.

If this was helpful click on the arrow pointing upward to make it blue. If this solves your issue, click the star to make it blue and mark the post as a "Recommended Solution".
Recommended Solution
  3  
  3  
#4
Options
7 Reply
Re:Unable to connect to openVPN from client
2023-11-27 09:18:32 - last edited 2023-11-27 09:28:15

  @Navin772 

 

A probable cause can be that WAN IP address of your C6 router could be a private IP address.

If you ping DDNS and compare the IP address resolved with the C6 WAN IP address, they should be the same for OpenVPN to work.

If they are different then a private IP address has been assigned to your C6 WAN port.

By the way there's a newer FW release for your C6 v2 - v1.3.7 - here.

 

If this was helpful click on the arrow pointing upward to make it blue. If this solves your issue, click the star to make it blue and mark the post as a "Recommended Solution".
  2  
  2  
#2
Options
Re:Unable to connect to openVPN from client
2023-11-27 09:37:01
Yes, the DDNS resolved IP address and WAN IP are different (one starting like 202.xxx.xxx.xx and WAN is 10.xx.xxx.xxx). And I cannot ping either of them from outside network. What can I do to resolve this?
  0  
  0  
#3
Options
Re:Unable to connect to openVPN from client-Solution
2023-11-27 10:37:04 - last edited 2023-12-05 12:34:47

  @Navin772 

 

If your C6 WAN IP address is starting with "10." then it's a private IP address.

If you don't have another ISP provided device (modem/router) sitting in front of the C6, contact your ISP for assistance.

If this was helpful click on the arrow pointing upward to make it blue. If this solves your issue, click the star to make it blue and mark the post as a "Recommended Solution".
Recommended Solution
  3  
  3  
#4
Options
Re:Unable to connect to openVPN from client
2023-11-27 11:07:03 - last edited 2023-11-27 11:08:03

I do have a modem that takes in fiber optic cable and outputs a ethernet cable to the router and that is provided by the ISP. What should I do in this case?

  0  
  0  
#5
Options
Re:Unable to connect to openVPN from client
2023-11-27 11:11:47 - last edited 2023-11-29 10:11:20

  @Navin772 

 

Call your ISP and ask them to configure your modem in bridge mode (if possible) so you can receive your public IP address on the C6 WAN port.

If they can't do that, ask them to configure DMZ on their modem to your C6. In either case you should configure port-forward/virtual server for OpenVPN ports on your C6.

For OpenVPN server port-forwarding refer to this thread.

If they can't do either of these for you, you won't be able to use the OpenVPN server from an external network.

If this was helpful click on the arrow pointing upward to make it blue. If this solves your issue, click the star to make it blue and mark the post as a "Recommended Solution".
  1  
  1  
#6
Options
Re:Unable to connect to openVPN from client
2023-11-27 15:03:41
Ok, I will contact my ISP and see if they can help. Thanks for your support
  0  
  0  
#7
Options
Re:Unable to connect to openVPN from client
2023-11-29 10:16:44 - last edited 2023-11-29 10:17:14

I contacted my ISP but they cannot do any of the 2 proposed solutions. I guess I can't setup the VPN :(  . If you know of any other way I can access my home network (like NAS, etc) from outside the network please let me know.

  0  
  0  
#8
Options