generate-nordvpn-wgconf
Advanced tools
Comparing version 1.0.5 to 1.1.0
@@ -7,3 +7,3 @@ { | ||
}, | ||
"version": "1.0.5", | ||
"version": "1.1.0", | ||
"dependencies": { | ||
@@ -10,0 +10,0 @@ "keychain": "^1.5.0", |
@@ -22,3 +22,3 @@ # NordVPN WireGuard Configuration Generator | ||
- If `--pk` is specified, it will just use that and no macOS specific functionality is used | ||
- If `--nordvpn-accountid` is specified, it will do a keychain lookup to find your NordVPN credentials, to extract the privatekey. | ||
- If `--nordvpn-accountid` is specified, it will do a keychain lookup to find your NordVPN credentials, to extract the privatekey. | ||
@@ -33,7 +33,7 @@ #### How to automatically extract privatekey on macOS? | ||
After doing that, NordVPN will store the NordLynx (WireGuard) credentials in keychain, for us to extract. | ||
After doing that, NordVPN will store the NordLynx (WireGuard) credentials in keychain, for us to extract. | ||
#### Options | ||
- `--country`, `-c`: Specify the country code (ISO 3166-1 alpha-2 code) for which to generate the configuration. For example, `US` for the United States. | ||
- `--country`, `-c`: Specify the country code(s) (ISO 3166-1 alpha-2 code) for which to generate the configuration. For example, `US` for the United States. `DE,JP` for Germany and Japan. | ||
- `--wireguard-privatekey`, `-pk`: Your WireGuard private key. This is required unless using `--nordvpn-accountid`. | ||
@@ -70,2 +70,10 @@ - `--nordvpn-accountid`, `-id`: Your NordVPN account ID. Required if you do not provide a WireGuard private key. | ||
#### Generating Configurations for 2 Countries | ||
To generate configurations for all available countries: | ||
```bash | ||
node index.js --country JP,DE --wireguard-privatekey YOUR_PRIVATE_KEY --outdir /path/to/output/dir | ||
``` | ||
### Contributing | ||
@@ -72,0 +80,0 @@ |
Sorry, the diff of this file is too big to display
210679
7
5371
83