summaryrefslogtreecommitdiff
path: root/internal/server/server.go
diff options
context:
space:
mode:
authorJeroen Wijenbergh <jeroen.wijenbergh@geant.org>2025-05-06 10:31:57 +0200
committerJeroen Wijenbergh <jeroen.wijenbergh@geant.org>2025-05-06 13:25:48 +0200
commit6b939462fb1064abd42e8cb8316700ec844172ea (patch)
treeb572daecdf0f25e3beec9883a8b7bb2522628212 /internal/server/server.go
parent347b20fc91505584bc9efbeca89590a411b95e79 (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/server/server.go')
-rw-r--r--internal/server/server.go9
1 files changed, 0 insertions, 9 deletions
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
}