puppet-firewalld icon indicating copy to clipboard operation
puppet-firewalld copied to clipboard

custom_service should support source-port

Open logic opened this issue 8 years ago • 2 comments

The custom service template could use support for source-port:

http://www.firewalld.org/documentation/man-pages/firewalld.service.html#options_source_port

source-port

Is an optional empty-element tag and can be used several times to have more than one source port entry. All attributes of a source port entry are mandatory:

port="string" The port string can be a single port number or a port range portid-portid.

protocol="string" The protocol value can either be tcp, udp, sctp or dccp.

(Yeah, I'm actually using this. :wink: I just ended up dropping an XML config directly into /etc/firewalld/services and adding a firewall-cmd --reload just for it, but it'd be nice to have this work out of the box with firewalld::custom_service.)

logic avatar Oct 28 '17 07:10 logic

+1

yakirgb avatar Oct 28 '18 15:10 yakirgb

Ping !

nasa-dan avatar Jun 16 '22 16:06 nasa-dan