{"id":13340677,"url":"https://gitlab.com/mausworks/nordvpn-cli","last_synced_at":"2025-03-11T18:31:37.657Z","repository":{"id":63146972,"uuid":"10433134","full_name":"mausworks/nordvpn-cli","owner":"mausworks","description":"A tool for managing NordVPN profiles for OpenVPN","archived":false,"fork":false,"pushed_at":null,"size":null,"stargazers_count":6,"open_issues_count":2,"forks_count":0,"subscribers_count":null,"default_branch":"master","last_synced_at":"2024-10-24T06:28:57.811Z","etag":null,"topics":["bash","nordvpn","openvpn","vpn"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"0bsd","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":null,"metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-18T21:50:37.401Z","updated_at":"2019-07-29T23:00:35.105Z","dependencies_parsed_at":"2022-11-13T22:15:19.092Z","dependency_job_id":null,"html_url":"https://gitlab.com/mausworks/nordvpn-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/mausworks%2Fnordvpn-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/mausworks%2Fnordvpn-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/mausworks%2Fnordvpn-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/mausworks%2Fnordvpn-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/owners/mausworks","download_url":"https://gitlab.com/mausworks/nordvpn-cli/-/archive/master/nordvpn-cli-master.zip","host":{"name":"gitlab.com","url":"https://gitlab.com","kind":"gitlab","repositories_count":4518024,"owners_count":6814,"icon_url":"https://github.com/gitlab.png","version":null,"created_at":"2022-05-30T11:31:42.605Z","updated_at":"2024-07-18T11:24:13.055Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/owners"}},"keywords":["bash","nordvpn","openvpn","vpn"],"created_at":"2024-07-29T19:23:54.713Z","updated_at":"2025-03-11T18:31:37.143Z","avatar_url":null,"language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# NordVPN CLI tools\n\n**DISCLAIMER:** This project is in no way affiliated with NordVPN or its partners.\n\nThis is a tool for managing NordVPN profiles for OpenVPN.\n\n## TL;DR usage:\n\n```bash\nsudo nordvpn best-tcp $YOUR_COUNTRY\nsudo nordvpn restart\n```\n\n![](https://i.imgur.com/l8ljUfD.mp4)\n\n\n## Features\n\n- Managing of NordVPN client profiles\n- Managing your NordVPN credentials for authentication\n- Managing the `openvpn-client@nordvpn` service\n\n## Dependencies\n\n- openvpn\n- unzip\n- wget\n- node\n\n## Prerequisites\n\n- A [NordVPN account](https://join.nordvpn.com/order)\n- Basic knowledge of how to use the terminal\n\n## Installation\n\nManual installation:\n\n1. Install the dependencies listed above\n2. Save `nordvpn` and `nordvpn-servers.js` to a folder of your choice, e.g `/usr/bin/`\n3. Run `chmod +x ./nordvpn` to enable execution of the script\n\n## Basic usage\n\nAll commands must be run with root privileges (using for instance `sudo`).\n\n### Getting the server profiles\n\nAfter installation, start with downloading the NordVPN server profiles.\n\nThis is done by running:\n\n```bash\nnordvpn update-servers\n```\n\nThis will download all NordVPN server profiles, and unzip them to `/etc/openvpn/`\n\n_This command can be run at any time to stay up to date, if servers are updated, or added to the NordVPN network._\n\n### Authentication\n\nIn order to use the NordVPN network, you must first provide your credentials.\n\nYou do this by executing the following command:\n\n```bash\nnordvpn auth\n```\n\nThen simply follow the instructions in the terminal.\n\n\u003e **NOTE:** The details you provide here will be saved in clear text to `/etc/openvpn/client/auth.txt`.\n\n### Selecting a profile\n\nThe suggested way of selecting a profile is via:\n\n```bash\nnordvpn best-tcp [country]\n```\n\nThis will select the server with the least load in the provided country.\n\nFor example:\n\n```bash\nnordvpn best-tcp ukraine\n```\n\nAlternatively, you may use `best-udp` to use VPN over UDP.\n\n### Starting the service\n\nTo start the OpenVPN service using your profile, run:\n\n```bash\nnordvpn start\n```\n\nIf you visit [nordvpn.com](https://nordvpn.com/) your status should now say \"protected\".\n\n### Stopping the service\n\nTo stop running the OpenVPN service (\"to disconnect\"):\n\n```bash\nnordvpn stop\n```\n\n### Restarting the service\n\nWhenever you change your server profile, you must restart the OpenVPN service:\n\n```bash\nnordvpn restart\n```\n\n### Running NordVPN on startup\n\nSimply run:\n\n```bash\nnordvpn enable\n```\n\nTo disable the service, run:\n\n```bash\nnordvpn disable\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/gitlab.com%2Fmausworks%2Fnordvpn-cli","html_url":"https://awesome.ecosyste.ms/projects/gitlab.com%2Fmausworks%2Fnordvpn-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/gitlab.com%2Fmausworks%2Fnordvpn-cli/lists"}