- Define some firewall objects as "iprange"
- Define some firewall rules that match those "iprange" as Src
- Place this directory in
/usr/share/cockpit
of your NethSecurity firewall
and ... enjoy!
- Add users to a dedicated group (i.e: "docenti")
- Copy
99_nethserver_fwrules.sudoers
in/etc/sudoers.d/99_nethserver_fwrules
(WARNING: remove ".sudoers" extension)
Optional: if you want to enable all rules at midnight
- Copy
nethserver_fwrules.cron
in/etc/cron.d/nethserver_fwrules