Add option for users to be able to configure source IP for a particular rule.
Rationale
As of now the firewall rules allow access from 0.0.0.0/0 but it would be useful to restrict the source to a certain IPs. For example, when I run a web server I'd like to allow access only from cloudflare IPs.
Additional context
If source IP isn't specified, then 0.0.0.0 can be used as default. Both firewall-cmd and ufw are able to support this.
Proposed feature
Add option for users to be able to configure source IP for a particular rule.
Rationale
As of now the firewall rules allow access from 0.0.0.0/0 but it would be useful to restrict the source to a certain IPs. For example, when I run a web server I'd like to allow access only from cloudflare IPs.
Additional context
If source IP isn't specified, then 0.0.0.0 can be used as default. Both firewall-cmd and ufw are able to support this.
Please consider sponsoring me.