pgrok vs rathole

A side-by-side comparison of two self-hosted remote access & vpn options — licensing, setup difficulty, resource needs, and what each one replaces.

Not the right match-up?
Featurepgrokrathole
CategoryRemote Access & VPNRemote Access & VPN
LicenseMITApache-2.0
LanguageGoRust
Setup difficultyMediumMedium
Min. RAM64 MB64 MB
Deploymentdocker, binarybinary, docker
GitHub stars★ 3,546★ 13,999
First released20232021
Replacesngrokngrok, frp

Why pick each one

Choose pgrok if…

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

Choose rathole if…

  • Released under the Apache-2.0 license
  • First-class Docker support for quick deployment
  • Mature project with 14k GitHub stars
  • Written in Rust
rathole details

Frequently asked questions

Is pgrok or rathole better?

Neither is universally better. rathole has the larger community; both share a medium setup difficulty, so the decision comes down to features and licensing.

Are pgrok and rathole free and open-source?

Yes. pgrok is licensed under MIT and rathole under Apache-2.0. Both can be self-hosted at no software cost.

Can I run pgrok and rathole with Docker?

pgrok: yes. rathole: yes.

Related comparisons