Security Considerations | Docs Firezone Link Search Menu Expand Document

Security Considerations

Disclaimer: Firezone is still beta software. The codebase has not yet received a formal security audit. For highly sensitive and mission-critical production deployments, we recommend limiting access to the web interface, as detailed below.

List of services and ports

Shown below is a table of ports used by Firezone services.

Service Default port Listen address Description
Nginx 80 443 all Public HTTP(S) port for administering Firezone and facilitating authentication.
WireGuard 51820 all Public WireGuard port used for VPN sessions.
Postgresql 15432 Local-only port used for bundled Postgresql server.
Phoenix 13000 Local-only port used by upstream elixir app server.

Production deployments

For production and public-facing deployments where a single administrator will be responsible for generating and distributing device configurations to end users, we advise you to consider limiting access to Firezone’s publicly exposed web UI (by default ports 443/tcp and 80/tcp) and instead use the WireGuard tunnel itself to manage Firezone.

For example, assuming an administrator has generated a device configuration and established a tunnel with local WireGuard address, the following ufw configuration would allow the administrator the ability to reach the Firezone web UI on the default tunnel address for the server’s wg-firezone interface:

root@demo:~# ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), allow (routed)
New profiles: skip

To                         Action      From
--                         ------      ----
22/tcp                     ALLOW IN    Anywhere
51820/udp                  ALLOW IN    Anywhere
Anywhere                   ALLOW IN
22/tcp (v6)                ALLOW IN    Anywhere (v6)
51820/udp (v6)             ALLOW IN    Anywhere (v6)

This would leave only 22/tcp exposed for SSH access to manage the server (optional), and 51820/udp exposed in order to establish WireGuard tunnels.

Note: This type of configuration has not been fully tested with SSO authentication and may it to break or behave unexpectedly.

Reporting Security Issues

To report any security-related bugs, see our security bug reporting policy .