fix: reenable indeependent nat for vpn server

This commit is contained in:
Hiddify
2024-08-03 15:48:12 +02:00
parent 56ceaa9f62
commit 0e3d3a0032
2 changed files with 3 additions and 4 deletions

View File

@@ -96,7 +96,7 @@ func startTunnelRequest(opt ConfigOptions, installService bool) (bool, error) {
Ipv6: opt.IPv6Mode == option.DomainStrategy(dns.DomainStrategyUseIPv4),
ServerPort: int32(opt.InboundOptions.MixedPort),
StrictRoute: opt.InboundOptions.StrictRoute,
EndpointIndependentNat: false,
EndpointIndependentNat: true,
Stack: opt.InboundOptions.TUNStack,
})
if err != nil {