PG

pgrok

Self-hosted ngrok alternative for sharing local services

Remote Access & VPN ★ 3.6k stars Medium setup MIT

pgrok is an open-source, self-hosted alternative to ngrok for exposing local web servers to the internet via secure tunnels. It uses SSH for transport and is simple to deploy.

Key features

  • SSH-based tunneling
  • Self-hosted server
  • Custom subdomains
  • Lightweight Go binary

Strengths

  • Released under the MIT license
  • First-class Docker support for quick deployment
  • Active community (3.6k GitHub stars)
  • Written in Go

Is pgrok secure?

OSV.dev has no published security advisories for pgrok's repository. No known vulnerabilities is not proof of security: it means none have been publicly catalogued.

Source: OSV.dev, checked 2026-10-14. How this is measured.

pgrok replaces

Health badge

Maintain pgrok? Add its health score to your README. The badge links back to this page.

SelfHostIndex: 77 · good

Markdown
[![SelfHostIndex health score for pgrok](https://selfhostindex.com/badge/pgrok.svg)](https://selfhostindex.com/app/pgrok/)
HTML
<a href="https://selfhostindex.com/app/pgrok/"><img src="https://selfhostindex.com/badge/pgrok.svg" alt="SelfHostIndex health score for pgrok"></a>
reStructuredText
.. image:: https://selfhostindex.com/badge/pgrok.svg
   :alt: SelfHostIndex health score for pgrok
   :target: https://selfhostindex.com/app/pgrok/

The score is recomputed on every nightly rebuild from public repository data — see how it is calculated.

Compare pgrok

12 head-to-head comparisons.

Similar remote access & vpn apps