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 /internal/api/api.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 'internal/api/api.go')
| -rw-r--r-- | internal/api/api.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/internal/api/api.go b/internal/api/api.go index 7111c45..4ee82b0 100644 --- a/internal/api/api.go +++ b/internal/api/api.go @@ -233,8 +233,6 @@ type ConnectData struct { Protocol protocol.Protocol // Expires tells us when this configuration expires Expires time.Time - // Proxy is filled when WireGuard is proxied - Proxy *wireguard.Proxy } // see https://github.com/eduvpn/documentation/blob/v3/API.md#request-1 @@ -338,7 +336,7 @@ func (a *API) Connect(ctx context.Context, prof profiles.Profile, protos []proto }, nil } - vpnCfg, proxy, err := wireguard.Config(vpnCfg, wgKey, proto == protocol.WireGuardProxy) + vpnCfg, err = wireguard.Config(vpnCfg, wgKey) if err != nil { return nil, err } @@ -346,7 +344,6 @@ func (a *API) Connect(ctx context.Context, prof profiles.Profile, protos []proto Configuration: vpnCfg, Protocol: proto, Expires: expT, - Proxy: proxy, }, nil } |
