Page 1 of 1

freevpn.me - Installation and setup on Raspberry Pi 3

Posted: Fri Aug 25, 2017 3:37 pm
by AceScottie
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 ?

Re: Installation and setup on Raspberry Pi 3

Posted: Fri Aug 25, 2017 3:54 pm
by TinCanTech
AceScottie wrote:"Bad compression stud decompression header byte: 42"
The wrong --comp-lzo setting.

See --comp-lzo in The Manual v24x

Re: Installation and setup on Raspberry Pi 3

Posted: Fri Aug 25, 2017 4:33 pm
by AceScottie
TinCanTech wrote:
AceScottie wrote:"Bad compression stud decompression header byte: 42"
The wrong --comp-lzo setting.

See --comp-lzo in The Manual v24x
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 error

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

Re: freevpn.me - Installation and setup on Raspberry Pi 3

Posted: Wed Aug 30, 2017 9:18 pm
by AceScottie
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

Re: freevpn.me - Installation and setup on Raspberry Pi 3

Posted: Wed Aug 30, 2017 9:30 pm
by TinCanTech
Contact freevpn.me


Or you can pay me if you really want.

Re: freevpn.me - Installation and setup on Raspberry Pi 3

Posted: Wed Sep 06, 2017 3:53 pm
by dazo
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.

Re: freevpn.me - Installation and setup on Raspberry Pi 3

Posted: Wed Sep 27, 2017 1:06 pm
by TinCanTech
This forum does not provide support for online VPN service providers, Paid or Free.

Please contact you VPN service provider via their support system.