Skip to content

Commit 87667e0

Browse files
defguard-communitygitbook-bot
authored andcommitted
GITBOOK-281: change request with no subject merged in GitBook
1 parent 873563c commit 87667e0

File tree

13 files changed

+50
-57
lines changed

13 files changed

+50
-57
lines changed

SUMMARY.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,25 @@
1313
* [Password change / Reset](help/changing-your-password.md)
1414
* [Setting up 2FA/MFA](help/setting-up-2fa-mfa.md)
1515
* [Desktop Client](help/desktop-client/README.md)
16-
* [General troubleshooting](help/desktop-client/general-troubleshooting.md)
1716
* [Windows installer exit codes](help/desktop-client/windows-installer-exit-codes.md)
18-
* [Upgrading](help/desktop-client/upgrading.md)
1917

2018
## Admin & features
2119

2220
* [Troubleshooting Guide](admin-and-features/troubleshooting/README.md)
2321
* [Sending support information](admin-and-features/troubleshooting/sending-support-info.md)
2422
* [Deploying your instance](features/setting-up-your-instance/README.md)
23+
* [Upgrading](features/setting-up-your-instance/upgrading.md)
2524
* [One-line install script](features/setting-up-your-instance/one-line-install.md)
2625
* [Standalone package based installation](admin-and-features/setting-up-your-instance/standalone-package-based-installation.md)
27-
* [Securing gRPC communication](admin-and-features/setting-up-your-instance/grpc-ssl-communication.md)
28-
* [OpenID RSA key](admin-and-features/setting-up-your-instance/openid-rsa-key.md)
29-
* [Configuration](features/setting-up-your-instance/configuration.md)
3026
* [Docker images and tags](admin-and-features/setting-up-your-instance/docker-images-and-tags.md)
3127
* [Docker Compose](features/setting-up-your-instance/docker-compose.md)
3228
* [Kubernetes](community-features/setting-up-your-instance/kubernetes.md)
3329
* [Gateway](admin-and-features/setting-up-your-instance/gateway/README.md)
3430
* [Running gateway on MikroTik routers](admin-and-features/setting-up-your-instance/gateway/running-gateway-on-mikrotik-routers.md)
31+
* [Securing gRPC communication](admin-and-features/setting-up-your-instance/grpc-ssl-communication.md)
32+
* [OpenID RSA key](admin-and-features/setting-up-your-instance/openid-rsa-key.md)
33+
* [Configuration](features/setting-up-your-instance/configuration.md)
3534
* [Pre-production and development releases](admin-and-features/setting-up-your-instance/pre-production-and-development-releases.md)
36-
* [OpenID RSA Certificates](admin-and-features/setting-up-your-instance/openid-rsa-certificates.md)
37-
* [Upgrading](features/setting-up-your-instance/upgrading.md)
3835
* [High Availability and Failover](admin-and-features/setting-up-your-instance/high-availability-and-failover.md)
3936
* [Health check](features/setting-up-your-instance/health-check.md)
4037
* [Remote user enrollment](features/remote-user-enrollment/README.md)

admin-and-features/setting-up-your-instance/docker-images-and-tags.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
icon: container-storage
3+
---
4+
15
# Docker images and tags
26

37
All docker images for gateway, core and proxy have these aditional tags:

admin-and-features/setting-up-your-instance/high-availability-and-failover.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
icon: bolt
3+
---
4+
15
# High Availability and Failover
26

37
Currently we support the following HA/failover scenarios:

admin-and-features/setting-up-your-instance/openid-rsa-certificates.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

admin-and-features/setting-up-your-instance/standalone-package-based-installation.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
icon: box-taped
3+
---
4+
15
# Standalone package based installation
26

37
## Introduction
@@ -656,7 +660,7 @@ DEFGUARD_DB_PASSWORD="defguard"
656660
DATABASE_URL="postgresql://defguard:defguard@localhost/defguard"
657661
```
658662

659-
 Reload changes in `/etc/defguarc/core.conf`
663+
Reload changes in `/etc/defguarc/core.conf`
660664

661665
```
662666
systemctl restart defguard.service

admin-and-features/troubleshooting/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,18 @@ Common problems may be:
2222

2323
See the "[Desktop client real-time/auto sync doesn't work](./#desktop-client-real-time-auto-sync-doesnt-work)" answer.
2424

25+
## Client: failed to configure DNS (Linux)
26+
27+
This error commonly occurs on Ubuntu 22. Defguard client internally calls `resolvconf` to set DNS servers. The only tested backend is `systemd-resolved`, so make sure you use it before proceeding further (`systemctl status systemd-resolved`). 
28+
29+
On newer Ubuntu distributions (23 and up) `resolvconf` is, by default, a symbolic link to `resolvectl` and this is the recommended way of interacting with the system's DNS configuration. On Ubuntu 22 the symbolic link doesn't exist and the most straightforward way to fix this issue is to manually create it:
30+
31+
```bash
32+
sudo ln -s /usr/bin/resolvectl /usr/sbin/resolvconf
33+
```
34+
35+
If this fails, one may also try installing one of the packages providing the `resolvconf` command, like `openresolv` or `resolvconf` but this has not been tested and may possibly cause issues with `systemd-resolved`, so proceed at your own risk.
36+
2537
## TOTP / Email codes for MFA do not work
2638

2739
If you are having problems with TOTP codes form 2FA/MFA (when logging in to defguard or when connecting to VPN) please make sure your clock on the server that defguard core is running is set properly.

features/setting-up-your-instance/docker-compose.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
icon: truck-container
3+
---
4+
15
# Docker Compose
26

37
Here are basic and simple docker-compose configuration files that will enable you to quickly deploy your own instance manually. We also assume in this example, that all services will deployed on dedicated servers/VMs - separating them physically, thus each compose is for a separate service.

features/setting-up-your-instance/health-check.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
icon: stethoscope
3+
---
4+
15
# Health check
26

37
## Core & Proxy

features/setting-up-your-instance/one-line-install.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
icon: rocket
3+
---
4+
15
# One-line install script
26

37
{% hint style="info" %}

features/setting-up-your-instance/upgrading.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
description: Notes on upgrading Defguard and its components
3+
icon: chevrons-up
34
---
45

56
# Upgrading
@@ -80,3 +81,10 @@ defguard | 2024-01-24T14:17:47.815294Z INFO defguard::grpc: Connecting to proxy
8081
proxy_1 | 2024-01-24T14:17:47.819504Z INFO defguard_proxy: RPC client connected from: 10.123.123.2:35916
8182
```
8283

84+
## Desktop Client 0.1.x -> 0.2.0
85+
86+
With this release we have added Multi-Factor Authentication to the desktop client. Unfortunately desktop client database has change significantly as well as business logic (for example endpoints to proxy for MFA handshake). We have not stored them previously in the database - thus they cannot be recovered/updated automatically.
87+
88+
{% hint style="warning" %}
89+
That unfortunately means you have to remove all your instances before upgrading (or just remove any desktop client configuration files, including the database) and start the enrollment (adding new instance) again after upgrading - just by adding a new device (you can remove the old one).
90+
{% endhint %}

0 commit comments

Comments
 (0)