OpenVPN + TP-Link Dyanmic DNS incompatibility

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

OpenVPN + TP-Link Dyanmic DNS incompatibility

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
OpenVPN + TP-Link Dyanmic DNS incompatibility
OpenVPN + TP-Link Dyanmic DNS incompatibility
2022-07-21 13:41:02 - last edited 2022-07-22 09:46:44
Tags: #VPN #Dynamic DNS
Model: Archer AX1800  
Hardware Version: V1
Firmware Version: 1.0.5 Build 20220216 Rel. 59311(4555)

Hello,

 

I want to reach a device on my home network by first establishing a connection to the router's VPN. Since the ISP is only giving me dynamic IP address, I set up Dyanmic DNS using my new TP-Link router.

 

I generated the cert, exported the config, enable Open VPN, imported the config file to my client and managed to join without any issues, BUT only using the IP address that was entered into the config file - which is the same IP address that I see on the Network Tab (see red rectangle on the picture).

 

 

However, when I check with nslookup what the dynamic dns address resolves to, it's a different address. nslookup gives me the same address that whatismyip gives when I visit it from my computer.

 

I did try replacing the IP address in the open vpn config file with the dynamic dns address, and of course it didn't work (it resolves to a different IP).

 

Based on this, what I would need, for the VPN to work, is to have the Dynamic DNS return that address, that I see under the red rectangle.

 

Is my approach wrong somehow? How could I resolve this?

 

BR,

thilonel

  0      
  0      
#1
Options
1 Accepted Solution
Re:OpenVPN + TP-Link Dyanmic DNS incompatibility-Solution
2022-07-21 16:14:18 - last edited 2022-07-22 09:46:44

  @thilonel 

 

Hi,

 

When you used your router's Internet IP address to connect a client via OpenVPN, to what network was the client device connected to at that time?

 

Anyway, if the IP address shown by whatismyip_dot_com is different than the IP address you see where you have drawn the red line in your screenshot, then usually it means your ISP has setup a CG-NAT between your router and the actual Internet.

 

You could confirm that by checking whether your router's Internet IP address falls within one of these ranges of private IP addresses:

10.0.0.0 - 10.255.255.255
172.16.0.0 - 172.31.255.255
192.168.0.0 - 192.168.255.255
100.64.0.0 - 100.127.255.255

 

If so, then the only way to solve this is to contact your ISP and have them assign a so-called public IP address to your Internet connection.

 

Recommended Solution
  2  
  2  
#2
Options
2 Reply
Re:OpenVPN + TP-Link Dyanmic DNS incompatibility-Solution
2022-07-21 16:14:18 - last edited 2022-07-22 09:46:44

  @thilonel 

 

Hi,

 

When you used your router's Internet IP address to connect a client via OpenVPN, to what network was the client device connected to at that time?

 

Anyway, if the IP address shown by whatismyip_dot_com is different than the IP address you see where you have drawn the red line in your screenshot, then usually it means your ISP has setup a CG-NAT between your router and the actual Internet.

 

You could confirm that by checking whether your router's Internet IP address falls within one of these ranges of private IP addresses:

10.0.0.0 - 10.255.255.255
172.16.0.0 - 172.31.255.255
192.168.0.0 - 192.168.255.255
100.64.0.0 - 100.127.255.255

 

If so, then the only way to solve this is to contact your ISP and have them assign a so-called public IP address to your Internet connection.

 

Recommended Solution
  2  
  2  
#2
Options
Re:OpenVPN + TP-Link Dyanmic DNS incompatibility
2022-07-22 09:47:42

  @woozle thank you for your prompt reply! You are absolutely right. I called my ISP and they will take me out of the NAT within 72 hours.

  1  
  1  
#3
Options