New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

portforward

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

portforward

A portforwarding service, support both local port forwarding and remote port forwarding

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
7
-70.83%
Maintainers
1
Weekly downloads
 
Created
Source

portforward

A portforwarding service, support both local port forwarding and remote port forwarding

Install

npm install -g portforward

Usage

Mode1: Local port-forwarding

portforward <from> <to>

For example, if you want to forward port 5566(For external) to port 80(For internal)
portforward 5566 80 So http://localhost:5566 will forward to http://localhost:80

Mode2: Remote port-forwarding

portforward <from> <to> <remoteHost>

Example1: if you want to forward local port 5566 to remote host whatismyip.org port 80 portforward 5566 80 whatismyip.org
So http://localhost:5566 will forward to http://whatismyip.org:80

Example2: if you want to forward local port 7788 to remote host ptt.cc port 22
portforward 5566 22 ptt.cc
So ssh localhost -p 5566 will act like ssh ptt.cc

Example3: Act as relay server
You can use this service to turn your host into relay server

Keywords

port-forwarding

FAQs

Package last updated on 17 Jun 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts