OpenVPN Site-to-Site with DDNS

OpenVPN Site-to-Site with DDNS

OpenVPN Site-to-Site with DDNS
OpenVPN Site-to-Site with DDNS
2024-10-27 18:12:57 - last edited 2024-10-28 02:38:06
Model: ER605 (TL-R605)  
Hardware Version: V2
Firmware Version: 2.2.5

I'd like to set up an OpenVPN site-to-site VPN between two ER605s. 

 

My server ER605 has a dynamic IP (outside of my control) with DDNS configured. I can modify the .ovpn file to replace the IP address with the DDNS domain name, but on the client ER605 for the "Remote Server" field, it won't let me enter the domain name and demands an IP address.

 

I don't understand why this field is requiring an IP, or why it exists at all; the server address is defined in the uploaded .ovpn file, so I don't see why the address is also needed in the console in this "Remote Server" field.

 

Is there any way to set up a site-to-site with a DDNS on the server?

  0      
  0      
#1
Options
2 Accepted Solutions
Re:OpenVPN Site-to-Site with DDNS-Solution
2024-10-27 18:33:41 - last edited 2024-10-28 02:38:06

  @SomeNetEngineer 

 

Both OpenVPN and Wireguard require you to use an IP, it will be possible to use a name very soon but I don't know the date. you can immediately use L2TP/Ipsec site to site, then you will be able to use fqdn, it is possible to set up L2TP so that it works as site to site.
on the server side you create a user and set up extension mode and on the client side you enable routing. then you have site to site as you wish, in this way you can also use policy route and route all traffic out on the remote site.

 

I recommend you read the documentation for the router or if you use a controller then read that documentation, it says in more detail how you can configure the various components

 

 

you can also use fqdn with IPsec site to site, but then you do not have the option to route all traffic out to the remote site as you wish.

 

 

 

 

Recommended Solution
  1  
  1  
#2
Options
Re:OpenVPN Site-to-Site with DDNS-Solution
2024-10-27 20:03:02 - last edited 2024-10-28 02:38:08
Recommended Solution
  1  
  1  
#3
Options
2 Reply
Re:OpenVPN Site-to-Site with DDNS-Solution
2024-10-27 18:33:41 - last edited 2024-10-28 02:38:06

  @SomeNetEngineer 

 

Both OpenVPN and Wireguard require you to use an IP, it will be possible to use a name very soon but I don't know the date. you can immediately use L2TP/Ipsec site to site, then you will be able to use fqdn, it is possible to set up L2TP so that it works as site to site.
on the server side you create a user and set up extension mode and on the client side you enable routing. then you have site to site as you wish, in this way you can also use policy route and route all traffic out on the remote site.

 

I recommend you read the documentation for the router or if you use a controller then read that documentation, it says in more detail how you can configure the various components

 

 

you can also use fqdn with IPsec site to site, but then you do not have the option to route all traffic out to the remote site as you wish.

 

 

 

 

Recommended Solution
  1  
  1  
#2
Options
Re:OpenVPN Site-to-Site with DDNS-Solution
2024-10-27 20:03:02 - last edited 2024-10-28 02:38:08
Recommended Solution
  1  
  1  
#3
Options