Description of problem: Unable to permanently add port range using firewall-cmd Version-Release number of selected component (if applicable): Version : 0.3.2 Release : 1.fc19 How reproducible: always Steps to Reproduce: 1./usr/bin/firewall-cmd --zone=public --list-ports 35536/tcp 35531-65534/udp 8443/tcp 27017/tcp 8000/tcp 61613/tcp 2./usr/bin/firewall-cmd --zone=public --permanent --add-port=35531-65534/tcp 3./usr/bin/firewall-cmd --zone=public --list-ports Actual results: 35536/tcp 35531-65534/udp 8443/tcp 27017/tcp 8000/tcp 61613/tcp Expected results: 35536/tcp 35531-65534/udp 8443/tcp 27017/tcp 8000/tcp 61613/tcp 35531-65534/tcp Additional info:
(In reply to comment #0) > 2./usr/bin/firewall-cmd --zone=public --permanent --add-port=35531-65534/tcp With --permanent you basically just change the stored configuration. You don't change the runtime configuration. If you want this change to become active immediately you either have to change it also in runtime configuration with: firewall-cmd --zone=public --add-port=35531-65534/tcp or reload the stored configuration with: 'firewall-cmd --reload' > 3./usr/bin/firewall-cmd --zone=public --list-ports Does it show the port range when you do one of the steps mentioned above ?
*** This bug has been marked as a duplicate of bug 879832 ***