Openvpn enigma2 setup guide

There are 71 replies in this Thread which was already clicked 39,079 times. The last Post () by portinho.

  • This is a guide for setting up a free openvpn service that im using on my vu+ duo2 on vix image,
    not to sure if the same principle is used for other images but i cant imagine that it would be much different.


    You can use the same method here for any openvpn service (paid or free)
    If you use 'Private tunel.com' leave out the 'login.conf' file
    If you use 'Hide My Ass' then make sure you dont have it running on your computer at the same time
    as on your receiver, to be sure of this go to 'Task Manager' on your computer and end the 'HMA' task.
    If you are for using a free vpn service like myself then be sure to check the 'password' from time to time
    as it changes to prevent abuse. Simply edit your 'login.conf' file to change your password (explained more later)


    1 : Firstly ensure you have DCC.exe (dreambox control centre) or VCC.exe (vu+ control centre by Lee Hudson) installed
    on your pc or laptop. I use VCC.

    2 : Next download notepad++ onto your computer (this will be used to make the files)


    3 : Make a new folder on your computer and name it 'Openvpn files' save it in documents


    4 : Go to freevpn.me and download the certificates bundle in Accounts. Open with 7-zip file manager and
    extract the first file and open it in notepad++


    5 : <<ca>> Copy the ca.crt from and including ----begin certificate--- to -----end certificate--- and paste it onto a new page
    in nopepad++ . go to 'save as' and save it into the new folder you created named 'Openvpn files'. Name the file 'ca.crt' and
    in the 'save as type' select 'all files'


    6 : <<cert>> copy and paste the .crt file and save it as 'user.crt' save as 'all files'


    7 : <<key>> copy the key files and save it as 'user.key' also save as 'all files'


    8 : open a new page in notepad++ and put the username and password on it, (this is found on the freevpn.me webpage)
    type the user name first and then press enter and then type the password. eg.


    freevpnme
    Bcxns7dH


    name this file 'login.conf' save as 'all files'


    9 : delete the <<ca>> <<cert>> <<key>> files from original document that you downloaded


    10 : edit the original document and add


    ca user.crt
    cert user.crt
    key user.key


    11 : edit the line auth-user-pass and change to


    auth-user-pass login.conf


    12 : go to 'save as' and rename the document to 'openvpn.conf' and save as 'all files'
    be sure to save in the same folder as the rest of the files. (Openvpn files)

    you now have all the files you need, your 'openvpn.conf' should look something like

    client
    dev tun1
    proto tcp
    remote <IP> <PORT>
    resolv-retry infinite
    nobind
    persist-key
    persist-tun
    auth-user-pass login.conf
    comp-lzo
    verb 3
    cipher AES-128-CBC
    fast-io
    pull
    route-delay 2
    redirect-gateway
    ca ca.crt
    cert user.crt
    key user.key


    13 : open VCC.exe on your computer and connect to you box.


    14 : On the 'control panel' go to 'FTP' this will open up 'File Zilla'


    15 : The screen is split in half, on the left are documents from your computer and on the right
    are documents from your receiver box


    16 : Go to 'documents' on your computer and open the folder you made 'openvpn files'


    17 : Go to the other side and open the 'etc' folder on your box, scroll down and open the 'openvpn' folder


    18 : It should be empty if not delete whatever is in it


    19 : Back over to the left side and either double click on the files you made to transferr them to the 'openvpn' folder
    or drag them over.


    20 : you are now set up and ready to go


    21 : Get your remote control and press 'menu' go to 'setup' 'system' 'network' 'openvpn setup'


    22 : press 'green' to start the vpn and press 'yellow' to enable autostart


    23 : exit out of everything and reboot your receiver


    24 : you should be good to go, try accessing something that was blocked by your ISP


    25 : to check the external ip of your receiver go to VCC.exe on your computer and go to Telnet


    26 : type in the following command



    wget -q -O - http://ip.serdit.ro | grep "IP address is"


    you can google the ip address to see where it comes from


    ##if you noticed that you dont have a 'openvpn' folder on your box then go to 'Telnet' and type in the following command


    opkg install openvpn


    if this has helped you please give a like and if you need futher help let me know and ill try my best!
    GOOD LUCK and happy streaming!!!

  • Thanks buddy, just tried your guide and it works like a treat.
    I didn't delete everything in etc\OpenVPN folder and I left the keys folder as it was in VU Solo2 and deleted the rest of the files, otherwise OpenVPN won't start.
    Admin: it might be useful as sticky on the forum.

    VU+ SOLO2, VIX(latest image) Technomate TM-2600 Super Motor(28.2E - 30W), Triax Dish 1.1m.

  • hi am using vu+solo2 se and i can not get openvpn to connect it says stopped but in openvpn panel i am able to set it to active/autotart enabled but wont connect ???

    Edited once, last by mesorry ().

  • what openvpn provider are you using? are you sure you have created all the necessary files and saved them as 'all files'? this ensures that they save as either security cerificates or key files/conf files rather than just a txt file. Have you copied your certificate and key files correct? strating from and including -----begin certificate---- and ending at -------end certificate-----

  • sorry for late reply but yes did all that mate will have another go though just in case i missed something let you know how i get on

  • Thanks for the very clear guide paddyh, I am having the same problem as mesorry I can set to auto start but am unable to get the VPN to start. I am using the same provider as you on BH 2.1.3. VU+ Duo.


    In point 10 you say "edit and add files to original document" is this a copy and paste job?


    In my etc/openvpn I have some individual files and a folder named "keys" I deleted only the files and replaced with the newly created files. Is it recommended to delete the keys folder as well?
    Once again thanks for this guide.

  • you dont have to delete the keys files you can leave them there it wont matter. (not to complicate things, but your actually supposed to put the ca.crt, user.crt and user.key files into the keys folder, then on the original document your supposed to add into it,
    ca ./keys/ca.crt
    cert ./keys/user.crt
    key ./keys/user.key


    then when your reciever goes to look for the files it understands that there in the key folder... but to make it simple i decided not to put the files in the key folder but to just put them in the same folder as the rest of the files ie the openvpn folder. so all you need to do is add


    ca user.crt
    cert user.crt
    key user.key


    to the original document.) can you see the difference? so on step 10 yes just copy and paste
    ca user.crt
    cert user.crt
    key user.key
    and add it to your original document (openvpn.conf)
    it should then look something like point 12.


    as for the vpn not starting and stopping try this
    1. go to notepad++ and make a new document
    2. copy and paste the following command into it
    /etc/init.d/openvpn start
    3. go to save as and name the file 'start_vpn' and save it as 'all files' (it should just save as 'file')
    4. go to VuCC and transferr the file into your openvpn folder on your reciever via FTP
    5. you also need to make a file to stop the vpn, so go back to notepad++ and open a new document and copy and paste the following command
    /etc/init.d/openvpn stop
    go to save as and name the document 'stop_vpn' and save as 'all files'
    6. go to VuCC and transferr the file into your openvpn folder on your reciever via FTP
    7. reboot your reciever and you should now be able to start and stop the vpn by pressing the green button on your control


    you can also put them commands into telnet in VuCC and they should start and stop the vpn


    - - - Updated - - -


    When you type the commands via telnet you might notice it says ' error login failed' but if you check it out on your reciever you will notice that it has indeed actually started. dont no why it does that but the main thing is that it works!!


    ps to let youy know if you are using a vpn service that has a lot of servers in different parts of the world you can add more than one to your 'openvpn.conf' to do this copy and paste them onto the document putting them below the remote <ip> <port> and above the whole lot type 'remote-random' and every time you connect to your vpn your reciever will pick one at random. this is useful because sometimes some servers are slower than others as they are futher away or too many people using them at the same time! an example of what your file would look like is


    remote-random
    remote x.x.x x.x x.x. x x.x.x
    remote x.x.x x.x x.x x x.x.x
    remote x.x.x x.x x.x x x.x.x
    remote x.x.x x.x x.x x x.x.x

    Edited once, last by paddyh ().

  • Thanks very much with your instructions I got it up and running on my solo 2. .. Unfortunately after 10 mins the site's were blocked again ... have u any suggestions ... I tried telenet on dcc to find what my ip address said but couldn't get the ip address up ?? I really don't have much of a clue and any help is appreciated Thanks

  • good to hear you got it up and working, if you try a different openvpn provider by googling free openvpn or even go for a paid one there not that expensive really. Before you do anything else i would check to see if the password has changed on the site, as they change every other day/week to prevent missuse and overloading, so maby your login.conf needs updated!

  • Yeah I checked password and user and all's ok .. I tried using a diffrent free vpn and the same happens sites still blocked but when I Googled more i found out my *** hub router and *** isp might be the problem .... I phoned *** and they said there is a way to configure the hub but they can't tell me but I can't find any info on the Web &#128547;

  • not to sure whats going on there. another option for you to view blocked sites is to use a proxy, there are tuturials on this site by master g on the topic. another option is to buy a router flashed with dd-wrt on it and connect it to your network. you can buy one on ebay for 10-20 pound. do a bit of googling on dd-wrt routers, be aware one type uses pptpvpn and another uses openvpn. good luck!!


    - - - Updated - - -


    are you sure that your using a vpn from a different country? for example on freevpn.me there is a UK vpn and a US vpn make sure your using the US vpn

  • Paddyh just an update for any 1 else reading ... I updated my blackhole image from 2.1.1 to 2.1.4 and followed your instructions and boom it's working, watching icefilms and 1 channel on tsmedia and not using any proxys &#128077;

  • thats great news, so all along it was an image issue! i use openvix and im on the latest image and everything works great, the only thing im doing different now is im paying for my openvpn account rather than using the free ones as i found that yes they work grand but from time to time they tend to be a bit slow, although if you downloaded the movie or series this wouldnt be an issue. glad you got it sorted and if anyone else reading are having problems do what rickymac028 did and update your image!

  • Hi Paddyh,


    You mean "If you use 'Private tunel.com' leave out the 'login.conf' file" like my case it´s just do delete all:
    <ca> </ca>, <cert> </cert>, <key> </key> and create it in different files?
    It´s not necessary to create this "auth-user-pass login.conf"?

  • hi addyboss
    it has been a while from i used private tunnel, as far as i can remember you do not need the login.conf file as your login details are on the certificates that you download from private tunnel and your vu+ will recognise this when set up following the rest of the instructions. I have my vpn set up a good while now and i havent had to adjust anything since, for me its now just a matter of pressing the green button to start and stop the service as needed, and it works like a dream, im a bit rusty on the topic now! im by no means an expert on the topic, i was having difficulty setting it up myself at the start and after doing a lot of research i managed to get it up and running so i decided to put a step by step guide up to help others who are having problems. If you follow the steps one by one im quite sure you will get it working. best of luck!

  • Tks paddyh,


    This is working now. In your opinion or your usage. Witch VPN Service can you advice to use?
    You can send me a PM if you want to.


  • I've been looking at how to get into this for a while and this is by far the clearest guide I've come across so hats off to you paddyh!


    freevpnme looks to have changed its system and no longer has the certificates bundle to download. eg:


    OpenVPN
    Username: freevpnme
    Password: Knr7FGwv5
    TCP 80, 443
    UDP 53, 40000
    Unlimited Bandwidth
    Torrents Allowed
    No Logging


    is it possible to create these files individually or does this method no longer work?

    Even the longest journey begins with the first step...

  • hi mcrRed
    yeh i had a quick look at freevpn.me and yes your right it does look like they have changed things. I looked at VPNBOOK which is another free openvpn site and you can download the required certificates there. If you follow my method it all still works. I personaly dont use the free vpns i now pay for one, only reason being is because i just set it up and now i dont have to touch it, no messing around changing passwords n dat (just lazyness lol) the free ones work just as good thou. i noticed that the showbox app is now on tsmedia and you dont need a vpn to get it working. ps thanks for the compliment and the thanks!! appreciated!

Your hub for IPTV & streaming support.

Get help with Android apps, Smart TV setup, m3u playlists, channel lists, and finding reliable live streaming websites. Master IPTV streaming on all devices. Find downloads, setup tutorials, and community support for apps, Smart TVs, and m3u channel lists.