Find a file
Jonas Herzig 459b538794 Add src/protos directory (see #1)
Protobuf will generate the `Mumble.rs` file there which we do not want to commit
to git but we do still need the directory to exist for protoc to work.
2019-01-30 16:27:58 +01:00
protos Initial commit 2018-12-02 23:38:46 +01:00
src Add src/protos directory (see #1) 2019-01-30 16:27:58 +01:00
.gitignore Add src/protos directory (see #1) 2019-01-30 16:27:58 +01:00
agpl-3.0.txt Initial commit 2018-12-02 23:38:46 +01:00
build.rs Initial commit 2018-12-02 23:38:46 +01:00
Cargo.lock Update tokio-tls and native-tls to get rid of openssl:0.9 (fixes #1) 2019-01-30 10:48:10 +01:00
Cargo.toml Update tokio-tls and native-tls to get rid of openssl:0.9 (fixes #1) 2019-01-30 10:48:10 +01:00
gpl-2.0.txt Initial commit 2018-12-02 23:38:46 +01:00
README.md Initial commit 2018-12-02 23:38:46 +01:00

mumble-web-proxy

mumble-web-proxy is a Mumble to WebSocket+WebRTC proxy.

The Mumble protocol uses TCP for control and UDP for voice. This proxy bridges those to WebSocket for control and WebRTC for voice.

While not limited to, its primary use-case is allowing mumble-web to connect to vanilla Mumble 1.2/1.3 servers.

Note that it requires an extension to the Mumble protocol which has not yet been stabilized and as such may change at any time, so make sure to keep mumble-web and mumble-web-proxy in sync.

Installing

Building

For now, mumble-web-proxy must be built from source. Pre-built binaries may be provided at a later point in development.

Make sure you have Cargo (Rust's package manager) installed (e.g. via rustup), then run:

git clone https://github.com/johni0702/mumble-web-proxy
cd mumble-web-proxy
cargo build --release

The final binary will be at target/release/mumble-web-proxy.

Running

mumble-web-proxy can only accept insecure websocket connections, so you will want to run it behind some web server which can terminate TLS. See mumble-web's README for an example.

Run mumble-web-proxy --help to see available options. E.g. if you want the proxy to listen on port 64737 and connect to your Mumble server at mumbleserver:64738, run:

mumble-web-proxy --listen-ws 64737 --server mumbleserver:64738

Firewalls or NAT

Note: Not yet implemented.

If your mumble-web-proxy is running behind a firewall or NAT, you need to allocate a range of ports to it which it can use for ICE connection establishment.

mumble-web-proxy --listen-ws 64737 --server mumbleserver:64738 --ice-start 20000 --ice-end 21000

For NATs, you additionally need to provide it with its publicly reachable IP address(es):

--ice-ipv4 1.2.3.4 --ice-ipv6 1:2:3:4:5::6

License

mumble-web-proxy is available under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. Additionally, it is available under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

The GPLv2 is used because libnice.rs uses the GPLv2 which is not compatible with the AGPLv3. The AGPLv3 is used to allow dropping of the GPLv2 when/if libnice.rs is ever dropped.