Skip to content

wowjeeez/railscale

Repository files navigation

Railscale

Railscale

Insanely fast (really) streaming proxy/dns/packet capture/maybe even firewall service. For now it supports http header remapping and routing. Everything is named after railway things

  • Very WIP

Goals

  • HTTP 1.0, HTTP1.1, HTTP2, HTTP3 support
  • Multiplexed streams
  • Keepalive support
  • Load Balancing capabilities (reverse too)
  • DNS over TLS
  • TLS 1.3 support
  • DynDNS
  • Fully erasable types, 0 overhead abstractions
  • Correctness
  • Comfortable tailscale integration

Normal usage

  • Custom DNS
  • Reverse proxy
  • Packet capture/logging
  • request matchers
  • Basic firewall
  • dev/tun mode maybe idk

Metrics & Tracing

  • OTEL
  • Logging features

Benchmarking

  • Run the shell script

Architecture

Railscale is very complex, (mainly because I wanted the entire network layer to be statically monomorphic) compared to what one would expect from a proxy. The reason being is that railscale doesnt buffer requests in memory, and is tuned for maximum performance. The architecture is also designed to be extensible for basically any network related application.

(And now claude also fucked it up a bit)

Railscale mental model:

  • TADADA

Unorthodox networks

Chatoic

  • Bypass firewalls & ISP/gov restrictions
  • Bypass strict corporate network policies & NAT
  • Rotate proxies
  • Posture spoofing
  • SSH & RDP where they are explicitly forbidden
  • Tor mesh
  • NTLM gateway
  • Interconnect multiple corporate machines conveniently
  • Strict networks? Not when YOU ARE THE NETWORK
  • Virtualization & usage in restricted/monitored environments
  • more cool shit here
  • UDP wireguard peering to tailscale

About

L4-7 Tailscale native scriptable proxy server and dns resolver

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors