OpenVPN with Dynamic DNS

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

OpenVPN with Dynamic DNS

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
OpenVPN with Dynamic DNS
OpenVPN with Dynamic DNS
2019-11-12 09:24:23
Model: Archer A9  
Hardware Version: V6
Firmware Version: 1.0.4 Build 20190522 rel.66382(5553)

Hi,

I managed to generate the client ovpn file from from my router,  but noticed the client ovpn file still uses a static ip "remote 118.300.311.73 1194". I've already configured my router Dynamic DNS, can I ask how come the ovpn file doesn't is using my ddns name instead of a static ip? Did I configure somewhere incorrectly?

 

Thanks and will look forward to your reply.

 

Christopher

  0      
  0      
#1
Options
20 Reply
Re:OpenVPN with Dynamic DNS
2019-11-13 01:55:24

@maestrosg 

 

Hi, below is the instruction to setup DDNS on the router. 

https://www.tp-link.com/support/faq/1367/

 

Please verify whether you can get the internet IP address of your router by resolving the domain name you registered.

 

And try to enable OpenVPN server first and generate the certificate again. 

 

May it help. 

Nice to Meet You in Our TP-Link Community. Check Out the Latest Posts: Connect TP-Link Archer BE550 to Germany's DS-Lite (Dual Stack Lite) Internet via WAN Archer GE550 - BE9300 Tri-Band Wi-Fi 7 Gaming Router EasyMesh Is Available When Wi-Fi Routers Work in AP Mode as A Controller. Archer AX55V2 Supports WireGuard VPN, EasyMesh Ethernet Backhaul, IoT Network, Speed Limit,and More If you found a post or response helpful, please click Helpful (arrow pointing upward icon). If you are the author of a topic, remember to mark a helpful reply as the "Recommended Solution" (star icon) so that others can benefit from it.
  0  
  0  
#2
Options
Re:OpenVPN with Dynamic DNS
2019-11-13 09:41:21

@Kevin_Z 

 

Hi,

I've selected TP-Link as my DDNS provider and yes I've successfully registered a Domain Name example maestrosg.tplinkdns.com .

I did a ping maestrosg.tplinkdns.com and the following is the result:

 

C:\>ping maestrosg.tplinkdns.com

Pinging maestrosg.tplinkdns.com [118.15.89.70] with 32 bytes of data:

 

After which I when ahead to setup my VPN Server and generated the ovpn file.

I edited the ovpn file and realized the statement "remote 118.15.89.70" .

Something is wrong, it can't be a static ip, is there any steps I've missed?

 

Thanks,

Christopher

 

 

  0  
  0  
#3
Options
Re:OpenVPN with Dynamic DNS
2019-11-14 09:54:55

@maestrosg 

 

Hello, try to unbind and re-bind the domain name and the public IP address.

 

After that, please generate the OPVN file again and then export it to verify whether it works well as expected. 

 

Any updates, please let us know.

 

 

Nice to Meet You in Our TP-Link Community. Check Out the Latest Posts: Connect TP-Link Archer BE550 to Germany's DS-Lite (Dual Stack Lite) Internet via WAN Archer GE550 - BE9300 Tri-Band Wi-Fi 7 Gaming Router EasyMesh Is Available When Wi-Fi Routers Work in AP Mode as A Controller. Archer AX55V2 Supports WireGuard VPN, EasyMesh Ethernet Backhaul, IoT Network, Speed Limit,and More If you found a post or response helpful, please click Helpful (arrow pointing upward icon). If you are the author of a topic, remember to mark a helpful reply as the "Recommended Solution" (star icon) so that others can benefit from it.
  0  
  0  
#4
Options
Re:OpenVPN with Dynamic DNS
2019-11-14 20:13:24 - last edited 2019-11-14 20:14:25

@Kevin_Z 

 

Hi,

I Unbind and then Bind again. Then I did a "ping xxx.tplinkdns.com" to ensure it is registered.

C:\>ping xxx.tplinkdns.com

Pinging xxx.tplinkdns.com [118.15.89.70] with 32 bytes of data:

 

