You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: deployment-strategies/gateway/README.md
+49-20Lines changed: 49 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,32 +23,61 @@ Also, if core has a custom SSL CA to secure gRPC communication, [you need the CA
23
23
## Package Install
24
24
25
25
1. On the [release page](https://github.com/DefGuard/gateway/releases) find and download a correct software package for your system (currently DEB, RPM and TXZ are available).
26
-
2.Install the package using relevant system tools:
26
+
2. Install the package using relevant system tools:
27
27
28
-
**Ubuntu/Debian:**
28
+
**Ubuntu/Debian:**
29
29
30
-
```bash
31
-
sudo dpkg -i <path_to_deb_package>
32
-
```
30
+
```bash
31
+
sudo dpkg -i <path_to_deb_package>
32
+
```
33
33
34
-
**Fedora/Red Hat Linux/SUSE:**
34
+
**Fedora/Red Hat Linux/SUSE:**
35
35
36
-
```bash
37
-
sudo rpm -i <path_to_rpm_package>
38
-
```
36
+
```bash
37
+
sudo rpm -i <path_to_rpm_package>
38
+
```
39
39
40
-
**FreeBSD:**
40
+
**FreeBSD:**
41
+
42
+
```bash
43
+
pkg add <path_to_txz_package>
44
+
```
41
45
42
-
```bash
43
-
pkg add <path_to_txz_package>
44
-
```
45
46
3. Fill in the default configuration file (`/etc/defguard/gateway.toml`) with values corresponding to your Defguard installation (token and gRPC enpoint URL).
46
-
4. Enable and start the systemd service.
47
+
4. On systems with [systemd](https://systemd.io/), enable and start the **systemd** service:
48
+
49
+
```bash
50
+
sudo systemctl enable defguard-gateway.service
51
+
sudo systemctl start defguard-gateway.service
52
+
```
53
+
54
+
On systems with rc.d (like FreeBSD, NetBSD), start the service. For example, on OPNsense:
55
+
56
+
```bash
57
+
sudo /usr/local/etc/rc.d/defguard_gateway start
58
+
```
59
+
60
+
## Package Upgrade
61
+
62
+
### FreeBSD/OPNsense
63
+
64
+
1. Uninstall the current version.
65
+
66
+
```bash
67
+
pkg delete defguard-gateway
68
+
```
47
69
48
-
```bash
49
-
sudo systemctl enable defguard-gateway.service
50
-
sudo systemctl start defguard-gateway.service
51
-
```
70
+
2. Install a newer version (as described above in [Package Install](#package-install)).
0 commit comments