VU+ Plugins - System OpenVPN Config Changer Plugin

Discussion in 'VU+ Plugins - System' started by Ten Below, Mar 8, 2018.

Share This Page

  1. Ten Below

    Ten Below Staff Member Admin

    Messages:
    7,260
    Featured Threads:
    110
    Likes Received:
    3,502
    OpenVPN Config Changer Plugin

    shot1.jpg

    What makes the plugin:
    - The VPN configs previously created on the hard drive are changed to the etc / openvpn folder at the push of a button.
    - It also shows the IP address assigned now.
    - The remaining VPN start and stop functions can also be regulated.

    Preparations:

    - On your hard drive / usb stick / network disk or whatever you create the folder vpn (path media / hdd / vpn)
    - In the folder vpn create your additional folder with the data of your VPN server
    - Example folder: VPNSchweiz with the contents ch7.conf and auth.txt
    - If you want to have the folder elsewhere, you can also change the path in the plugin with the green button.

    The installation should be clear.

    thx @ seidy




     

    Attached Files:

    • Like Like x 2
    • Thank You Thank You x 2
    Last edited: Mar 8, 2018
  2. chris0200

    chris0200 Donating Member Member

    Messages:
    82
    Likes Received:
    11
    Will this auto restart the VPN when a link drops for whatever reason?
     
  3. Ten Below

    Ten Below Staff Member Admin

    Messages:
    7,260
    Featured Threads:
    110
    Likes Received:
    3,502
    :dunno:It does show a vpn check feature though so should.
     
    • Thank You Thank You x 1
  4. chris0200

    chris0200 Donating Member Member

    Messages:
    82
    Likes Received:
    11
    Giving it a go I'll report back on functionality
     
    • Thank You Thank You x 1
  5. chris0200

    chris0200 Donating Member Member

    Messages:
    82
    Likes Received:
    11
    It does not seem to restart the VPN once it goes down I am afraid. OK as a check that VPN is running and the IP checker.
     
    • Informative Informative x 1
  6. ketmp

    ketmp Special Friend Donating Member

    Messages:
    180
    Featured Threads:
    7
    Likes Received:
    201
    I haven't tried it but I read that if you have multiple remote entries it will try them in the order mentioned and if fails should move on to next one.
    Code:
    [ Only registered users can see the bbcode. Click Here To Register... ]
     
    • Like Like x 1
  7. chris0200

    chris0200 Donating Member Member

    Messages:
    82
    Likes Received:
    11
    Interesting I will take a look
     
  8. ketmp

    ketmp Special Friend Donating Member

    Messages:
    180
    Featured Threads:
    7
    Likes Received:
    201
    Source: OpenVPN.net

    Implementing a load-balancing/failover configuration

    Client
    The OpenVPN client configuration can refer to multiple servers for load balancing and failover. For example:

    remote server1.mydomain
    remote server2.mydomain
    remote server3.mydomain


    will direct the OpenVPN client to attempt a connection with server1, server2, and server3 in that order. If an existing connection is broken, the OpenVPN client will retry the most recently connected server, and if that fails, will move on to the next server in the list. You can also direct the OpenVPN client to randomize its server list on startup, so that the client load will be probabilistically spread across the server pool.

    remote-random
    If you would also like DNS resolution failures to cause the OpenVPN client to move to the next server in the list, add the following:

    resolv-retry 60
    The 60 parameter tells the OpenVPN client to try resolving each remote DNS name for 60 seconds before moving on to the next server in the list.
     
    • Like Like x 1
  9. chris0200

    chris0200 Donating Member Member

    Messages:
    82
    Likes Received:
    11
    I may be wrong but if I put 3 different client.conf (1 for each country) in the open openvpn folder, will the changer try each, assuming I name them client1,client2,clinet3? If not I think I am lost?:bangw:
     
  10. ketmp

    ketmp Special Friend Donating Member

    Messages:
    180
    Featured Threads:
    7
    Likes Received:
    201
    I'm not sure about this plugin changer but if you're looking at method I posted then this allows one conf file with different servers listed in it and it will then go through each server one by one if there is an issue.

    I use this method now as a failsafe in case the preferred server I use goes down, it will failover to another server.
     
  11. chris0200

    chris0200 Donating Member Member

    Messages:
    82
    Likes Received:
    11
    I have copied and pasted three different country 'client.conf' files into one file and copied across to my box. Is that all I have to do? Or should it look like this:

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

    Thanks for the help.
     
    • Like Like x 1
    Last edited: Mar 16, 2018
  12. Ten Below

    Ten Below Staff Member Admin

    Messages:
    7,260
    Featured Threads:
    110
    Likes Received:
    3,502
    VPN Changer 1.2.9
    Update:
    -New version with some improvements
    -bug fix
     

    Attached Files:

    • Thank You Thank You x 3
    • Like Like x 1
  13. ketmp

    ketmp Special Friend Donating Member

    Messages:
    180
    Featured Threads:
    7
    Likes Received:
    201
    @chris0200, this is what my conf looks like (remote address purposely renamed but I also do use PIA):
    Code:
    [ Only registered users can see the bbcode. Click Here To Register... ]
     
    • Like Like x 1
    • Thank You Thank You x 1
  14. chris0200

    chris0200 Donating Member Member

    Messages:
    82
    Likes Received:
    11

    Interesting are you loosing the com119 bit at the beginning of the line or does it stay?

    EDIT: Just checked and you do. Mind just relised that it says VPN is running when its not, weird.
     
    Last edited: Mar 16, 2018
  15. next21

    next21 Member

    Messages:
    4
    Likes Received:
    0
    Hello
    I have a file vpn
    How to configure to use in this plugin?
    Please help me?
     

    Attached Files:

  16. next21

    next21 Member

    Messages:
    4
    Likes Received:
    0
    :Hi2:Please help?
     
  17. chris0200

    chris0200 Donating Member Member

    Messages:
    82
    Likes Received:
    11
    • Like Like x 1
  18. next21

    next21 Member

    Messages:
    4
    Likes Received:
    0
  19. chris0200

    chris0200 Donating Member Member

    Messages:
    82
    Likes Received:
    11
    No you need to set up openvpn first, forget the changer for now and set up one location to route through, eg France, Austria etc.

    All the changer does is change the country/location you route through for internet access.
     
    • Like Like x 1
  20. next21

    next21 Member

    Messages:
    4
    Likes Received:
    0
    How to route through?
    In modem router or receiver ?

    When the open vpn is start
    Shareing mulator lines are disabled?
     
Loading...
Similar Threads
  1. Ten Below
    Replies:
    1
    Views:
    1,217
  2. chris4u
    Replies:
    4
    Views:
    573
  3. Ten Below
    Replies:
    4
    Views:
    2,577
  4. johnjohn
    Replies:
    4
    Views:
    280
  5. michaelpop84
    Replies:
    3
    Views:
    1,834
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice