firewalld_internal:
firewalld.present:
- name: internal
- interfaces:
- enp2s0
- masquerade: True
- services:
- dhcpv6-client
- mdns
- samba-client
- ssh
firewalld_external:
firewalld.present:
- name: external
- interfaces:
- enp3s0
- masquerade: True
1. Is there a way add a rich rule to firewalld using salt.states.firewalld ?
I have a rule as below, how can this be defined in a SLS state file?
"rule family="ipv4" forward-port port="32400" protocol="tcp" to-port="32400" to-addr="192.168.0.123" log prefix="plex-" level="info" limit value="1/m"
I see port_fwd in saltstack documentation, but this doesn't seem to be for rich rules, rather for simple port forwarding.
2. Is there a way to define a particular service state as NOT present?
Thank you
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/salt-users/2fa2f766-8928-435b-8d10-4b05a72a5d3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.