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.
Page 5 of 5 FirstFirst ... 345
Results 61 to 71 of 71

Thread: VPN Using Private Internet Access

  1. #61

    Title
    Forum Supporter
    Donated Member
    Join Date
    Jun 2014
    Posts
    1,321
    Thanks
    612
    Thanked 418 Times in 270 Posts
    On my solo2, I've just looked at the entry in that file and it contains gateway address for my router - not any external DNS addresses.

    Maybe because it's VM!?!?

  2. #62
    johnnym's Avatar
    Title
    Forum Supporter
    Donated Member
    Join Date
    Oct 2012
    Posts
    45
    Thanks
    11
    Thanked 3 Times in 3 Posts
    I have been using it for a year with no problems

  3. #63

    Title
    Junior Member
    Join Date
    Feb 2014
    Posts
    1
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Question

    Hi folks,

    Is there any way to restrict internet traffic thru the OpenVPN?

    By this way, the Box only have internet traffic if OpenVPN is UP. That's for when VPN is down, it will cut the internet traffic.

    That's what i want......

    How can we do this?

    Regards

  4. #64

    Title
    Junior Member
    Join Date
    Aug 2015
    Posts
    5
    Thanks
    5
    Thanked 2 Times in 2 Posts
    Quote Originally Posted by fp2979 View Post
    same issue with virgin superhub 3 ....... got it working and resolved, all the previous tuts are correct one thing they didn't mention or wasn't a issue

    etc/resolv.conf file

    edited that to dns server
    defualt

    nameserver 192.168.4.100
    nameserver 192.168.8.100

    needs to be changed .......

    to open dns addresses

    works
    I use Plusnet fibre so the router (think they call it a HUB2) has its own built in DNS servers already setup.

    I change the resolv.conf do use my VPN's DNS server locations but every time i restart the openvpn on the VU+ solo2 box the resolv.conf changes back to its default state.

    Bit of a pain keep going into the file and re writing it every time i use it.

    Is there any way round this please?

  5. #65

    Title
    Forum Supporter
    Donated Member
    Join Date
    Jan 2012
    Posts
    343
    Thanks
    73
    Thanked 76 Times in 55 Posts
    Quote Originally Posted by hasafly View Post
    Hi folks,

    Is there any way to restrict internet traffic thru the OpenVPN?

    By this way, the Box only have internet traffic if OpenVPN is UP. That's for when VPN is down, it will cut the internet traffic.

    That's what i want......

    How can we do this?

    Regards
    Unless you can put a line in conf file i dont think you can do it in openvpn.
    On Merlin software on router you can select to Block routed clients if tunnel goes down

  6. #66
    Grinnders's Avatar
    Title
    Forum Supporter
    Donated Member
    Join Date
    Jun 2013
    Location
    Dorset
    Posts
    75
    Thanks
    22
    Thanked 16 Times in 9 Posts
    For background: I have managed to get openvpn working many times using the long winded guide in here (editing files individually and generating my own keys) and without a PIA agent (i.e. using a private dyndns address).

    I've recently signed up to IPVanish and wanted to try and use OpenVPN with IPVanish. I have attempted to follow this guide but the default files from IPvanish don't include a .pem file. The .crt and a selection of OVPN files but no .pem. Can I get one from elsewhere or is this unique to the PIA.
    Resurrected Vu+Solo2 /1.2Mdish/TM2600/PannyGT50
    Vu+ Zero/1.2M dishslave/28.2/EpsonTW5300
    Firmware version: OpenViX 5.3.035 (2020-06-21) Driver date: 20190429 Kernel version: 3.13.5

  7. #67

    Title
    Senior Member
    Join Date
    Sep 2015
    Posts
    129
    Thanks
    30
    Thanked 6 Times in 6 Posts
    Quote Originally Posted by corythompson View Post
    For those struggling to set up openvpn on their VU+ box, this guide may be useful.
    This should do the trick.
    Hi,
    Thanks, I think I botched things, my files were not named correctly and now I cannot reboot back to the OpenVix interface... it stays at the splash screen and I cannot access the box via FTP it says "Connection attempt failed with "ECONNREFUSED - Connection refused by server"."

    Is there any way you know of to get in and remove the files I added to the etc/openvpn folder?

    Thanks!
    Mark.
    VU+ Solo 2 downstairs - VU+ Zero upstairs - 2 dishes
    VU+ Zero parents

  8. #68

    Title
    Senior Member
    Join Date
    Sep 2015
    Posts
    129
    Thanks
    30
    Thanked 6 Times in 6 Posts
    Quote Originally Posted by fredphoesh View Post
    Thanks, I think I botched things, my files were not named correctly and now I cannot reboot back to the OpenVix interface....
    I reflashed and restored a backup... but now with the names correct, openvpn does not work. I have the four files in the etc/openvpn folder, but the service will not start. Any tips, I did follow the ops instructions.
    Thanks,
    Mark.
    VU+ Solo 2 downstairs - VU+ Zero upstairs - 2 dishes
    VU+ Zero parents

  9. #69
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,761
    Thanks
    473
    Thanked 607 Times in 433 Posts
    Here is PIA VPN in a zip file configs created 26/08/2018 so some maybe out of date.

    In each country is all the files needed just send all files in your chosen country to etc/openvpn and in auth.txt change bsdk with your username and jsjs with your password.
    Attached Files Attached Files

  10. The Following User Says Thank You to dsayers For This Useful Post:

    yioranne (28-09-23)

  11. #70

    Title
    Senior Member
    Join Date
    Jan 2013
    Location
    UK
    Posts
    337
    Thanks
    8
    Thanked 64 Times in 53 Posts
    Here is new openvpn pia files acquired today.
    Attached Files Attached Files

  12. #71
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,761
    Thanks
    473
    Thanked 607 Times in 433 Posts
    Add them to /tmp/PIA_VPN then putty:

    cd /tmp/PIA_VPN

    # replace spaces with _
    for f in *\ *; do mv "$f" "${f// /_}"; done

    # rename .ovpn to .conf
    for x in *.ovpn; do mv "$x" "${x%.ovpn}.conf"; done

    # Edit all conf files to have auth-user-pass/auth-user-pass auth.txt
    find . -name "*.conf" -exec sed -i "s/auth-user-pass/auth-user-pass auth.txt/g" '{}' \;

    Do the commands 1 at a time and make sure your in cd /tmp/PIA_VPN before issuing the rest of the command
    That will edit all files

Page 5 of 5 FirstFirst ... 345

Tags for this Thread

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.