-1

what could be the firewalld(RHEL7) equivalent command of "iptables -A INPUT -p tcp -m tcp --dport 5666 -j ACCEPT" ?

Vijesh
  • 103
  • 3

1 Answers1

1

firewall-cmd --add-port=5666/tcp --permanent; firewall-cmd --reload

this information is easily obtainable via man firewall-cmd or via the documentation available here