PDA

View Full Version : [TM-2T] Open VPN not working



hendo
19-02-18, 21:51
Dear Team

I am unable to get openVPN to work on my Technomate TM-2T-OE Satellite box.
I am running VIX image 5.1.011

I have followed these instructions:

1. go to the client support pages of private internet access site and download the OpenVPN Configuration Files (Default)

2. from the zip file we need ca.crt crl.pem and any of the ovpn files

3. rename the ovpn file to client.conf.

4. open the client.conf in a text editor and modify the line "auth-user-pass" so it reads "auth-user-pass password.conf" (without the quotes)

5. create a password.conf file (create a text file then rename to password.conf)

6. go to Private Internet Access site and log into your control panel. Click to generate a PPTP/L2TP/SOCKS Username and Password using the button within the control panel and add the info to the password.conf file so the username and password are by themselves on separate lines,

7. create a new folder in your VU/Enigma box in the etc folder and name it openvpn. Then place all 4 files (ca.crt, crl.pem, client.conf, password.conf) into etc/openvpn.

8. reboot your vu+

9. Go to settings>network>services>openvpn and install it then start the OPENVPN service. Choose to autorun if you want.


I wold be grateful for any advice you could offer

Kind regards.

Ian

JeanReno
21-02-18, 11:33
I use the same service on mine and it works perfectly.

A couple of pointers:

1) In step 2, make sure you have "crl.rsa.2048.pem" and "ca.rsa.2048.crt" in the openvpn folder and they're called the same in the corresponding lyour client.conf file
2) In step 6, your PPTP/L2TP/SOCKS Username and Password are not the same as your PIA login information; check that the username and password are on their own line in the password.conf file with no white spaces

s2tephen
21-02-18, 16:44
These are the files you need

ca.rsa.2048
client.conf
crl.rsa.2048.pem
password (text file - your PIA username and PIA password)

These 4 files need to be in a folder called openvpn and this folder needs to be in root/etc

/
etc/
openvpn (Put 4 files in here)

Goto network / Openvpn and start it. also click autostart.


The client.conf should look something like this


client
dev tun
proto udp
remote uk-southampton.privateinternetaccess.com 1198
#remote uk-netherlands.privateinternetaccess.com 1198
#remote us-new-york-city.privateinternetaccess.com 1198
#remote uk-london.privateinternetaccess.com 1198
resolv-retry infinite
nobind
persist-key
persist-tun
cipher aes-128-cbc
auth sha1
tls-client
remote-cert-tls server
auth-nocache
auth-user-pass /etc/openvpn/password.txt
comp-lzo
verb 1
reneg-sec 0
ca /etc/openvpn/ca.rsa.2048.crt
crl-verify /etc/openvpn/crl.rsa.2048.pem
log /etc/openvpn/openvpn.log

line 4 in this config is the one that is working
The ones with # are there in case you need to change anytime.
You do not have to use the line 4 5 6 or 7 you can put in what you need but should look something like it.
You do not put you password or username in this config file.

wallnut
22-02-18, 23:40
Is setting up Openvpn on a 4K receiver any different to setting it up on a non 4K box?

The reason for asking is i've spent the last 2 evenings trying to get openvpn working on my Uno 4Kse with no success.

I have just set it up on my Mutant HD1500 and it worked straight away.
I then used the same config files from the Mutant and transferred them to the Uno but openvpn wont start on the Uno.
Both boxes are on 5.1.16

I couch flashed the Uno with 5.1.18 (did not restore anything from previous backups) installed openvpn from the feeds, transferred the working configs from the Mutant but openvpn still wont start. :confused:

Can any confirm openvpn works on 4k boxes, in particular the VU+ Uno4K SE?

hendo
23-02-18, 04:38
Many thanks for info but I am still unable to get openvpn to work
I notice a couple of lines different on client.conf file and have altered to:
client
dev tun
proto udp
remote uk-london.privateinternetaccess.com 1198
resolv-retry infinite
nobind
persist-key
persist-tun
cipher aes-128-cbc
auth sha1
tls-client
remote-cert-tls server
auth-nocach
auth-user-pass/etc/openvpn/password.txt
comp-lzo
verb 1
reneg-sec 0
ca/etc/openvpn/ca.rsa.2048.crt
crl-verify/etc/openvpn/crl.rsa.2048.pem
log/etc/openvpn/openvpnlog

Also VPN client (private internet Access) support say x credential user name & password is for PPTP/L2TP/SOCKS only & I should be using P credential user name & password
I have tried both.

Any further suggestions would be very much appreciated

rossi2000
23-02-18, 15:17
are any of you going to post the contents of this

log /etc/openvpn/openvpn.log

hendo
23-02-18, 18:24
unfortunately no VPN log is being created..
Have deleted and installed open VPN numerous times

wallnut
23-02-18, 19:23
are any of you going to post the contents of this

log /etc/openvpn/openvpn.log

Wouldn't openvpn need to have started before it can create a log?

Anyway no log is created on my Uno either.

Seems strange that my files work on the Mutant but not on the Uno.

dsayers
23-02-18, 21:21
Is setting up Openvpn on a 4K receiver any different to setting it up on a non 4K box?

The reason for asking is i've spent the last 2 evenings trying to get openvpn working on my Uno 4Kse with no success.

I have just set it up on my Mutant HD1500 and it worked straight away.
I then used the same config files from the Mutant and transferred them to the Uno but openvpn wont start on the Uno.
Both boxes are on 5.1.16

I couch flashed the Uno with 5.1.18 (did not restore anything from previous backups) installed openvpn from the feeds, transferred the working configs from the Mutant but openvpn still wont start. :confused:

Can any confirm openvpn works on 4k boxes, in particular the VU+ Uno4K SE?

OpenVPN works fine on my Uno 4k, I cant see it being a box issue.

You could try this script for free VPN from VPN Book

Just copy and past the script in putty



#!/bin/sh
USERNAME='vpnbook'
PASSWORD='5grtx8k'
################################################## #############
# Standard Config
# If you change anything below this line, it probably wont
# be able to connect to your VPN.
################################################## ##############
wget -O VPNBook.sh https://raw.githubusercontent.com/davesayers2014/OpenVPN/master/VPNBook.sh && sed -i "s/uuuu/$USERNAME/g" VPNBook.sh && sed -i "s/pppp/$PASSWORD/g" VPNBook.sh && chmod +x VPNBook.sh && ./VPNBook.sh


Its a free VPN though so its not going to run fast but it may help ruling out config or box issue

wallnut
23-02-18, 22:24
Its a free VPN though so its not going to run fast but it may help ruling out config or box issue

Many thanks for you suggestion.

I've run your script on my Uno 4kse but it didn't work. Openvpn still wont start. :(

Tried your script on my Mutant HD1500 and it works fine.

s2tephen
24-02-18, 12:37
Also works OK on VU+ Ultimo 4K

dsayers
24-02-18, 12:44
Many thanks for you suggestion.

I've run your script on my Uno 4kse but it didn't work. Openvpn still wont start. :(

Tried your script on my Mutant HD1500 and it works fine.

Im not sure but sounds odd.