mirror of
https://github.com/SagerNet/sing-box.git
synced 2026-10-22 20:12:36 +00:00
wireguard: Fix system device configures DNS for interface
This commit is contained in:
parent
cdbfceafd1
commit
b3a6dcda5f
1 changed files with 1 additions and 0 deletions
|
|
@ -93,6 +93,7 @@ func (w *systemDevice) Start() error {
|
|||
MTU: w.options.MTU,
|
||||
GSO: true,
|
||||
InterfaceScope: true,
|
||||
DNSMode: tun.DNSModeDisabled,
|
||||
Inet4RouteAddress: common.Filter(w.options.AllowedAddress, func(it netip.Prefix) bool {
|
||||
return it.Addr().Is4()
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue