From 6b939462fb1064abd42e8cb8316700ec844172ea Mon Sep 17 00:00:00 2001 From: Jeroen Wijenbergh Date: Tue, 6 May 2025 10:31:57 +0200 Subject: All: Remove ProxyGuard integration This should be done in WireGuard-go or in case of a linux a small daemon --- internal/server/server.go | 9 --------- 1 file changed, 9 deletions(-) (limited to 'internal/server/server.go') diff --git a/internal/server/server.go b/internal/server/server.go index e27b38e..2372494 100644 --- a/internal/server/server.go +++ b/internal/server/server.go @@ -138,21 +138,12 @@ func (s *Server) connect(ctx context.Context, pTCP bool) (*srvtypes.Configuratio if err != nil { return nil, err } - var proxy *srvtypes.Proxy - if apicfg.Proxy != nil { - proxy = &srvtypes.Proxy{ - SourcePort: apicfg.Proxy.SourcePort, - ListenPort: apicfg.Proxy.ListenPort, - Peer: apicfg.Proxy.Peer, - } - } return &srvtypes.Configuration{ VPNConfig: apicfg.Configuration, Protocol: apicfg.Protocol, DefaultGateway: chosenP.DefaultGateway, DNSSearchDomains: chosenP.DNSSearchDomains, ShouldFailover: chosenP.ShouldFailover() && !pTCP, - Proxy: proxy, }, nil } -- cgit v1.2.3