Service permettant de créer des tunnels SSH entre 2 machines derrière un NAT
go
Go to file
wpetit 56d7174b96 feat: add ascii diagram to tunnel creation message 2023-09-18 15:17:51 -06:00
cmd/server feat: initial commit 2023-09-12 08:03:34 -06:00
.dockerignore feat: initial commit 2023-09-12 08:03:34 -06:00
.env.dist feat: initial commit 2023-09-12 08:03:34 -06:00
.gitignore feat: initial commit 2023-09-12 08:03:34 -06:00
Dockerfile feat: initial commit 2023-09-12 08:03:34 -06:00
Makefile feat: initial commit 2023-09-12 08:03:34 -06:00
README.md feat: initial commit 2023-09-12 08:03:34 -06:00
diagram.txt feat: add ascii diagram to tunnel creation message 2023-09-18 15:17:51 -06:00
direct_tcp_handler.go feat: initial commit 2023-09-12 08:03:34 -06:00
go.mod feat: initial commit 2023-09-12 08:03:34 -06:00
go.sum feat: initial commit 2023-09-12 08:03:34 -06:00
modd.conf feat: add ascii diagram to tunnel creation message 2023-09-18 15:17:51 -06:00
option.go feat: initial commit 2023-09-12 08:03:34 -06:00
request_handler.go feat: initial commit 2023-09-12 08:03:34 -06:00
server.go feat: initial commit 2023-09-12 08:03:34 -06:00
session_handler.go feat: add ascii diagram to tunnel creation message 2023-09-18 15:17:51 -06:00
session_manager.go feat: initial commit 2023-09-12 08:03:34 -06:00

README.md

Rebound

Serveur utilisant le protocole SSH pour créer des tunnels TCP/IP.

Usage

Ouvrir un tunnel sur un port local

ssh -R 0:<target_address>:<target_port> root@rebound.lookingfora.name -p 2222

Se connecter à un tunnel ouvert

ssh -L <local_port>:0.0.0.0:1 <secret>@rebound.lookingfora.name -p 2222

Vous pourrez ensuite accéder au service sur 127.0.0.1:<local_port> comme si c'était <target_address>:<target_port>.