Glossary

ICE Protocol

ICE (Interactive Connectivity Establishment) is the method WebRTC uses to connect two browsers directly, even when both sit behind routers or firewalls. It is defined in RFC 8445.

How ICE works

ICE collects every address where the browser might be reachable. Each one is called a candidate:

  • Host candidate: your device's address on its local network.
  • Server-reflexive candidate: your public address, as reported by a STUN server the browser asks.
  • Relay candidate: an address on a TURN server, which forwards the traffic when a direct connection fails.

The two browsers exchange their candidates, test the possible pairs, and keep the best one that works.

Why ICE can reveal your real IP

The server-reflexive candidate is your public IP address. To learn it, the browser sends a STUN request over UDP. Browsers can't send UDP through a SOCKS5 proxy, so the request leaves from your real IP, and the STUN server sees that address. A web page can also read the candidates from JavaScript. Together, these cause a WebRTC leak.

Modern browsers already hide the host candidate behind a random .local name, so your local network address stays private.

ICE in Kameleo

Kameleo's WebRTC spoofing replaces the addresses in the candidates a page can read. The latest Chroma kernels also send the STUN requests through your SOCKS5 proxy when your provider supports UDP, so the STUN server sees your proxy's IP too.

‍

Hi, we’re Kameleo!

Trusted by thousands of growth hackers, and enterprises worldwide, Kameleo makes browser automation and web scraping smarter, safer, and unstoppable. With our anti-detect browser, you can bypass anti-bot defenses, and stay one step ahead - all with human-like browsers.