All Projects → Porocyonak → Open2Nord

Porocyonak / Open2Nord

Licence: other
A Python script that makes connecting to NordVPN servers through OpenVPN GUI a lot easier, and adds extra functionality

Programming Languages

python
139335 projects - #7 most used programming language
Batchfile
5799 projects

Projects that are alternatives of or similar to Open2Nord

Autovpn
Create On Demand Disposable OpenVPN Endpoints on AWS.
Stars: ✭ 1,959 (+8804.55%)
Mutual labels:  openvpn, vpn, autovpn, openvpn-configuration
Nordvpn Networkmanager
A CLI tool for automating the importing, securing and usage of NordVPN (and in the future, more) OpenVPN servers through NetworkManager.
Stars: ✭ 111 (+404.55%)
Mutual labels:  openvpn, vpn, nord
Openpyn Nordvpn
Easily connect to and switch between, OpenVPN servers hosted by NordVPN on Linux (+patch leakes)
Stars: ✭ 544 (+2372.73%)
Mutual labels:  openvpn, vpn, nord
Cybernet-VPN
Android Cybernet VPN App
Stars: ✭ 28 (+27.27%)
Mutual labels:  openvpn, vpn, openvpn-client
nordvpn
NordVpn Docker Client
Stars: ✭ 475 (+2059.09%)
Mutual labels:  openvpn, vpn, nordvpn
openvpn-unroot
Run OpenVPN without root privileges
Stars: ✭ 27 (+22.73%)
Mutual labels:  openvpn, vpn, openvpn-client
hide.client.linux
Hide.me CLI VPN client for Linux
Stars: ✭ 41 (+86.36%)
Mutual labels:  vpn, vpn-connections
autovpn2
OpenVPN VPN Gate Client for Linux, connects you to a random Free VPN in a country of your choice by country code.
Stars: ✭ 30 (+36.36%)
Mutual labels:  vpn, openvpn-client
desktop-app
Official IVPN Desktop app
Stars: ✭ 141 (+540.91%)
Mutual labels:  openvpn, vpn
netmaker
Netmaker makes networks with WireGuard. Netmaker automates fast, secure, and distributed virtual networks.
Stars: ✭ 4,147 (+18750%)
Mutual labels:  openvpn, vpn
terraform-openvpn
A sample terraform setup for OpenVPN using Let's Encrypt and Certbot to generate certificates
Stars: ✭ 43 (+95.45%)
Mutual labels:  openvpn, vpn
Raspberry-Pi-VPN-Gateway
Raspberry Pi VPN gateway installer for Private Internet Access
Stars: ✭ 44 (+100%)
Mutual labels:  openvpn, vpn
killswitch-windows
VPN kill switch for windows.
Stars: ✭ 22 (+0%)
Mutual labels:  openvpn, vpn
iit-kgp-network
Information repository and Solutions on IIT KGP Internet Problems.
Stars: ✭ 28 (+27.27%)
Mutual labels:  openvpn, vpn
droidovpn
An unofficial VPN Gate client for Android.
Stars: ✭ 65 (+195.45%)
Mutual labels:  openvpn, vpn
Geolocate-IP-Browser-Extension
A browser extension, which shows you the origin of your IP address.
Stars: ✭ 21 (-4.55%)
Mutual labels:  vpn, vpn-connections
desktop-app-cli
Official IVPN command-line interface (CLI)
Stars: ✭ 18 (-18.18%)
Mutual labels:  openvpn, vpn
desktop-app-ui2
IVPN Desktop app
Stars: ✭ 19 (-13.64%)
Mutual labels:  openvpn, vpn
iosvpn.github.io
iPhone和iOS 翻墙梯子VPN推荐,2022中国苹果手机iPhone翻墙软件和科学上网避坑指南,稳定梯子推荐。
Stars: ✭ 72 (+227.27%)
Mutual labels:  vpn, nordvpn
chef-openvpn
A multi-configuration OpenVPN server cookbook featuring IPv6 support and easy setup of client files.
Stars: ✭ 23 (+4.55%)
Mutual labels:  openvpn, vpn

Open2Nord

