Skip to content

NPS#

ehang-io/nps is a lightweight, high-performance, powerful intranet penetration proxy server, with a powerful web management terminal.

Setup Server (Public Cloud) Side#

Download

for AMD64 Ubuntu Server

wget https://github.com/ehang-io/nps/releases/download/v0.26.10/linux_amd64_server.tar.gz

Extract

tar -xvf linux_amd64_server.tar.gz

Install

sudo ./nps install

Configure

  • Replace default web_username and web_password
nano /etc/nps/conf/nps.conf

Allow UFW

sudo ufw allow 8080,8024
sudo ufw show added
sudo ufw enable

Start NPS Server

nps start # start nps server
nps restart # restart nps server
nps stop # stop nps server
nps reload # reload config file

Visit Web Dashboard at xxx.xxx.xxx.xxx:8080

  • default user admin
  • default pass 123

Create Client Record

  • Give it a name
  • Unique verify Key is the vkey we will be using from the client side, you can let it generate automatically or specify your own.
  • Confirm

Setup Client (Private Target) Side#

Use my convenient script to install or uninstall NPS client on your target machine.

Clone the script

git clone https://github.com/MarkHershey/nps-install.git

Run the script

cd nps-install
python3 client_install.py -s SERVER_IP_ADDRESS -p SERVER_PORT -v CLIENT_VKEY