donaldzou / WGDashboard

Simple dashboard for WireGuard VPN written in Python & Vue.js
https://donaldzou.github.io/WGDashboard-Documentation/
Apache License 2.0
1.64k stars 253 forks source link

Can't use domain name (dynamic DNS) in Allowed IP #282

Open bangity opened 4 months ago

bangity commented 4 months ago

Describe The Problem When I go and create a Peer, the field in Allowed IP. I entered "*****.ddns.net/0".

Expected Error / Traceback None Please provide the error traceback here Endpoint Allowed IPs format is incorrect.

To Reproduce Please provide how you run the dashboard Create a Peer, enter subdomain.ddns.net/0 into the allowed IP field will elicit the error.

OS Information:

Sample of your .conf file Not created Please provide a sample of your configuration file that you are having problem with. You can replace your public key and private key to ABCD...

donaldzou commented 4 months ago

I never thought about this issue... Will need to solve this in my next release, sorry for the wait. In the mean time, you can use the IP address of it, sorry about that.