OpenVPN Client DHCP reservation?

OpenVPN Client DHCP reservation?

OpenVPN Client DHCP reservation?
OpenVPN Client DHCP reservation?
a week ago - last edited Wednesday
Model: ER605 (TL-R605)  
Hardware Version: V2
Firmware Version: 2.2.5 Build 20240522 Rel.75860

I have OpenVPN set up on my router, and it is working well. My client devices can connect just fine, however one particular device (Actually an off-site Synology NAS) needs to have a static IP when connected to the VPN server.

 

I can't see any way of doing this in the NAS itself, nor inside the router settings. Ther DHCP reservations work perfectly for local clients, but the VPN client IPs don't even appear in the DHCP client list.

 

In my configuration, the LAN DHCP is set to give out 10.1.1.100 - 10.1.1.199, however the OpenVPN clients are getting 10.1.1.10 - 10.1.1.something.

 

The Synology NAS so far has been given two that I know of; 10.1.1.10 and 10.1.1.14.

 

Is it possible to do what I want here? (I.e give the NAS a DHCP reservation or static IP)?

 

Here's my configs:
LAN:

OpenVPN:

Thank you in advance! :)

  0      
  0      
#1
Options
1 Accepted Solution
Re:OpenVPN Client DHCP reservation?-Solution
Monday - last edited Wednesday

Hi @Memran 

Thanks for posting in our business forum.
I believe OVPN cannot do that.

If you want it a static IP, you can use WireGuard which can be set to a static IP. Everything based on your WG is rather static than dynamic like the OVPN.

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
Recommended Solution
  1  
  1  
#2
Options
2 Reply
Re:OpenVPN Client DHCP reservation?-Solution
Monday - last edited Wednesday

Hi @Memran 

Thanks for posting in our business forum.
I believe OVPN cannot do that.

If you want it a static IP, you can use WireGuard which can be set to a static IP. Everything based on your WG is rather static than dynamic like the OVPN.

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
Recommended Solution
  1  
  1  
#2
Options
Re:OpenVPN Client DHCP reservation?
Wednesday
Slightly disappointing, because the Synology doesn't natively support WireGuard, but perhaps I can find a way to make it work. I'll still use OVPN for my other devices though, because it's really simple to use. Thanks!
  0  
  0  
#3
Options