Autorok is a Rust-powered auto-configuration tool built on top of zrok that makes peer-to-peer connectivity effortless even without a public IP address.
Normally, two devices can't talk to each other directly unless at least one has a public IP. That's a dealbreaker if you're behind NAT, on a home network, or just don't want to mess with port forwarding.
Autorok solves this by automatically handling zrok's setup and configuration for you, letting you punch through that limitation with zero manual tunnel configuration.
- Share a website running on your local machine with anyone, instantly.
- Host a game server (e.g. Minecraft) and let friends join no public IP, no router config needed.
- Connect peers directly for any service that normally requires public network access.
- Backend Mode support: udp, tcp
Autorok comes with a simple interactive CLI that handles all the zrok setup for you:
Getting a peer-to-peer connection running takes just four steps:
Grab an environment token from https://api.zrok.io/.
This token is what links your environment so others using the same one can join your services. After that enable your token in autorok.
The host defines what they want to expose, like a website or a game server, and creates a service for it through the CLI.
Once created, the host shares the service.
Anyone using the same environment token can simply join that shared service and connect directly. No public IP required on either end.
That's it. No router settings, no dynamic DNS, no fiddling with firewalls. Just get a token, create, share, and join.
- Required
RustandCargoto compile.
cargo build --release