The plugins collection offers users and developers a way to quickly build additions for OPNsense that can be optionally installed. As soon as they are upstreamed they will become available to everyone through the firmware GUI pages.
Plugins can do the following:
- Modify the menu, access control lists and look and feel (themes)
- Add additional server software and their respective GUI pages
- Create new authentication methods to be used within other subsystems
- Provide other types of devices and interfaces to the firewall
- Pull in additional packages that will update automatically
- Enhance the backend services with additional work tasks
- Allow custom start, stop and early scripts
- Persistent /boot/loader.conf modifications
Now we need your help to enrich the plugins. Feel free to contact us at project AT opnsense DOT org or open GitHub issue to get in touch.
Stay safe, Your OPNsense team
devel/debug -- Debugging Tools
devel/helloworld -- A sample framework application
dns/dyndns -- Dynamic DNS Support
dns/rfc2136 -- RFC-2136 Support
net/freeradius -- RADIUS Authentication, Authorization and Accounting Server
net/ftp-proxy -- Control ftp-proxy processes
net/haproxy -- Reliable, high performance TCP/HTTP load balancer
net/igmp-proxy -- IGMP-Proxy Service
net/l2tp -- L2TP server based on MPD5
net/pppoe -- PPPoE server based on MPD5
net/pptp -- PPTP server based on MPD5
net/quagga -- Quagga Routing Suite
net/relayd -- Relayd Load Balancer
net/upnp -- Universal Plug and Play Service
net/wol -- Wake on LAN Service
net/zerotier -- Virtual Networks That Just Work
net-mgmt/collectd -- Collect system and application performance metrics periodically
net-mgmt/snmp -- SNMP Server via bsnmpd
net-mgmt/zabbix-agent -- Enterprise-class open source distributed monitoring agent
sysutils/boot-delay -- Apply a persistent 10 second boot delay
sysutils/monit -- Proactive system monitoring
sysutils/smart -- SMART tools
sysutils/vmware -- VMware tools
sysutils/xen -- Xen guest utilities
security/acme-client -- Let's Encrypt client
security/clamav -- Antivirus engine for detecting malicious threats
security/intrusion-detection-content-pt-open -- IDS PT Research ruleset (only for non-commercial use)
security/tinc -- Tinc VPN
www/web-proxy-sso -- Add SSO Active Directory to use in Proxy
The workflow of the plugins repository is quite similar to the core repository, although the plugins have one source directory per plugin, while the core can be thought of a lone plugin.
Commits for individual plugins should therefore be split into individual chunks for each src/ directory so that they can be reviewed separately and also be applied remotely.
When an OPNsense release is built, the plugins are automatically added to the final package repository.
The most useful Makefile targets and their purpose is described below.
The make targets for the root directory:
- clean: remove all changes and unknown files
- lint: run syntax checks
- list: print a list of all plugin directories with comments
- style-fix: apply style fixes
- style: run style checks
- sweep: apply whitespace fixes
The make targets for any plugin directory:
- clean: remove all changes and unknown files
- collect: gather updates from target directory
- install: install to target directory
- lint: run syntax checks
- package: creates a package
- upgrade: upgrades existing package
- remove: remove known files from target directory
- style-fix: apply style fixes
- style: run style checks
- sweep: apply whitespace fixes