pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/s0mecode/tunk

"anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-a33d805aa3bce2cb.css" /> GitHub - s0mecode/tunk · GitHub
Skip to content

s0mecode/tunk

Repository files navigation

tunk - Docker-like Tunnel Manager

Simple, declarative, scalable tunnel management

tunk is a daemon-based tunnel manager with a client-daemon architecture. It manages SSH tunnels through a plugin-based backend system, allowing you to define tunnels declaratively and control them via CLI.

Quick Start

# Install (requires systemd)
curl -fsSL https://cdn.nilla.run/i/tunk-sd | bash

# Create a backend config ( ~/.config/tunk/backends/my-ssh.ron )
SecureShell(
  (ip: "1.2.3.4", port: 22),
  (username: "user", key_path: Some("/home/user/.ssh/id_rsa"), password: None),
)

# Create a tunnel config ( ~/.config/tunk/tunnels/web.ron )
(
  backend: File("my-ssh"),
  direction: Reverse,
  local: (ip: "127.0.0.1", port: 8080),
  remote: (ip: "0.0.0.0", port: 80),
)

# Manage tunnels
tunk list          # List all tunnels
tunk start web     # Start tunnel
tunk stop web      # Stop tunnel
tunk restart web   # Restart tunnel
tunk status web    # Check status
tunk reload        # Reload configs

Architecture

  • tunk (CLI): Client sending commands to daemon via Unix socket
  • tunkd (Daemon): Manages tunnel lifecycle, handles auto-restart
  • tunk-backends: Pluggable tunnel providers (SSH supported)

Documentation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy