A few questions and suggestions about wag #138
Replies: 8 comments 1 reply
-
Hey all of these are great suggestions. Thanks for your feedback. I've been a tad busy working on other things right at the moment but I'll answer some questions that you've posed.
|
Beta Was this translation helpful? Give feedback.
-
Feel free to raise all your suggestions and questions 7 and 8 as issues :) |
Beta Was this translation helpful? Give feedback.
-
Thank you for the reply! Regarding the first question: running
I will report bugs and suggestions as issues. For now I got one more question. What I tried is: putting the whole network (172.20.20.0/24) under the |
Beta Was this translation helpful? Give feedback.
-
Hmm. The same situation happens with access to DNS servers. |
Beta Was this translation helpful? Give feedback.
-
Answering my own question regarding not being able to access either Keycloak or any other service except Keycloak: I found a solution. E.x. The same principal works with DNS. If you want to access all ports and protocols on the DNS server after authorization, put |
Beta Was this translation helpful? Give feedback.
-
Thanks for writing these solutions out! Wag works by using the rule that is the most specific to determine what policies it should apply. So if you have a subnet like /24 then a rule that is defined per host /32 is more specific so it uses those policies. The order of preference for policies goes like this deny -> mfa -> allow, so if you have multiple conflicting policies for a single port (or range) they will be evaluated like that. Sorry for not responding, I have been unwell! |
Beta Was this translation helpful? Give feedback.
-
I've added your suggestions into the unstable branch |
Beta Was this translation helpful? Give feedback.
-
First of all I hope you are feeling better! Thank you for the reply :) |
Beta Was this translation helpful? Give feedback.
-
Hello!
First of all I'd like to thank the author for such a great tool! There are not many options for Wireguard authentication exist and this one combines just the right features! I hope the project will keep going!
I got myself a bit familiar with the app and would like to ask a few question about running it into production mode and make a few suggestions.
Questions
wag
withoutNAT
and so far had no luck. I have two LAN's defined on router: 172.17.17.0/24 - main LAN and 172.17.18.0/24 - for wag clients. Thewag
host itself is located in the main LAN, but wireguard IP is set to 172.17.18.0/24 (second LAN IP range). I can establish connection to wg, but have no access to 172.17.17.0/24 (DNS, Keycloak, any other services). I have added these hosts to allow group, but that didn't work. I also put another host in the 172.17.18.0/24 subnet and I can access both nets from it: thus it is not a firewall issue... I appreciate any suggestion for further investigation and fixing it.If I use
NAT
, everything works fine.PersistentKeepalive
parameter in a client's config? It is always set to10
and I didn't find any setting for that.NAT
option - it value will be picked, but if I changeDownloadConfigFileName
- it won't be picked by the service. Could you please tell me what options are ignored in the config file after initial setup?devices.db
file anywhere. I believe the data structure has been changed since ver.8. Is this file still present?The log says:
Suggestions
DNS suffix
into the connection (adapter settings).reload
command (see https://github.com/NHAS/wag?tab=readme-ov-file#management) is not implemented. I suggest to remove it form the docs.Beta Was this translation helpful? Give feedback.
All reactions