NHAS / wag

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

Skip unresolvable dns entry on policy creation #86

Closed bluecraank closed 2 months ago

bluecraank commented 6 months ago

If the user activates the wireguard tunnel and tries to open totp page, it does not work because there are no policies for the user created. This occurs if one of the rules does have a unresolvable dns entry.

Maybe its possible to skip this entry for the user policy and go ahead with the other, so at least totp page works

NHAS commented 6 months ago

Yep I agree this would be a sane thing to do. At the moment in the middle of a huge rewrite in prep for making wag highly available.

NHAS commented 6 months ago

This exists on unstable. However I wouldnt recommend using unstable in any sort of production environment at the moment.