naggie / dsnet

FAST command to manage a centralised wireguard VPN. Think wg-quick but quicker: key generation + address allocation.

Home Page:https://calbryant.uk/blog/how-to-set-up-a-wireguard-vpn-in-minutes-with-dsnet/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use hostname instead IP

amarc opened this issue · comments

commented

Hello,

is it possible to workaround dynamic IP's by entering some (updated with ddclient) domain name in "ExternalIP" instead of actual IPv4 ?

Not right now, ExternalIP is parsed as an IP. For a workaround, the generated client config could be edited.

I think as a result of #27 there will be a solution to this soon.

commented

Great, thanks.

My workaround is to have local IP listed there since I am already doing port forward on that IP. Than on client I update Endpoint to use hostname instead that local IP

Implemented in 0.4 with ExternalHost which has precedence over ExternalIP and ExternalIP6