https://github.com/rhyanz46/tunneling
make tunneling for your server more easly
https://github.com/rhyanz46/tunneling
network networking tunnel tunneling
Last synced: 11 months ago
JSON representation
make tunneling for your server more easly
- Host: GitHub
- URL: https://github.com/rhyanz46/tunneling
- Owner: Rhyanz46
- License: mit
- Created: 2025-05-23T10:40:41.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-09T09:59:56.000Z (about 1 year ago)
- Last Synced: 2025-06-09T10:35:00.702Z (about 1 year ago)
- Topics: network, networking, tunnel, tunneling
- Language: Go
- Homepage:
- Size: 64.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# tunnel-manager
[](https://opensource.org/licenses/MIT)
Tunnel Manager adalah CLI tool berbasis Go untuk mengelola SSH tunnel ke VPS secara mudah dan aman. Fitur utama:
- Setup otomatis SSH key ke server (tanpa perlu copy manual)
- Manajemen multi tunnel (add, remove, list)
- Koneksi aman ke VPS tanpa password setelah login pertama
- Instalasi dan penggunaan mudah di Linux, macOS, dan Windows
## installation
```
$ git clone https://github.com/Rhyanz46/tunneling.git
$ cd tunneling
make install
```
- Pastikan Go sudah terinstall di sistem Anda.
- Perintah di atas akan otomatis membangun dan menginstall tunnel-manager ke /usr/local/bin (Linux/macOS).
- Untuk Windows, jalankan `make install` lalu salin tunnel-manager.exe ke folder PATH Anda secara manual.
## usage
### show help
```
$ tunnel-manager
```
example output
```
$ tunnel-manager
Usage:
tunnel-manager start - Start all tunnels
tunnel-manager start -d - Start all tunnels in background (daemon)
tunnel-manager stop - Stop background tunnel-manager
tunnel-manager add [description]
tunnel-manager remove - Remove a tunnel
tunnel-manager list - List all tunnels
tunnel-manager status - Show connection status
tunnel-manager login - Login and setup SSH key authentication
```
### login dan setup SSH key
```
$ tunnel-manager login
# Masukkan host, username, password, dan port saat diminta.
# Jika berhasil, SSH key akan otomatis dibuat dan diupload ke server.
```
### start di background (daemon)
```
$ tunnel-manager start -d
# Tunnel manager akan berjalan di background.
```
### stop background tunnel-manager
```
$ tunnel-manager stop
# Menghentikan tunnel-manager yang berjalan di background.
```
### add tunnel
```
$ tunnel-manager add docker-daemon 2375 2375 "docker daemon"
```
# Ilustration
ini adalah sequence diagram ilustrasi high-level langkah dari login command:
## login

## start

## connection logic
