# Firewalls and VPNs

For organizations that secure their networks with firewalls or use VPNs, you may need to add exceptions for the domains and ports Rep.ai uses to communicate over our API, and to set up peer-to-peer connections with your website's visitors. Rep.ai uses [WebRTC](https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API) to establish peer-to-peer connections with visitors.

{% hint style="info" %}
Note that these configurations are just suggestions. Every organizations network and device policies will be different, and you may only need some of these configurations, or completely different ones depending on how your network or device browser security is configured.
{% endhint %}

### Domains

| Domain                                                         | Description                        |
| -------------------------------------------------------------- | ---------------------------------- |
| <p><code>*.rep.ai</code><br><code>*.servicebell.com</code></p> | UI dashboard & API for Rep.ai.     |
| `*.stun.twilio.com`                                            | STUN server for WebRTC connections |
| `*.turn.twilio.com`                                            | TURN server for WebRTC connections |

### Ports

<table><thead><tr><th width="176.0182544209926">Port</th><th width="184.33333333333331">Traffic</th><th>Description</th></tr></thead><tbody><tr><td><code>443</code></td><td>External TCP</td><td>HTTPS traffic to Rep.ai</td></tr><tr><td><code>3478-3479</code></td><td>External TCP / UDP</td><td>WebRTC communications to STUN and TURN servers</td></tr><tr><td><code>20000-65535</code></td><td>Local UDP</td><td>WebRTC communications on local network</td></tr></tbody></table>
