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
+36-39Lines changed: 36 additions & 39 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,61 +23,58 @@ 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:**
41
-
42
-
```bash
43
-
pkg add <path_to_txz_package>
44
-
```
40
+
**FreeBSD:**
45
41
42
+
```bash
43
+
pkg add <path_to_txz_package>
44
+
```
46
45
3. Fill in the default configuration file (`/etc/defguard/gateway.toml`) with values corresponding to your Defguard installation (token and gRPC enpoint URL).
47
-
4. On systems with [systemd](https://systemd.io/), enable and start the **systemd** service:
46
+
4. On systems with [systemd](https://systemd.io/), enable and start the **systemd** service:
48
47
49
-
```bash
50
-
sudo systemctl enable defguard-gateway.service
51
-
sudo systemctl start defguard-gateway.service
52
-
```
48
+
```bash
49
+
sudo systemctl enable defguard-gateway.service
50
+
sudo systemctl start defguard-gateway.service
51
+
```
53
52
54
-
On systems with rc.d (like FreeBSD, NetBSD), start the service. For example, on OPNsense:
53
+
On systems with rc.d (like FreeBSD, NetBSD), start the service. For example, on OPNsense:
55
54
56
-
```bash
57
-
sudo /usr/local/etc/rc.d/defguard_gateway start
58
-
```
55
+
```bash
56
+
sudo /usr/local/etc/rc.d/defguard_gateway start
57
+
```
59
58
60
59
## Package Upgrade
61
60
62
61
### FreeBSD/OPNsense
63
62
64
-
1. Uninstall the current version.
63
+
1. Uninstall the current version.
65
64
66
-
```bash
67
-
pkg delete defguard-gateway
68
-
```
65
+
```bash
66
+
pkg delete defguard-gateway
67
+
```
68
+
2. Install a newer version (as described above in [Package Install](./#package-install)).
69
69
70
-
2. Install a newer version (as described above in [Package Install](#package-install)).
70
+
```bash
71
+
pkg add <path_to_txz_package>
72
+
```
73
+
3. Restart Defguard Gateway service.
71
74
72
-
```bash
73
-
pkg add <path_to_txz_package>
74
-
```
75
-
76
-
3. Restart Defguard Gateway service.
77
-
78
-
```bash
79
-
sudo /usr/local/etc/rc.d/defguard_gateway restart
80
-
```
75
+
```bash
76
+
sudo /usr/local/etc/rc.d/defguard_gateway restart
77
+
```
81
78
82
79
## Docker Compose
83
80
@@ -133,9 +130,9 @@ opnsense-patch
133
130
You can find detailed description of all fields [here](../../configuration.md#gateway-configuration).
134
131
{% endhint %}
135
132
136
-
If everything went well, Defguard Gateway should be connected to Defguard Core and you can start [adding new devices to your network](../../features/setting-up-your-instance/features/wireguard/adding-wireguard-devices.md).
133
+
If everything went well, Defguard Gateway should be connected to Defguard Core and you can start [adding new devices to your network](../../admin-and-features/wireguard/remote-desktop-activation.md).
137
134
138
-
See also: [how to configure Defguard in OPNsense](../../admin-and-features/setting-up-your-instance/gateway/README.md#opnsense)
135
+
See also: [how to configure Defguard in OPNsense](../../admin-and-features/setting-up-your-instance/gateway/)
0 commit comments