Skip to content

WebRTC private addresses

Matthew edited this page Nov 9, 2023 · 5 revisions

Nodes communicate via WebRTC, which implements the ICE (Interactive Connection Establishment) protocol to open connections through firewalls and NATs via a mechanism relying on IP address probing. By default, WebRTC is allowed to probe private addresses.

This behaviour can trigger false-positives for port scanning detection on some web hosts, e.g. Hetzner.

Disallowing private addresses might prevent direct connections between peers using IPv4 addresses on your local network.

The default setting is true (meaning to disallow direct connections between peers using IPv4 addresses on your local network)

Streamr SDK configuration:

"network": {
    "webrtcDisallowPrivateAddresses": true
}

Streamr node configuration:

"client": {
    ...
    "network": {
         "webrtcDisallowPrivateAddresses": true
    }
}

Clone this wiki locally