Skip to content

Commit b6bd163

Browse files
defguard-communitygitbook-bot
authored andcommitted
GITBOOK-444: change request with no subject merged in GitBook
1 parent 75a609e commit b6bd163

File tree

2 files changed

+38
-45
lines changed
  • admin-and-features/setting-up-your-instance/gateway
  • deployment-strategies/gateway

2 files changed

+38
-45
lines changed

admin-and-features/setting-up-your-instance/gateway/README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
---
2-
icon: dungeon
3-
---
4-
5-
# OPNsense
1+
# OPSense Configuartion
62

73
[OPNsense®](https://opnsense.org/) is an open source, feature rich firewall and routing platform, offering cutting-edge network protection.
84

@@ -27,7 +23,7 @@ This instruction helps configuring Defguard Gateway in OPNsense. This is based o
2723

2824
<figure><img src="../../../.gitbook/assets/OPNSense-interface-assignments.png" alt="Interface Assignments"><figcaption></figcaption></figure>
2925

30-
5. Select the newly create interface by clicking on its name (in this example _[ParisOfficeVPN]_).
26+
5. Select the newly create interface by clicking on its name (in this example _\[ParisOfficeVPN]_).
3127
6. Select **Enable Interface**
3228
7. Select **Prevent interface removal**
3329
8. Click **Save**, and then **Apply changes**

deployment-strategies/gateway/README.md

Lines changed: 36 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -23,61 +23,58 @@ Also, if core has a custom SSL CA to secure gRPC communication, [you need the CA
2323
## Package Install
2424

2525
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:
2727

28-
**Ubuntu/Debian:**
28+
**Ubuntu/Debian:**
2929

30-
```bash
31-
sudo dpkg -i <path_to_deb_package>
32-
```
30+
```bash
31+
sudo dpkg -i <path_to_deb_package>
32+
```
3333

34-
**Fedora/Red Hat Linux/SUSE:**
34+
**Fedora/Red Hat Linux/SUSE:**
3535

36-
```bash
37-
sudo rpm -i <path_to_rpm_package>
38-
```
36+
```bash
37+
sudo rpm -i <path_to_rpm_package>
38+
```
3939

40-
**FreeBSD:**
41-
42-
```bash
43-
pkg add <path_to_txz_package>
44-
```
40+
**FreeBSD:**
4541

42+
```bash
43+
pkg add <path_to_txz_package>
44+
```
4645
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:
4847

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+
```
5352

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:
5554

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+
```
5958

6059
## Package Upgrade
6160

6261
### FreeBSD/OPNsense
6362

64-
1. Uninstall the current version.
63+
1. Uninstall the current version.
6564

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)).
6969

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.
7174

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+
```
8178

8279
## Docker Compose
8380

@@ -133,9 +130,9 @@ opnsense-patch
133130
You can find detailed description of all fields [here](../../configuration.md#gateway-configuration).
134131
{% endhint %}
135132

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).
137134

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/)
139136

140137
## Binary Install
141138

0 commit comments

Comments
 (0)