binhex / arch-qbittorrentvpn

Docker build script for Arch Linux base with qBittorrent, Privoxy and OpenVPN
GNU General Public License v3.0
443 stars 47 forks source link

Problems with latest release #174

Open dooniem opened 1 year ago

dooniem commented 1 year ago

Hi. I believe I started having problems as of the latest release, 1st of April? I can't connect to any trackers before i disable the VPN. When VPN is enabled my log is full of: 2023-04-02 21:09:38,481 DEBG 'start-script' stdout output: 2023-04-02 21:09:38 Bad compression stub (swap) decompression header byte: 250

My googling returned something with bad OpenVPN config. But it's been working for years. Unless something you know of changed recently?

How can I help you help me with locating the problem?

I got CGNAT around new year, but i think since the VPN got port forwarding, all is good?

binhex commented 1 year ago

The issue is with your OpenVPN configuration file, remove comp-lzo line, save and restart container

dooniem commented 1 year ago

Hmmm. I remember removing that long time ago. So had nothing to remove. Generated a new config from my provider. The line "comp-lzo adaptive" is present. With that line, it works. Removing that line I get this continuous error: "write to TUN/TAP : Invalid argument (fd=-1,code=22)"

Right now this is working:

client
dev tun
proto udp
remote x.x.x.x 1912
remote-cert-tls server
auth SHA256
key-direction 1
setenv CLIENT_CERT 0
<tls-auth>
xxx
</tls-auth>
resolv-retry infinite
nobind
tls-version-min 1.2
cipher AES-256-CBC
auth-user-pass
comp-lzo adaptive
tun-mtu-extra 32

If removing comp-lzo, should I add or change something else as well?