Hack Forums
Setup for [censored] using OpenVPN on Linux OS - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45)
+--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449)
+---- Forum: Beginner Hacking (https://hackforums.net/forumdisplay.php?fid=4)
+----- Forum: Hacking Tutorials (https://hackforums.net/forumdisplay.php?fid=47)
+----- Thread: Setup for [censored] using OpenVPN on Linux OS (/showthread.php?tid=6122439)



Setup for [censored] using OpenVPN on Linux OS - Proof - Nov 20, 2020

INSTALLATION:

Download the bash script file, and set permissions

Code
git clone https://github.com/ozankiratli/NordVPNonOVPN.git
Code
sudo cp /path/NordVPNSetup.sh /usr/local/bin
Code
sudo chmod +x /usr/local/bin 

RUNNING:

Code
NordVPNSetup.sh -s <servername> [options [arguments] ]

Options:
Code
    -h, --help Display help (this message)
    -s <ServerName>    [censored] server
    -p <PortType>    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 <VPNServiceName>    Name of the configuration filename without .ovpn or .conf
    --firstuse    Use this flag if you are setting up [censored] client for the first time
    -l    Lists all available servers
    -l --country <CountryCode>    Lists servers of the chosen country. Use 2 letter country codes
    -l --port <PortType>    Lists servers of the chosen port type. TCP or UDP
    -l --country <CC> --port <PT>    Lists servers of the chosen country and port.
    --checkserver <servername>    Shows if the server is available and available port types.
    -u, --usage Correct usage options
    --updatefiles Updates the files
    --start <VPNServiceName> Starts service
    --stop <VPNServiceName>    Stops service
    --restart    Restarts service
    --status <VPNServiceName>    Returns service status
    --enable <VPNServiceName>    Enables service
    --disable <VPNServiceName>    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:

Code
NordVPNSetup.sh -s <ServerName> [default=none] -p <PortType> [default=udp] -C <path/to/[censored]> [default=/home/romulan/build/[censored]] -O <path/to/OpenVPN> [default=/etc/openvpn] -f <filename> [default=]

USAGE SUGGESTIONS:
Setting [censored]:

Code
NordVPNSetup.sh -s <ServerName> [default=none] -p <PortType> [default=udp] -C <path/to/[censored]> [default=/home/romulan/build/[censored]] -O <path/to/OpenVPN> [default=/etc/openvpn] -f <filename> [default=]

For Help:

Code
NordVPNSetup.sh -h or NordVPNSetup.sh --help

For Usage: (Displaying this list)

Code
NordVPNSetup.sh -u or NordVPNSetup.sh --usage

For Listing Servers:

Code
NordVPNSetup.sh -l [--country <2LetterCountryCode>] [--port <PortType>]

For Checking if a Server file is present in the local machine:

Code
NordVPNSetup.sh --checkserver <ServerName>

For Updating Server files in the local machine:

Code
NordVPNSetup.sh --updatefiles

For Client Services:

Code
NordVPNSetup.sh --enable/--disable/--start/--stop/--restart/--status <VPNServiceName>



RE: Setup for [censored] using OpenVPN on Linux OS - 2xTheTap115 - Nov 20, 2020

A useful tutorial, short and to the point good job OP✌


RE: Setup for [censored] using OpenVPN on Linux OS - xZalurex - Nov 20, 2020

(Nov 20, 2020 02:07 PM)Proof Wrote:  INSTALLATION:

Download the bash script file, and set permissions

Code
git clone https://github.com/ozankiratli/NordVPNonOVPN.git
Code
sudo cp /path/NordVPNSetup.sh /usr/local/bin
Code
sudo chmod +x /usr/local/bin 

RUNNING:

Code
NordVPNSetup.sh -s <servername> [options [arguments] ]

Options:
Code
    -h, --help Display help (this message)
    -s <ServerName>    [censored] server
    -p <PortType>    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 <VPNServiceName>    Name of the configuration filename without .ovpn or .conf
    --firstuse    Use this flag if you are setting up [censored] client for the first time
    -l    Lists all available servers
    -l --country <CountryCode>    Lists servers of the chosen country. Use 2 letter country codes
    -l --port <PortType>    Lists servers of the chosen port type. TCP or UDP
    -l --country <CC> --port <PT>    Lists servers of the chosen country and port.
    --checkserver <servername>    Shows if the server is available and available port types.
    -u, --usage Correct usage options
    --updatefiles Updates the files
    --start <VPNServiceName> Starts service
    --stop <VPNServiceName>    Stops service
    --restart    Restarts service
    --status <VPNServiceName>    Returns service status
    --enable <VPNServiceName>    Enables service
    --disable <VPNServiceName>    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:

Code
NordVPNSetup.sh -s <ServerName> [default=none] -p <PortType> [default=udp] -C <path/to/[censored]> [default=/home/romulan/build/[censored]] -O <path/to/OpenVPN> [default=/etc/openvpn] -f <filename> [default=]

USAGE SUGGESTIONS:
Setting [censored]:

Code
NordVPNSetup.sh -s <ServerName> [default=none] -p <PortType> [default=udp] -C <path/to/[censored]> [default=/home/romulan/build/[censored]] -O <path/to/OpenVPN> [default=/etc/openvpn] -f <filename> [default=]

For Help:

Code
NordVPNSetup.sh -h or NordVPNSetup.sh --help

For Usage: (Displaying this list)

Code
NordVPNSetup.sh -u or NordVPNSetup.sh --usage

For Listing Servers:

Code
NordVPNSetup.sh -l [--country <2LetterCountryCode>] [--port <PortType>]

For Checking if a Server file is present in the local machine:

Code
NordVPNSetup.sh --checkserver <ServerName>

For Updating Server files in the local machine:

Code
NordVPNSetup.sh --updatefiles

For Client Services:

Code
NordVPNSetup.sh --enable/--disable/--start/--stop/--restart/--status <VPNServiceName>

good work.