Skip to content

dzianisv/tunnelify

 
 

Repository files navigation

Go

Flow

ssh --- connect()---> p2p-tunnel client ---- negotiation ----> p2p-tunnel server -- connect() --> ssh

Backend protocol

Usage

server side

KEY=$(p2p-tunnel newkey)
p2p-tunnel server -key=$KEY -addr=127.0.0.1:22

share $KEY value to client side

client side

p2p-tunnel client -key=$KEY -addr=127.0.0.1:2222

client side other terminal

$ ssh -p 2222 127.0.0.1

About

WebRTC-based Peer-to-Peer tunneling

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 93.9%
  • Shell 6.1%