Back to Wg Easy

Optional Configuration

docs/content/advanced/config/optional-config.md

15.2.2935 B
Original Source

You can set these environment variables to configure the container. They are not required, but can be useful in some cases.

EnvDefaultExampleDescription
PORT518216789TCP port for Web UI.
HOST0.0.0.0localhostIP address web UI binds to.
INSECUREfalsetrueIf access over http is allowed
DISABLE_IPV6falsetrueIf IPv6 support should be disabled

/// note | IPv6 Caveats

Disabling IPv6 will disable the creation of the default IPv6 firewall rules and won't add a IPv6 address to the interface and clients.

You will however still see a IPv6 address in the Web UI, but it won't be used.

This option can be removed in the future, as more devices support IPv6.

///