Add call protocol, Rmux. Update AmneziaWG. Fixes and improvements

This commit is contained in:
Shtorm
2026-08-06 14:19:34 +03:00
parent 051e928b01
commit d6b9f693c4
89 changed files with 15671 additions and 132 deletions

View File

@@ -7,16 +7,22 @@ import (
)
type VPNClientEndpointOptions struct {
Address netip.Addr `json:"address"`
Key string `json:"key"`
Outbound Outbound `json:"outbound"`
Address netip.Addr `json:"address"`
Key string `json:"key"`
Outbound Outbound `json:"outbound"`
PoolSize uint8 `json:"pool_size,omitempty"`
ReconnectDelay badoption.Duration `json:"reconnect_delay,omitempty"`
RejectDelay badoption.Duration `json:"reject_delay,omitempty"`
DefaultGateway netip.Addr `json:"default_gateway,omitempty"`
}
type VPNServerEndpointOptions struct {
Address netip.Addr `json:"address"`
Users []VPNUser `json:"users"`
Inbounds []Inbound `json:"inbounds"`
PoolSize uint8 `json:"pool_size,omitempty"`
ConnectTimeout badoption.Duration `json:"connect_timeout,omitempty"`
DefaultGateway netip.Addr `json:"default_gateway,omitempty"`
}
type VPNUser struct {