Skip to content

411R324/123

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

backhaul_freemium

A development-focused, clean-room reverse-tunnel core with high config compatibility for the original script output.

Build

go build -o bin/backhaul_freemium ./cmd/backhaul

Run

./bin/backhaul_freemium -c /path/to/config.toml
./bin/backhaul_freemium -v

Compatible SH Manager

chmod +x scripts/backhaul_freemium.sh
./scripts/backhaul_freemium.sh

The script creates config files under /root/backhaul-core/configs and systemd services named backhaul_freemium-<config_name>.service.

Transport Support Matrix

  • tcp: supported
  • slipstream (slip/sstream alias): supported (custom handshake + framed stream)
  • slipstreammux (slipmux/sstreammux alias): supported (slipstream + mux)
  • rawsocket (raw/socketraw alias): supported
  • anytls: supported (requires tls_cert and tls_key on server)
  • ws / wss: supported (RFC6455 handshake + framing)
  • tcpmux / xtcpmux: supported (internal stream multiplexer)
  • wsmux / wssmux / xwsmux: supported (ws + mux)
  • http / https: supported (HTTP CONNECT control channel, optional TLS)
  • httpmux / httpsmux: supported (HTTP CONNECT + mux, optional TLS)
  • kcp / kcpmux / xkcpmux: supported (KCP reliable UDP, optional mux)
  • grpc / grpcs: supported (gRPC bidirectional control stream, optional TLS)
  • grpcmux / grpcsmux: supported (gRPC + mux, optional TLS)
  • udp / udpmux: supported (native UDP control channel, with optional mux)
  • dns / dnsmux: supported (DNS-style UDP mode, default port 53 if omitted)
  • tun: accepted and mapped to mux runtime path for compatibility
    • if [tun].encapsulation = "slipstream" => runtime uses slipstreammux

Port Mapping Formats

  • 443
  • 443=5000
  • 443-600
  • 443-600:5201

Sections Parsed

  • [listener]
  • [dialer]
  • [transport]
  • [ports]
  • [security]
  • [tls]
  • [logging]
  • [mux]
  • [tun]
  • [ipx]
  • [tuning]
  • [accept_udp]

Runtime Notes

  • token auth is active by default (your_token unless overridden).
  • accept_udp = true enables UDP relay through control channels.
  • ipx/tun advanced kernel-level behavior is compatibility-mapped and intended for iterative hardening.

Development Workflow

  • build binary:
go build -o bin/backhaul_freemium.exe ./cmd/backhaul

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Go 68.9%
  • Shell 31.1%