Resolve client hostname on a Synology VPN Server
Posted: Fri Apr 13, 2018 5:37 am
Hi
On my Synology NAS an OpenVPN Server is running.
With another Synology NAS I connect to VPN Server as a client. This works.
Connect to the client with IP-address works fine. But if I try to connect from server to the client with client hostname, the hostname cannot be resolved.
How can I push the client hostname to the server?
Is following still the only possibility: https://openvpn.net/archive/openvpn-use ... 00119.html
Does it works on Synology DSM 6?
If not necessary I try to avoid installing DNS Server or complex code/scripts.
Use case:
From Server it back up to client. Because it's not sure the client always get's the same VPN IP-address, I would connect with hostname.
Alternative:
If hostname is not possible, maybe it's an option to use a static VPN IP for this VPN client.
On my Synology NAS an OpenVPN Server is running.
With another Synology NAS I connect to VPN Server as a client. This works.
Connect to the client with IP-address works fine. But if I try to connect from server to the client with client hostname, the hostname cannot be resolved.
How can I push the client hostname to the server?
Is following still the only possibility: https://openvpn.net/archive/openvpn-use ... 00119.html
Does it works on Synology DSM 6?
If not necessary I try to avoid installing DNS Server or complex code/scripts.
Use case:
From Server it back up to client. Because it's not sure the client always get's the same VPN IP-address, I would connect with hostname.
Alternative:
If hostname is not possible, maybe it's an option to use a static VPN IP for this VPN client.