Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ailabstw/webrtc-socket-proxy

Peer-to-peer TCP socket proxy using WebRTC
https://github.com/ailabstw/webrtc-socket-proxy

Last synced: 2 days ago
JSON representation

Peer-to-peer TCP socket proxy using WebRTC

Awesome Lists containing this project

README

        


webrtc-socket-proxy


Seamless peer-to-peer TCP socket proxy using WebRTC, with centrifugo as the signal server




License: MIT





## Setup

* Install `webrtc-socket-proxy`

```
$ go get -u github.com/poga/webrtc-socket-proxy
```

* Setup [centrifugo](https://github.com/centrifugal/centrifugo/releases) with [example config](config.centrifugo.test.json).

## Usage

```
# the `As` proxy
$ webrtc-socket-proxy -signal= -secret= -as= -upstreamAddr=localhost:8000
# the `To` proxy
$ webrtc-socket-proxy -signal= -secret= -to= -listen=:4444
```

You can send data to your `` via connecting to `:4444` now.

## Roadmap

- [ ] TURN server support
- [ ] Multiplex Connections. Currently we only support one connnection per proxy-pair

## License

The MIT License