1.0.0 • Published 1 year ago
@aymen3009/port-proxy v1.0.0
Port Proxy
Description
This is a simple port proxy that listens on a port and forwards the data to another port.
Installation
npm install -g @aymen3009/port-proxy
Usage
port-proxy --from 8080 --to 80 # Listen on port 8080 and forward to port 80
portProxy --from 8080 --to 80 # Listen on port 8080 and forward to port 80
Options
--from
or-f
: The port to listen on--to
or-t
: The port to forward to-p
or--protocol
: The protocol to use (default: tcp) (options: tcp, udp)--help
or-h
: Display help message
License
This project is licensed under the MIT License, feel free to do whatever you want with it.