Implement dns-hijack

This commit is contained in:
世界
2024-11-28 14:29:42 +08:00
parent 648fe1f123
commit 9d1b3bc4d4
6 changed files with 243 additions and 96 deletions
+3 -2
View File
@@ -36,8 +36,9 @@ type TUN struct {
router adapter.Router
logger log.ContextLogger
// Deprecated
inboundOptions option.InboundOptions
tunOptions tun.Options
inboundOptions option.InboundOptions
tunOptions tun.Options
// Deprecated
endpointIndependentNat bool
udpTimeout time.Duration
stack string