freevpn.me - Installation and setup on Raspberry Pi 3

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Locked
AceScottie
OpenVpn Newbie
Posts: 3
Joined: Fri Aug 25, 2017 3:17 pm

freevpn.me - Installation and setup on Raspberry Pi 3

Post by AceScottie » Fri Aug 25, 2017 3:37 pm

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 ?

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Installation and setup on Raspberry Pi 3

Post by TinCanTech » Fri Aug 25, 2017 3:54 pm

AceScottie wrote:"Bad compression stud decompression header byte: 42"
The wrong --comp-lzo setting.

See --comp-lzo in The Manual v24x

AceScottie
OpenVpn Newbie
Posts: 3
Joined: Fri Aug 25, 2017 3:17 pm

Re: Installation and setup on Raspberry Pi 3

Post by AceScottie » Fri Aug 25, 2017 4:33 pm

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

AceScottie
OpenVpn Newbie
Posts: 3
Joined: Fri Aug 25, 2017 3:17 pm

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

Post by AceScottie » Wed Aug 30, 2017 9:18 pm

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

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

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

Post by TinCanTech » Wed Aug 30, 2017 9:30 pm

Contact freevpn.me


Or you can pay me if you really want.

User avatar
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

Post by dazo » Wed Sep 06, 2017 3:53 pm

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.

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

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

Post by TinCanTech » Wed Sep 27, 2017 1:06 pm

This forum does not provide support for online VPN service providers, Paid or Free.

Please contact you VPN service provider via their support system.

Locked