Giter Site home page Giter Site logo

schealex / pia-random-reconnect Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 10 KB

Simple program that executes a reconnect for Private Internet Access VPN provider and avoids the last 5 regions used. Useful in combination with jDownloader

License: MIT License

C# 100.00%
pia dotnet-core jdownloader jdownloader2 privateinternetaccess reconnect vpn

pia-random-reconnect's Introduction

PIA-random-reconnect

Usage

Download the repository and build the solution. Run Reconnector.exe.

Configuration (appsettings.json)

NOTE: you can get the list of region names by running piactl.exe get regions

  • Adjust (if different) your path to private internet access folder
  • Adjust your list of servers you wish to use

example:

{
  "Logging": {
    "LogLevel": {
      "Default": "Debug",
      "System": "Information",
      "Microsoft": "Information"
    }
  },
  "PIA": {
    "PiaCtlPath": "C:\\Program Files\\Private Internet Access",
    "ValidServers": [
      "uk-streaming-optimized",
      "uk-london",
      "uk-southampton",
      "uk-manchester",
      "fi-helsinki",
      "fi-streaming-optimized",
      "georgia",
      "de-berlin",
      "de-frankfurt",
      "armenia",
      "switzerland",
      "estonia",
      "belgium",
      "monaco",
      "poland",
      "it-milano",
      "it-streaming-optimized",
      "netherlands",
      "norway",
      "romania",
      "se-streaming-optimized",
      "se-stockholm",
      "slovakia",
      "ukraine",
      "es-madrid",
      "es-valencia",
      "france",
      "bulgaria",
      "isle-of-man",
      "luxembourg",
      "serbia",
      "bosnia-and-herzegovina",
      "lithuania",
      "austria",
      "czech-republic",
      "dk-copenhagen",
      "dk-streaming-optimized",
      "malta",
      "nigeria",
      "kazakhstan",
      "liechtenstein",
      "north-macedonia",
      "algeria",
      "moldova",
      "ireland",
      "montenegro",
      "slovenia",
      "portugal",
      "egypt",
      "albania",
      "hungary",
      "latvia",
      "cyprus",
      "morocco",
      "turkey"
    ]
  }
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.