Hello, i have been trying to get openvpn working on the raspberry pi 3 for a few days now.
When i try to connect to the vpn service (offered by freevpn.me) i run into the same error every time.
"Bad compression stud decompression header byte: 42". From reading the forums there was a mention that this is an issue in openvpn 2.4.
I have been trying to install openvpn v2.3.17 however when running the make command i run into another error:
crypto.h:437:12: error: field ‘ctx’ has incomplete type
md_ctx_t ctx;
again the forums told me there is an issue with openssl v1.1.0, so i built openssl 1.0.21 from source and i dont get any errors when i run "make install".
I created a link between /usr/local/ssl/bin to /usr/local/openssl as it was not created by default. after running openssl version shows i am running openssl version 1.0.21
Trying again to build openvpn still gives same error.
im pretty much at a loss of what to do here, there seems to be no way to get it working
any solutions to install openvpn correctly on the Raspberry pi 3 and connect to a vpn server ?
freevpn.me - Installation and setup on Raspberry Pi 3
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 3
- Joined: Fri Aug 25, 2017 3:17 pm
-
- OpenVPN Protagonist
- Posts: 11138
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Installation and setup on Raspberry Pi 3
The wrong --comp-lzo setting.AceScottie wrote:"Bad compression stud decompression header byte: 42"
See --comp-lzo in The Manual v24x
-
- OpenVpn Newbie
- Posts: 3
- Joined: Fri Aug 25, 2017 3:17 pm
Re: Installation and setup on Raspberry Pi 3
I did not create the config file and there is no mention of com-lzo in there. however i did build lzo from source with PAM and SSL and adding "comp-lzo no" "comp-lzo yes" or "comp-lzo adaptive" in the config make no difference to the compression stub errorTinCanTech wrote:The wrong --comp-lzo setting.AceScottie wrote:"Bad compression stud decompression header byte: 42"
See --comp-lzo in The Manual v24x
config:
Code: Select all
client
dev tun
proto tcp
remote 51.15.151.165 443
resolv-retry infinite
nobind
persist-key
persist-tun
auth-user-pass /etc/openvpn/host
comp-lzo no
push "comp-lzo no" ##just added
verb 3
cipher AES-128-CBC
pull
route-delay 2
redirect-gateway
remote-cert-tls server
ns-cert-type server
-
- OpenVpn Newbie
- Posts: 3
- Joined: Fri Aug 25, 2017 3:17 pm
Re: freevpn.me - Installation and setup on Raspberry Pi 3
can someone please help.
where is comp-lzo being set ? its not in my config file and google is useless in telling me if openvpn has an actual config file hidden somewhere.
http://prntscr.com/gf49qh
where is comp-lzo being set ? its not in my config file and google is useless in telling me if openvpn has an actual config file hidden somewhere.
http://prntscr.com/gf49qh
-
- OpenVPN Protagonist
- Posts: 11138
- Joined: Fri Jun 03, 2016 1:17 pm
Re: freevpn.me - Installation and setup on Raspberry Pi 3
Contact freevpn.me
Or you can pay me if you really want.
Or you can pay me if you really want.
- dazo
- OpenVPN Inc.
- Posts: 155
- Joined: Mon Jan 11, 2010 10:14 am
- Location: dazo :: #openvpn-devel @ libera.chat
Re: freevpn.me - Installation and setup on Raspberry Pi 3
Please provide complete logs of both server and client, and also the server configuration. So we can align them better. Logs need to be generated with --verb 4 in server and client configuration.
I must say that this smells a lot like a misconfiguration as TinCanTech suggested with --comp-lzo ... but the complete logs and configs will help understand this better.
Update: Btw, just noticed now that you're talking about using freevpn.me .... you might get better support by contacting them in such situations. It is needed to see the server side to correlate these kind of errors. If you don't have your own server, it is best to contact the service provider for help.
I must say that this smells a lot like a misconfiguration as TinCanTech suggested with --comp-lzo ... but the complete logs and configs will help understand this better.
Update: Btw, just noticed now that you're talking about using freevpn.me .... you might get better support by contacting them in such situations. It is needed to see the server side to correlate these kind of errors. If you don't have your own server, it is best to contact the service provider for help.
-
- OpenVPN Protagonist
- Posts: 11138
- Joined: Fri Jun 03, 2016 1:17 pm
Re: freevpn.me - Installation and setup on Raspberry Pi 3
This forum does not provide support for online VPN service providers, Paid or Free.
Please contact you VPN service provider via their support system.
Please contact you VPN service provider via their support system.