mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[PR #4106] [CLOSED] feat: Set WireGuard DNS for Inbounds and Peers in UI #5601
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#5601
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/MHSanaei/3x-ui/pull/4106
Author: @SilverPolarFox
Created: 4/25/2026
Status: ❌ Closed
Base:
main← Head:Feat-WireGuard-inbound-DNS📝 Commits (6)
48ad787WG inbound set DNS1083902modified: web/assets/js/model/inbound.js431fdb2Merge branch 'MHSanaei:main' into Feat-WireGuard-inbound-DNS3fe912fMerge branch 'MHSanaei:main' into Feat-WireGuard-inbound-DNS4b92228Merge branch 'MHSanaei:main' into Feat-WireGuard-inbound-DNSb03693dMerge branch 'MHSanaei:main' into Feat-WireGuard-inbound-DNS📊 Changes
2 files changed (+25 additions, -5 deletions)
View changed files
📝
web/assets/js/model/inbound.js(+17 -5)📝
web/html/form/protocol/wireguard.html(+8 -0)📄 Description
What is the pull request?
This pull request adds configurable DNS support for WireGuard inbound client configurations.
Previously, WireGuard client configs generated by the web panel and QR code used a hardcoded DNS value. This change allows DNS to be configured from the WireGuard inbound settings and from individual peer settings.
Changes included:
1.1.1.1, 1.0.0.1.The affected files are in the frontend WireGuard form and inbound model:
web/html/form/protocol/wireguard.htmlandweb/assets/js/model/inbound.js. The current upstream WireGuard form contains MTU, No Kernel Tun, and peer settings, but does not include DNS fields by default.Which part of the application is affected by the change?
Type of Changes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.