roco

Version, currently master branch1 version
  • master branchlatestJul 15, 2026

github.com/perfecto25/roco

Network proxy daemon for routing packets through relays

0 stars
0 dependents
License: not declared

Installation

# Add this to your shard.yml
dependencies:
  roco:
    github: perfecto25/roco
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
no constraint declared
Author
Mike Reider
Target
  • roco from src/roco.cr

Dependencies

Runtime Dependencies

  • yaml*github: crystal-lang/crystal

README

ROCO (Route Coordinator)

Roco is a network proxy agent that can proxy all packets bound to unreachable endpoint via a reachable relay. ROCO is short for route coordinator.

Its inspired by sshuttle but does not rely on SSH transport or SSH encryption.

Roco is designed for simplicity and sole task of proxying TCP and UDP packets to an unreachable target. Its essentially a lightweight router that can proxy an entire network over a hop.

Quickstart

Download the roco binary

use the example configs as an example to setup a relay chain

Building

single binary for all linux versions (musl-linked binary)

docker run --rm -v $PWD:/w -w /w crystallang/crystal:1.18.0-alpine \
crystal build src/roco.cr -o bin/roco --release --static