Implement dns-hijack

This commit is contained in:
世界 committed 2025-01-13 15:14:29 +08:00
1 parent 179e3cb2f5
commit 9f7683818f
6 files changed
+245 -96

No files matched your search

+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