Running Gateway on OPNsense firewall
OPNsense plugin
pkg add defguard-gateway_VERSION_x86_64-unknown-opnsense.pkgopnsense-patch
Binary Install
Was this helpful?
OPNsense® is an open source, feature rich firewall and routing platform, offering cutting-edge network protection.
To start Defguard Gateway as OPNsense plugin:
On the release page find and download OPNsense package which will be named:
defguard-gateway_VERSION_x86_64-unknown-opnsense.pkg – this package includes both Defguard Gateway and OPNsense plugin.
Install the package:
pkg add defguard-gateway_VERSION_x86_64-unknown-opnsense.pkgRefresh your OPNsense UI by running command below:
opnsense-patchGo to your OPNsense UI and navigate to VPN > Defguard Gateway.

Fill out the form with appropriate values, click Save, and then click Start/Restart.
You can find detailed description of all fields here.
If everything went well, Defguard Gateway should be connected to Defguard Core and you can start adding new devices to your network.
See also: how to configure Defguard in OPNsense
Checkout Gateway releases here and download compatible binary from GitHub page.
Decompress and move to bin directory
Start gateway gateway -g <CORE_GRPC_URL:GRPC_PORT> -t <DEFGUARD_TOKEN>
Was this helpful?
Was this helpful?
tar xcf ./gateway.tar.gz
sudo chmod +x gateway
sudo mv gateway /usr/bin/