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-proxyUsage
port-proxy --from 8080 --to 80 # Listen on port 8080 and forward to port 80portProxy --from 8080 --to 80 # Listen on port 8080 and forward to port 80Options
--fromor-f: The port to listen on--toor-t: The port to forward to-por--protocol: The protocol to use (default: tcp) (options: tcp, udp)--helpor-h: Display help message
License
This project is licensed under the MIT License, feel free to do whatever you want with it.