Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ailabstw/webrtc-socket-proxy
- Owner: ailabstw
- License: mit
- Created: 2019-09-22T07:04:36.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-25T00:11:51.000Z (over 1 year ago)
- Last Synced: 2024-08-01T19:46:52.347Z (3 months ago)
- Language: Go
- Homepage:
- Size: 46.9 KB
- Stars: 37
- Watchers: 5
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-pion - ailabstw/webrtc-socket-proxy - Peer-to-peer TCP socket proxy using WebRTC (DataChannel)
README
webrtc-socket-proxySeamless peer-to-peer TCP socket proxy using WebRTC, with centrifugo as the signal server
## 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