Add example how to redirect traffic from one port to another.
Thank you for contributing to this project!
Hi all, we would like to use this module in combination with the netdev table family type.
Are there any objections?
Allows nftables::simplerule's dport to accept arrays of both ports and port ranges, and not just one or the other.
This file contains just a single file, so it's faster to include it in the catalog. It also means a cached catalog if the puppetserver is unavailable.
This patchset adds a new parameter to the main class to activate a mechanism that will invoke
systemctl reload nftables during the Puppet run if manual changes to the in-memory ruleset are detected.
To accomplish this, the systemd unit in charge of nftables is configured to write a hash of the in-memory ruleset right after starting/reloading. During the Puppet run, the hash of the current rule set is compared to the one previously stored. If the hash differs then
systemctl reload nftables is executed to flush manual changes.