Skip to content

Commit

Permalink
GITBOOK-19: Update gateway config
Browse files Browse the repository at this point in the history
  • Loading branch information
defguard-community authored and gitbook-bot committed Jul 4, 2023
1 parent 3c7d82b commit 10add6d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions in-depth/environmental-variables-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ If you're using docker image you can pass this value as environmental variables

`DEFGUARD_TOKEN` ,`-t <TOKEN>` - Token received on Defguard after completing network wizard

DEFGUARD\_GATEWAY\_NAME, --name \<NAME> - (optional) human-readable gateway name that will be displayed in Defguard webapp&#x20;

### Config file

Gateway configuration can also be read from a file by using a `--config` CLI option. Example file contents:
Expand All @@ -104,6 +106,8 @@ token = "<your_gateway_token>"
# Required: Defguard server gRPC endpoint URL
# NOTE: must replace default with actual value
grpc_url = "<defguard_grpc_url>"
# Optional: gateway name which will be displayed in Defguard web UI
name = "Gateway A"
# Required: use userspace Wireguard implementation (e.g. wireguard-go)
userspace = false
# Optional: path to TLS cert file
Expand Down

0 comments on commit 10add6d

Please sign in to comment.