new: add tproxy and fix crash on invalid fragment config

This commit is contained in:
Hiddify
2024-03-19 11:41:34 +01:00
parent 8f0f4755aa
commit a5ca136a4c
3 changed files with 5 additions and 5 deletions

View File

@@ -37,11 +37,11 @@ type InboundOptions struct {
EnableTunService bool `json:"enable-tun-service"`
SetSystemProxy bool `json:"set-system-proxy"`
MixedPort uint16 `json:"mixed-port"`
TProxyPort uint16 `json:"tproxy-port"`
LocalDnsPort uint16 `json:"local-dns-port"`
MTU uint32 `json:"mtu"`
StrictRoute bool `json:"strict-route"`
TUNStack string `json:"tun-implementation"`
TProxyPort uint16 `json:"tproxy-port"`
}
type URLTestOptions struct {