runnel-rs 0.2.2

A Rust proxy and tunnel toolbox with WireGuard-style, TUN, SOCKS, and TLS-based transports.
Documentation
# Sample native-http config.
# Use RUNNEL_PASSWORD for the shared secret; do not commit real passwords.

log: info
log_file: ./logs/runnel-native-http.log
telemetry_sock: ./run/runnel-native-http.sock
tui: true

client:
  listen: 127.0.0.1:1080
  server: SERVER-IP:1443
  server_name: SERVER-NAME
  ca_cert: ./certs/server.crt
  mode: native-http
  path: /connect
  filter: proxy
  user_agent: Mozilla/5.0
  handshake_timeout_secs: 10
  connect_timeout_secs: 10
  max_header_size: 8192
  system_proxy: false

server:
  listen: 0.0.0.0:1443
  cert: ./certs/server.crt
  key: ./certs/server.key
  mode: native-http
  path: /connect
  auth_window_secs: 120
  handshake_timeout_secs: 10
  connect_timeout_secs: 10
  max_header_size: 16384
  max_tunnel_body_size: 8192
  allow_private_targets: false
  fallback_url: https://example.org
  fallback_timeout_secs: 15
  max_fallback_body_size: 1048576

cert:
  cert: ./certs/server.crt
  key: ./certs/server.key
  names:
    - SERVER-NAME