Implement dns-hijack

This commit is contained in:
世界
2024-10-23 13:44:08 +08:00
parent a6b3fc5b69
commit 2cd19a0211
6 changed files with 245 additions and 96 deletions

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