diff options
| author | Jeroen Wijenbergh <jeroen.wijenbergh@geant.org> | 2025-05-06 10:31:57 +0200 |
|---|---|---|
| committer | Jeroen Wijenbergh <jeroen.wijenbergh@geant.org> | 2025-05-06 13:25:48 +0200 |
| commit | 6b939462fb1064abd42e8cb8316700ec844172ea (patch) | |
| tree | b572daecdf0f25e3beec9883a8b7bb2522628212 /types/server/server.go | |
| parent | 347b20fc91505584bc9efbeca89590a411b95e79 (diff) | |
All: Remove ProxyGuard integration
This should be done in WireGuard-go or in case of a linux a small daemon
Diffstat (limited to 'types/server/server.go')
| -rw-r--r-- | types/server/server.go | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/types/server/server.go b/types/server/server.go index 3b0d374..cfadb25 100644 --- a/types/server/server.go +++ b/types/server/server.go @@ -164,18 +164,6 @@ type List struct { Custom []Server `json:"custom_servers,omitempty"` } -// Proxy defines the structure with the arguments that should be passed to start proxyguard -type Proxy struct { - // SourcePort is the source port for the client TCP connection - SourcePort int `json:"source_port"` - // ListenPort is the port for the client UDP connection, this is the value that is set as the WireGuard endpoint prepended with "127.0.0.1:" - // So if the listen port is set to 1337, the WireGuard endpoint would be 127.0.0.1:1337 - ListenPort int `json:"listen_port"` - // Peer is the URI of the upstream server - // Note that this exactly matches the "ProxyEndpoint" key in the WireGuard config - Peer string `json:"peer"` -} - // Configuration is the configuration that you get back when you call the get config function type Configuration struct { // VPNConfig is the VPN Configuration, a WireGuard or OpenVPN Configuration @@ -190,9 +178,6 @@ type Configuration struct { DNSSearchDomains []string `json:"dns_search_domains,omitempty"` // ShouldFailover returns whether or not the client should attempt to failover ShouldFailover bool `json:"should_failover"` - // Proxy returns information for proxied VPN connections - // If this is non-nil a proxy must be started using StartProxyguard - Proxy *Proxy `json:"proxy,omitempty"` } // Current is the struct that defines the current server |
