From 3d2a36040154be8a51326f0228d2a07790ff1b5b Mon Sep 17 00:00:00 2001 From: "Quentin McGaw (desktop)" Date: Mon, 13 Sep 2021 15:56:25 +0000 Subject: [PATCH] Fix: remove OpenVPN compression (PIA, torguard) --- internal/provider/privateinternetaccess/openvpnconf.go | 1 - internal/provider/torguard/openvpnconf.go | 1 - 2 files changed, 2 deletions(-) diff --git a/internal/provider/privateinternetaccess/openvpnconf.go b/internal/provider/privateinternetaccess/openvpnconf.go index 5e16b205..cb8eebbc 100644 --- a/internal/provider/privateinternetaccess/openvpnconf.go +++ b/internal/provider/privateinternetaccess/openvpnconf.go @@ -48,7 +48,6 @@ func (p *PIA) BuildConf(connection models.Connection, // PIA specific "reneg-sec 0", "disable-occ", - "compress", // allow PIA server to choose the compression to use "ncp-disable", // prevent from auto-upgrading cipher to aes-256-gcm // Added constant values diff --git a/internal/provider/torguard/openvpnconf.go b/internal/provider/torguard/openvpnconf.go index 1079cd16..73b0e1b7 100644 --- a/internal/provider/torguard/openvpnconf.go +++ b/internal/provider/torguard/openvpnconf.go @@ -40,7 +40,6 @@ func (t *Torguard) BuildConf(connection models.Connection, "key-direction 1", "script-security 2", "ncp-disable", - "compress", "keepalive 5 30", "sndbuf 393216", "rcvbuf 393216",