After the above is successful, I went to Generate the certificate at OpenVPN  and then Export the configuration.

I then edit the ovpn file and still the same a static ip:

 

OpenVPN-Config.ovpn file:

 

client
dev tun
proto tcp
float
nobind
cipher AES-128-CBC
comp-lzo adaptive
resolv-retry infinite
remote-cert-tls server
persist-key
persist-tun
remote 118.15.89.70 1194
<ca>

-----BEGIN CERTIFICATE-----

......

-----END PRIVATE KEY-----
</key>

 

 

 

 

 

 

 

 

  0  
  0  
#5
Options
Re:OpenVPN with Dynamic DNS
2019-11-27 06:59:59

@maestrosg 

 

Hi, Any support for this issue? Thanks

  0  
  0  
#6
Options
Re:OpenVPN with Dynamic DNS
2019-11-27 07:21:50

@maestrosg 

 

Sorry to respond late. 

 

To solve your problem, we would like to follow up your case via email so that we can do further analysis and try to fix it.

 

Please wait a while until they contact you.

 

Thanks for your kindly understanding and support. 

Nice to Meet You in Our TP-Link Community. Check Out the Latest Posts: Connect TP-Link Archer BE550 to Germany's DS-Lite (Dual Stack Lite) Internet via WAN Archer GE550 - BE9300 Tri-Band Wi-Fi 7 Gaming Router EasyMesh Is Available When Wi-Fi Routers Work in AP Mode as A Controller. Archer AX55V2 Supports WireGuard VPN, EasyMesh Ethernet Backhaul, IoT Network, Speed Limit,and More If you found a post or response helpful, please click Helpful (arrow pointing upward icon). If you are the author of a topic, remember to mark a helpful reply as the "Recommended Solution" (star icon) so that others can benefit from it.
  0  
  0  
#7
Options
Re:OpenVPN with Dynamic DNS
2019-11-27 09:09:41

@Kevin_Z 

 

Thank you very much, I shall wait for email reply.

 

  0  
  0  
#8
Options
Re:OpenVPN with Dynamic DNS
2019-11-28 02:50:55

@maestrosg 

 

Definitely sure. 

 

You can keep in touch with our engineer. 

Nice to Meet You in Our TP-Link Community. Check Out the Latest Posts: Connect TP-Link Archer BE550 to Germany's DS-Lite (Dual Stack Lite) Internet via WAN Archer GE550 - BE9300 Tri-Band Wi-Fi 7 Gaming Router EasyMesh Is Available When Wi-Fi Routers Work in AP Mode as A Controller. Archer AX55V2 Supports WireGuard VPN, EasyMesh Ethernet Backhaul, IoT Network, Speed Limit,and More If you found a post or response helpful, please click Helpful (arrow pointing upward icon). If you are the author of a topic, remember to mark a helpful reply as the "Recommended Solution" (star icon) so that others can benefit from it.
  0  
  0  
#9
Options
Re:OpenVPN with Dynamic DNS
2020-03-14 16:03:51

@maestrosg 

Was this issue resolved for you? I am having the same issue in that my ovpn config uses static a IP rather than the domain name. I'd be interested in a solution. Thanks OSNR.

  2  
  2  
#10
Options
Re:OpenVPN with Dynamic DNS
2020-03-24 14:57:40

@osnr 

 

Hi OSNR, just change the OpenVPN-Config.ovpn script file that was being generated, the ip number to your dynamic name for example below the "remote" ip 118.15.89.70 to "remote dynamic.tplinkdns.com 1194" . Hope it work for you.

 

OpenVPN-Config.ovpn file:

 

client
dev tun
proto tcp
float
nobind
cipher AES-128-CBC
comp-lzo adaptive
resolv-retry infinite
remote-cert-tls server
persist-key
persist-tun
remote 118.15.89.70 1194
<ca>

-----BEGIN CERTIFICATE-----

......

-----END PRIVATE KEY-----
</key>

  10  
  10  
#11
Options

Information

Helpful: 0

Views: 20327

Replies: 20

Related Articles