donaldzou / WGDashboard

Simple dashboard for WireGuard VPN written in Python w/ Flask
Apache License 2.0
1.23k stars 177 forks source link

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

Open bangity opened 4 days ago

bangity commented 4 days 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 days 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.