
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
Create secure, shareable tunnels to your localhost and manage them from the command line.
Create secure, shareable tunnels to your localhost and manage them from the command line.
Global install is recommended for system-wide "pinggy" command.
npm install -g pinggy
After install, verify:
pinggy --help
pinggy -R0:localhost:3000
pinggy -R0:localhost:8000 tcp@free.pinggy.io
pinggy -R0:localhost:8000 -L4300:localhost:4300
The CLI prints generated public URLs (HTTP/HTTPS or TCP) and keeps running until you press Ctrl+C.
Basic syntax: pinggy [options] [user@domain]
The CLI supports both SSH-style flags and more descriptive long flags. Below is a consolidated list (only public ones are shown here). For the most up-to-date help, run pinggy --help.
| Flag | Description | Example |
|---|---|---|
-R, --R | Local port forwarding (SSH-style) | -R0:localhost:3000 |
-L, --L | Web debugger address (SSH-style) | -L4300:localhost:4300 |
| Flag | Description | Example |
|---|---|---|
-p, --server-port | Pinggy server port (default: 443) | --server-port 8080 |
--type | Type of connection (e.g., tcp) | --type tcp |
-l, --localport | Local endpoint [protocol:][host:]port | --localport https://localhost:8000 |
-d, --debugger | Port for web debugger | -d 4300 |
--token | Token for authentication | --token abc123 |
--force | Forcefully close existing tunnels and establish a new tunnel | --force |
| Flag | Description |
|---|---|
--loglevel | Logging level: ERROR, INFO, DEBUG |
--logfile | Path to log file |
--v | Print logs to stdout |
--vv | Detailed logs (Node.js SDK + Libpinggy) |
--vvv | Enable logs from CLI, SDK, and Libpinggy |
| Flag | Description |
|---|---|
--saveconf <file> | Create configuration file with provided options |
--conf <file> | Load configuration from file (CLI flags override) |
| Flag | Description |
|---|---|
--serve <path> | Serve files from a local directory via simple web server |
| Flag | Description |
|---|---|
--autoreconnect, -a | Automatically reconnect tunnel on failure (enabled by default; pass false to disable) |
| Flag | Description |
|---|---|
--remote-management <token> | Enable remote tunnel management |
--manage <addr> | Remote management server (default: dashboard.pinggy.io) |
--NoTui | Disable TUI in remote management mode |
| Flag | Description |
|---|---|
--version | Print version and exit |
-h, --help | Show help and exit |
Extended options provide advanced controls. Specify them as positional values like x:https or w:192.168.1.0/24 alongside other CLI flags.
Examples:
Enforce HTTPS and XFF for local HTTPS server on 8443: pinggy x:https x:xff -l https://localhost:8443
Allow only a local subnet: pinggy w:192.168.1.0/24 -l 8080
To generate advanced CLI arguments, use Configure from Pinggy.io
You can control tunnels remotely using a secure WebSocket connection.
pinggy --remote-management <API KEY>
pinggy --remote-management <API KEY> --manage wss://custom.example.com
You can control logs via CLI flags (which override environment variables). If logfile is provided, the log directory will be created if it does not exist.
pinggy -p 3000 --logfile ~/.pinggy/pinggy.log --loglevel INFO --v
If you provide --v, --vv, or --vvv without specifying a log level, the default log level is INFO.
pinggy -p 443 -L4300:localhost:4300 -t -R0:127.0.0.1:8000 qr+force@free.pinggy.io x:noreverseproxy x:passpreflight x:xff --saveconf myconfig.json
pinggy --conf ./myconfig.json -p 8080
Serve a local directory quickly over a tunnel:
pinggy --serve /path/to/files
Optionally combine with other flags (auth, IP whitelist) as needed.
Press Ctrl+C to stop. The CLI traps SIGINT and gracefully stops active tunnels before exiting.
This package follows semantic versioning. See package.json for the current version.
Apache License Version 2.0
FAQs
Create secure, shareable tunnels to your localhost and manage them from the command line.
The npm package pinggy receives a total of 320 weekly downloads. As such, pinggy popularity was classified as not popular.
We found that pinggy demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.