I made this to bypass a Unity3D block when trying to run Unity3D with NordVPN connected. Connecting to NordVPN servers through OpenVPN GUI fixes this 'unity block' issue, but there are two major problems: OpenVPN GUI can't be configured to run and connect on startup, and there isn't a way to find the 'best' server to connect to. Open2Nord fixes these two issues!

Open2Nord does some light Python scripting to find the best NordVPN server for your location, and connects you to it automatically on logon through the OpenVPN GUI.

I also made sure that the code (and project itself) was short and sweet, so you can easily tell if anything fishy is going on. I'd like to say it's also easier for newbies to learn so they can do it themselves, but I can't say for certain! Let me know what to clear up so it's more understandable.

(Currently only supports Windows 10, maybe Windows 7)

------------------Instructions------------------

  1. Install OpenVPN from

    a. https://swupdate.openvpn.org/community/releases/openvpn-install-2.4.5-I601.exe

    b. https://nordvpn.com/tutorials/windows-7/openvpn/

    c. https://nordvpn.com/tutorials/windows-10/openvpn/

  2. Download and extract the compiled Open2Nord.zip version here or build your own Open2Nord

    a. make sure you extract it to a good place, like C:\Programs\Open2Nord

    DO NOT HAVE SPACES OR PARENTHESIS IN THE DIRECTORY!

  3. Modify the data.txt folder accordingly. I recommend https://gps-coordinates.org/ for grabbing latitude and longitude (will eventually be automated)

    a. also make sure your OpenVPN directory ends at OpenVPN e.g: C:\Program Files\OpenVPN as shown so 'OpenVPN directory' should point to this area of the OpenVPN install

  4. [Optionally]Modify the login_info.txt with your NordVPN email and password. Keep in mind this is stored in plaintext on your device.

  5. Run RunOnStartup (Run Me!).bat (will run Open2Nord every computer boot)

  6. [Optionally]Run Open2Nord.exe (as admin) to connect right away

NOTE: Make sure to run RunOnStartup (Run Me!).bat again if you change the project directory!

------------------Build It Yourself--------------

TODO cleanup, make more newbie friendly.

  1. install python 3.x, most versions should be compatible

  2. download source and extract source

  3. pip install requests and pip install cx_freeze (or look up how to install requests and cx_freeze)

  4. modify a couple lines in setup.py so they point to your python directory

  5. run "python setup.py build" in terminal at the project directory (that has setup.py)

  6. move all the files in move_to_build_directory to the newly made build directory (same path as Open2Nord.exe)

    a. make sure you extract the config_files.zip so that the config_files folder appears in the same directory, and is full of .ovpn files

Final product should be something like this: final

Config folder should look like: config

-------------------How It Works------------------

  • RunOnStartup (Run Me!).bat creates a windows Task Scheduler to run Open2Nord on every boot. It calls XML_Stuff.bat which does some batch modifications of task_info.xml so it's customized to your system, and then creates a new Task with this new XML named newtext.xml.

  • StopStartup.bat deletes the task named Open2Nord. Basically stops Open2Nord from running on boot.

  • ScheduleFixer_donotrun.bat is a quick fix for Task Scheduler so it runs in the proper directory

  • data.txt takes user input to modify how they want Open2Nord to run.

  • login_info.txt takes an email on the first line and password on the second; used to automatically connect to NordVPN's servers.

  • config_files is a list of server config files given from NordVPN's website

  • Open2Nord.exe - view Open2Nord.py for more info

-------------------------------------------------

If you are getting config errors, replace the files inside the config_files folder with the .ovpn files from https://downloads.nordcdn.com/configs/archives/servers/ovpn.zip (might make a quick script to do this automatically later)

And you're done! Let me know if there are any problems.

Demonstration:

demo hi

Extra Notes:

  • connect through 1.1.1.1 (see https://1.1.1.1/ ) to get Amazon and other sites working, if they aren't

Todo:

  • automatically grab latitude/longitude from current ip
  • automatically refresh config files if outdated
  • fix an issue when there are more than 50 config files in OpenVPN GUI config folder automatically (if you are experiencing this, just delete a bunch of them. OpenVPN GUI doesn't like more than 50 config files)
  • change task to have 'onlogon for specific user' instead of all users (unsure if this affects anything. if you have this issue let me know, i'll see if I can fix it)
  • fix time.sleep issue, needs to be put before the loop because it never gets reached.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].