All release packages are available in the Defguard repository on GitHub on the releases page. The table below summarises the available options (X.Y.Z stands for a version).
Operating system
Architecture
Package filename
Debian/Ubuntu
ARM64 (aarch64)
defguard-X.Y.Z-aarch64-unknown-linux-gnu.deb
Debian/Ubuntu
AMD64 (x86_64)
defguard-X.Y.Z-x86_64-unknown-linux-gnu.deb
Fedora/Red Hat/SUSE
ARM64 (aarch64)
defguard-X.Y.Z-aarch64-unknown-linux-gnu.rpm
Fedora/Red Hat/SUSE
AMD64 (x86_64)
defguard-X.Y.Z-x86_64-unknown-linux-gnu.rpm
FreeBSD
AMD64 (x86_64)
defguard-X.Y.Z_x86_64-unknown-freebsd.pkg
Choose the release you want to install, then download it either by using a web browser or with one of the commands below.
Once the package is downloaded, install it using the package tool appropriate for your operating system.
On Debian/Ubuntu:
On Fedora/Red Hat/SUSE:
On FreeBSD:
You can check whether Defguard Core has been installed correctly:
Configuration
The Defguard Core configuration file should be located at /etc/defguard/core.conf. The database information should be adjusted accordingly for your PostgreSQL database. An example configuration file looks as follows:
All other configuration settings are kept in the database. Read the configuration guide for Defguard Core for more information.
Service
The Defguard Core package automatically installs its service definition. On Linux, it is in /usr/lib/systemd/system/defguard.service. On BSD, it is in /usr/local/etc/rc.d/defguard.
On Linux, the service is run as a dedicated defguard user with appropriate capabilities. The user is created automatically on package installation.
On BSD, the service runs as the root user.
If there are changes to the configuration file, the Defguard Core service must be restarted.
On Linux:
On BSD:
Logs
On Linux, logs can be viewed using the journalctl command: