Hinzufügen einer Regel inkl. Kontrolle
firewall-cmd --permanent --zone=public --add-rich-rule='rule family="ipv4" source address="192.168.1.50/32" port port="3000" protocol="tcp" accept' firewall-cmd --reload firewall-cmd --list-rich-rules | grep '192.168.1.50'
Löschen einer Regel inkl. Kontrolle
firewall-cmd --permanent --zone=public --remove-rich-rule='rule family="ipv4" source address="192.168.1.50/32" port port="3000" protocol="tcp" accept' firewall-cmd --reload firewall-cmd --list-rich-rules | grep '192.168.1.50'