https://github.com/ozankiratli/nordvpnonovpn
Easy Setup for NordVPN using OpenVPN on Linux OS
https://github.com/ozankiratli/nordvpnonovpn
Last synced: about 1 year ago
JSON representation
Easy Setup for NordVPN using OpenVPN on Linux OS
- Host: GitHub
- URL: https://github.com/ozankiratli/nordvpnonovpn
- Owner: ozankiratli
- Archived: true
- Created: 2018-05-13T05:43:01.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-03-04T05:54:25.000Z (over 7 years ago)
- Last Synced: 2025-03-03T01:20:25.360Z (over 1 year ago)
- Language: Shell
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NordVPNonOVPN
Easy Setup for NordVPN using OpenVPN on Linux OS
## INSTALLATION:
Download the bash script file, and set permissions
```
git clone https://github.com/ozankiratli/NordVPNonOVPN.git
sudo cp /path/NordVPNSetup.sh /usr/local/bin
sudo chmod +x /usr/local/bin
```
## RUNNING:
```
NordVPNSetup.sh -s [options [arguments] ]
```
### Options:
- `-h, --help` Display help (this message)
- `-s ` NordVPN server
- `-p ` Port type TCP or UDP
- `-N /path/to/NordVPNfiles` Defines path to downloaded openvpn files
- `-C /path/to/openvpn` Path to OpenVPN configuration files in the system
- `-n ` Name of the configuration filename without `.ovpn` or `.conf`
- `--firstuse` Use this flag if you are setting up NordVPN client for the first time
- `-l` Lists all available servers
- `-l --country ` Lists servers of the chosen country. Use 2 letter country codes
- `-l --port ` Lists servers of the chosen port type. TCP or UDP
- `-l --country --port ` Lists servers of the chosen country and port.
- `--checkserver ` Shows if the server is available and available port types.
- `-u, --usage` Correct usage options
- `--updatefiles` Updates the files
- `--start ` Starts service
- `--stop ` Stops service
- `--restart` Restarts service
- `--status ` Returns service status
- `--enable ` Enables service
- `--disable ` Disables service
- Be aware that -h, -l, --checkserver, -u, --updatefiles, --start, --stop, --restart, -status, --enable, and --disable options will override other options, the first of these options will be processed, the others will be ignored.
***Default options are:***
```
NordVPNSetup.sh -s [default=none] -p [default=udp] -C [default=/home/romulan/build/nordvpn] -O [default=/etc/openvpn] -f [default=]
```
## USAGE SUGGESTIONS:
### Setting NordVPN:
```
NordVPNSetup.sh -s [default=none] -p [default=udp] -C [default=/home/romulan/build/nordvpn] -O [default=/etc/openvpn] -f [default=]
```
### For Help:
```
NordVPNSetup.sh -h or NordVPNSetup.sh --help
```
### For Usage: (Displaying this list)
```
NordVPNSetup.sh -u or NordVPNSetup.sh --usage
```
### For Listing Servers:
```
NordVPNSetup.sh -l [--country <2LetterCountryCode>] [--port ]
```
### For Checking if a Server file is present in the local machine:
```
NordVPNSetup.sh --checkserver
```
### For Updating Server files in the local machine:
```
NordVPNSetup.sh --updatefiles
```
### For Client Services:
```
NordVPNSetup.sh --enable/--disable/--start/--stop/--restart/--status
```