Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Results 1 to 12 of 12

Thread: Open VPN not working

  1. #1

    Title
    Junior Member
    Join Date
    Aug 2013
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Open VPN not working

    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

  2. #2
    JeanReno's Avatar
    Title
    Member
    Join Date
    Apr 2015
    Posts
    87
    Thanks
    20
    Thanked 15 Times in 12 Posts
    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
    Mut@nt HD2400 - 1TB HDD, 2x DVB-S/S2 + 1x DVB-C/T/T2

  3. #3

    Title
    Senior Member
    Join Date
    Jan 2013
    Location
    UK
    Posts
    337
    Thanks
    8
    Thanked 64 Times in 53 Posts
    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.
    Last edited by s2tephen; 21-02-18 at 16:51.

  4. #4
    wallnut's Avatar
    Title
    Member
    Join Date
    Dec 2013
    Posts
    93
    Thanks
    16
    Thanked 31 Times in 27 Posts
    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.

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

  5. #5

    Title
    Junior Member
    Join Date
    Aug 2013
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts
    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

  6. #6

    Title
    Moderator
    Join Date
    Jul 2010
    Posts
    4,684
    Thanks
    1,205
    Thanked 2,524 Times in 1,349 Posts
    are any of you going to post the contents of this

    log /etc/openvpn/openvpn.log
    Vu Ultimo4K, OpenViX 5.0, 8xdvb-c, 8xdvb-s2, 2xdvb-t2
    Vu Solo4K, OpenViX 5.0, 8xdvb-s2
    Dreambox DM900, OpenViX 5.0, 2xdvb-s2, 2xdvb-c/t2
    Terrestrial, Cable, Fixed 28.2e + Unicable2 LNB

  7. #7

    Title
    Junior Member
    Join Date
    Aug 2013
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts
    unfortunately no VPN log is being created..
    Have deleted and installed open VPN numerous times

  8. #8
    wallnut's Avatar
    Title
    Member
    Join Date
    Dec 2013
    Posts
    93
    Thanks
    16
    Thanked 31 Times in 27 Posts
    Quote Originally Posted by rossi2000 View Post
    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.

  9. #9
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,754
    Thanks
    472
    Thanked 606 Times in 432 Posts
    Quote Originally Posted by wallnut View Post
    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.

    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

    Code:
    #!/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

  10. #10
    wallnut's Avatar
    Title
    Member
    Join Date
    Dec 2013
    Posts
    93
    Thanks
    16
    Thanked 31 Times in 27 Posts
    Quote Originally Posted by dsayers View Post

    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.

  11. #11

    Title
    Senior Member
    Join Date
    Jan 2013
    Location
    UK
    Posts
    337
    Thanks
    8
    Thanked 64 Times in 53 Posts
    Also works OK on VU+ Ultimo 4K

  12. #12
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,754
    Thanks
    472
    Thanked 606 Times in 432 Posts
    Quote Originally Posted by wallnut View Post
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.