NHAS / wag

Simple Wireguard 2FA
BSD 3-Clause "New" or "Revised" License
486 stars 27 forks source link

Duplicates in AllowedIPs #72

Closed vnovichek closed 8 months ago

vnovichek commented 9 months ago

Looking for a work-around for https://github.com/NHAS/wag/issues/67 I noticed that generated AllowedIPs contains duplicates, e.g. 192.168.5.5 which is used in DNS and MFA blocks.

NHAS commented 9 months ago

This should only happen in the case you're defining a dns server and also require the dns server to have other services on it.