feat: Add per-app proxy (Split Tunneling) for desktop platforms
Some checks failed
CI / run (push) Has been cancelled
Some checks failed
CI / run (push) Has been cancelled
- Add PerAppProxyOptions struct with Mode, IncludedApplications, ExcludedApplications - Implement routing rules for include/exclude modes - Include mode: selected apps use VPN, others go direct - Exclude mode: selected apps bypass VPN, others use VPN - Only active on non-Android platforms (Windows, Linux, macOS) - Logging added for debugging per-app routing decisions Part of v1.7.6 Split Tunneling feature
This commit is contained in:
@@ -26,6 +26,13 @@ type HiddifyOptions struct {
|
||||
InboundOptions
|
||||
URLTestOptions
|
||||
RouteOptions
|
||||
PerAppProxyOptions
|
||||
}
|
||||
|
||||
type PerAppProxyOptions struct {
|
||||
Mode string `json:"per-app-proxy-mode"` // "off", "include", "exclude"
|
||||
IncludedApplications []string `json:"included-applications"` // ["chrome.exe", "firefox.exe"]
|
||||
ExcludedApplications []string `json:"excluded-applications"` // ["steam.exe", "uTorrent.exe"]
|
||||
}
|
||||
|
||||
type DNSOptions struct {
|
||||
|
||||
Reference in New Issue
Block a user