-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Copy link
Labels
verifiedAll test cases were verified successfullyAll test cases were verified successfully
Milestone
Description
Steps to reproduce
- Set up a WireGuard server tunnel on NethSecurity and assign its DNS server field to the firewall's WireGuard interface address (e.g., 10.189.165.1).
- Connect a WireGuard client and try to resolve DNS using this address.
- Observe that the client does not get responses.
Expected behavior
- The WireGuard client should be able to use the assigned DNS server (the firewall’s WireGuard IP) for DNS resolution, as works on OpenWRT.
Actual behavior
- DNS responses do not reach the WireGuard client when using the firewall’s WireGuard IP as DNS server.
- Using the LAN IP does not work, and only WAN DNS servers are functional.
- This issue is caused by the automatically generated server IP using an address format that OpenWRT treats as /32, not CIDR (e.g., 10.189.165.1 instead of 10.189.165.1/24).
Workaround
Change addresses 'w.x.y.z/24' adding /24 where w.x.y.z is the original address on the network configuration
Components
- ns-api: 3.4.0-r1
References
Metadata
Metadata
Assignees
Labels
verifiedAll test cases were verified successfullyAll test cases were verified successfully
Type
Projects
Status
Done ✅