wg-tui

Crates.iowg-tui
lib.rswg-tui
version0.1.15
created_at2025-12-07 05:07:51.101104+00
updated_at2026-01-23 14:28:08.652623+00
descriptionA terminal user interface for managing WireGuard VPN tunnels
homepage
repositoryhttps://github.com/excoffierleonard/wg-tui
max_upload_size
id1971197
size69,878
Leonard Excoffier (excoffierleonard)

documentation

https://docs.rs/wg-tui

README

wg-tui

A terminal user interface for managing WireGuard VPN tunnels.

Features

  • List and manage WireGuard tunnels
  • Start/stop tunnels with a single keypress
  • View tunnel details (peers, endpoints, transfer statistics)
  • Import tunnels from .conf files
  • Export all tunnels to a zip archive
  • Delete tunnels

Requirements

  • Linux
  • WireGuard tools (wg, wg-quick)
  • ip command (iproute2)
  • Root privileges (the application will prompt for sudo if needed)

Installation

With Cargo

cargo install wg-tui

For Linux

curl -fsSL https://raw.githubusercontent.com/excoffierleonard/wg-tui/main/scripts/install.sh | sh

Usage

wg-tui

Keybindings

Key Action
j / Down Move selection down
k / Up Move selection up
Enter / Space Toggle tunnel (start/stop)
d Toggle details panel
a Add/import tunnel
e Export all tunnels to zip
x Delete selected tunnel
r Refresh tunnel list
g Jump to first tunnel
G Jump to last tunnel
? Show help
q / Esc Quit

License

MIT License - see LICENSE for details.

Commit count: 42

cargo fmt