mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-09-15 21:00:27 +00:00
wireguard: Fix system device configures DNS for interface
This commit is contained in:
@@ -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()
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user