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: Private Internet Access Open VPN Setup

  1. #1

    Title
    Junior Member
    Join Date
    Apr 2013
    Posts
    14
    Thanks
    4
    Thanked 11 Times in 1 Post

    Lightbulb Private Internet Access Open VPN Setup

    Hi All, Just thought I'd post this after 3 days of racking my brain and many failed attempts at setting up Open VPN with Private Internet Access on my VU+ Duo2.

    First off you'll need an account with PIA

    Secondly you'll need this file:-
    openvpn.zip (Downloaded from PIA's website)

    Extract the contents of the zip, copy the two files *****.crt and *****.pem to a folder named openvpn

    next you'll need to choose one of the *****.ovpn (Your choose depends on what country you want to use)

    rename that *****.ovpn file to client.conf and open in notepad (TXT Editor)

    It will look a bit garbled but edit it to look like this:- "I Used US-California OVPN File"

    client
    dev tun
    proto udp
    remote us-california.privateinternetaccess.com 1198
    resolv-retry infinite
    nobind
    persist-key
    persist-tun
    cipher aes-128-cbc
    auth sha1
    tls-client
    remote-cert-tls server
    auth-user-pass
    comp-lzo
    verb 1
    reneg-sec 0
    crl-verify crl.rsa.2048.pem
    ca ca.rsa.2048.crt

    next you'll need to do a bit more editing so it will look like this:-

    client
    dev tun
    proto udp
    remote us-california.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

    Ok now save that file to the folder openvpn with the other two files earlier.

    now create a new txt file called password.txt
    log in to your web account with PIA and go to control panel and generate a "PPTP/L2TP/SOCKS Username and Password"
    copy that user and password to the password.txt file user on one line and pass on another like this:-

    4fd5ge6
    4d7ger4

    save that to openvpn folder

    then save the folder somewhere safe.

    install openvpn on your box under menu setup network openvpn
    let the box reboot

    copy the 4 files in your openvpn folder to your box root/etc/openvpn/

    start openvpn from box and you're done.

    ENJOY !!!!

  2. The Following 11 Users Say Thank You to excalibre For This Useful Post:

    + Show/Hide list of the thanked

    Bangord30 (06-10-16),cwebb66 (06-10-16),dfox (19-07-16),gazza97 (15-10-16),Giveusalook (21-12-17),jamesjay (23-07-16),johnrichard (07-12-16),khan888 (20-07-16),kokojnr (06-12-16),widar (06-10-16)

  3. #2

    Title
    Senior Member
    Join Date
    Nov 2011
    Posts
    201
    Thanks
    12
    Thanked 13 Times in 13 Posts
    Quote Originally Posted by excalibre View Post

    now create a new txt file called password.txt
    log in to your web account with PIA and go to control panel and generate a "PPTP/L2TP/SOCKS Username and Password"
    copy that user and password to the password.txt file user on one line and pass on another like this:-

    4fd5ge6
    4d7ger4
    Hi. Great post and thanks for sharing.
    However, can you tell me why you'd use the socks proxy password and username instead of your "normal" login? I don't get it!

    Regards,
    Spooof

  4. #3

    Title
    Junior Member
    Join Date
    Mar 2015
    Posts
    17
    Thanks
    3
    Thanked 0 Times in 0 Posts
    I am banging my head against the wall trying to get this to work. Followed everyting to the letter but the VPN still states stopped. Any ideas guys?

  5. #4
    dfox's Avatar
    Title
    Forum Supporter
    Donated Member
    Join Date
    Nov 2012
    Posts
    441
    Thanks
    111
    Thanked 40 Times in 36 Posts
    Quote Originally Posted by gazza97 View Post
    I am banging my head against the wall trying to get this to work. Followed everyting to the letter but the VPN still states stopped. Any ideas guys?
    Daft question but have you restarted the box and pressed green to start.

  6. #5

    Title
    Junior Member
    Join Date
    Mar 2015
    Posts
    17
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Yes. The strange thing is that I can get it working on my VU+Duo2 fine. But using exactly the same files put into the same location on another box which is unsupported on this forum it does not work??
    Guess it shows that cheap clones are not always as good value in the long run.

    As I now have this working on a supported device mods can close the thread as I realise there is no support for clone boxes on this forum.

  7. #6
    kokojnr's Avatar
    Title
    Senior Member
    Join Date
    Jul 2016
    Posts
    320
    Thanks
    10
    Thanked 30 Times in 26 Posts
    Thanks a lot for this guide, i have just used it to set up my PIA VPN

  8. #7

    Title
    Junior Member
    Join Date
    Dec 2014
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts
    I am also using PIA for my vpn. I've tried to setup openvpn using this method and I can get the status to go green and "running" but the box wont talk to the outside world. if I telnet in and type wget -qO- http://ipecho.net/plain;echo it returns nothing, try the same thing when openvpn is stopped and I get my Virmin Media ip. Could it be the superhub ? did you do any port forwarding to get it to work ?
    My box is vu duo2 running latest vix.

  9. #8

    Title
    Member
    Join Date
    Feb 2012
    Location
    Scotland
    Posts
    36
    Thanks
    15
    Thanked 7 Times in 3 Posts
    Quote Originally Posted by esspee View Post
    I am also using PIA for my vpn. I've tried to setup openvpn using this method and I can get the status to go green and "running" but the box wont talk to the outside world. if I telnet in and type wget -qO- http://ipecho.net/plain;echo it returns nothing, try the same thing when openvpn is stopped and I get my Virmin Media ip. Could it be the superhub ? did you do any port forwarding to get it to work ?
    My box is vu duo2 running latest vix.
    I get the same, stopping vpn and all is fine, Anyone out there have a solution, I'm using Vu+duo2 with latest vix image. Thanks Robert

  10. #9

    Title
    Member
    Join Date
    Sep 2015
    Posts
    32
    Thanks
    0
    Thanked 6 Times in 4 Posts
    When setting up a VPN, you can run into quite a few problems like what authentication it needs, which password do you use. If you are using a Virgin Media SuperHub you have the added challenge that by default your speedy SuperHub will block outgoing VPN traffic meaning that with all the correct details it just doesn't work. To fix this, just follow the below steps:

    Browse to your SuperHub's IP Address (e.g. 192.168.0.1) and log in
    Select "Advanced Settings" and click "Yes" to confirm you want to view these
    Select "Firewall" from the list
    Tick "IPSec Pass-Through", "PPTP Pass-Through" and "Multicast Pass-Through" at the bottom of the page
    Click "Yes" to confirm settings change
    Try to connect your VPN again.
    This allows the traffic through for VPN authentication and should now allow your VPN to connect as normal.

    Sent from my SM-N9005 using Tapatalk

  11. The Following 3 Users Say Thank You to lxt1024 For This Useful Post:

    Bangord30 (17-04-17),cwebb66 (18-04-17),johnrichard (18-04-17)

  12. #10
    scousertony73
    Hi guys, do I need to make a folder on the box called 'openvpn'? I have installed it via network, install.... but cannot see a folder in etc/openvpn
    closest thing to it, is etc/opkg
    please help!

  13. #11
    kokojnr's Avatar
    Title
    Senior Member
    Join Date
    Jul 2016
    Posts
    320
    Thanks
    10
    Thanked 30 Times in 26 Posts
    Quote Originally Posted by scousertony73 View Post
    Hi guys, do I need to make a folder on the box called 'openvpn'? I have installed it via network, install.... but cannot see a folder in etc/openvpn
    closest thing to it, is etc/opkg
    please help!
    You need to create the folders

    Sent from my Moto G (4) using Tapatalk
    Edision OS MEGA TRIPLE TUNER COMBO
    Edision OS MINI+ Plus

    Formuler F1
    Triviar Alpha

  14. #12

    Title
    Member
    Join Date
    Apr 2016
    Posts
    50
    Thanks
    3
    Thanked 5 Times in 5 Posts
    Many thanks for your detailed instructions, up and running in no time.

    Cheers.

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.