Skip to content

Commit

Permalink
GITBOOK-190: change request with no subject merged in GitBook
Browse files Browse the repository at this point in the history
  • Loading branch information
defguard-community authored and gitbook-bot committed Aug 15, 2024
1 parent ee51392 commit aaa37a0
Showing 1 changed file with 1 addition and 26 deletions.
27 changes: 1 addition & 26 deletions features/setting-up-your-instance/gateway.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,33 +80,10 @@ You'll need a valid CA certificate to connect Gateway to Defguard. See [SSL inst
## OPNsense plugin
{% hint style="danger" %}
GitHub doesn't support FreeBSD runners - because of that it's hard to automate building/releasing the plugin (which is on freebsd).
Thus we have an issue that packages gateway are build with wrong architecture:
```
pkg: wrong architecture: Linux:6:x86:64 instead of FreeBSD:13:amd64
Failed to install the following 1 package(s)
```
There is a workarond for that:
```
mkdir -p pp zz
tar Jxf defguard-gateway.pkg -C zz
sed -e 's,Linux:5,FreeBSD:13,' zz/+MANIFEST > MANIFEST
rm zz/+COMPACT_MANIFEST zz/+MANIFEST
pkg create -M MANIFEST -o pp -r zz
```
{% endhint %}
To start your gateway as OPNsense plugin:
1. On the [release page](https://github.com/DefGuard/gateway/releases) find and download OPNsense package which will be named: \
`defguard-gateway_VERSION_x86_64-unknown-opnsense.txz` .
`defguard-gateway_VERSION_x86_64-unknown-opnsense.pkg`
2. Install the package
```bash
Expand All @@ -125,8 +102,6 @@ opnsense-patch

5. Fill form with appropriate values click `Save` then `Start/Restart` 



{% hint style="info" %}
You can find detailed description of all fields [here](configuration.md#gateway-configuration).
{% endhint %}
Expand Down

0 comments on commit aaa37a0

Please sign in to comment.