Friday, August 7, 2015

how to open 3000 port for puppet on RHEL 7?

1) add rule for 3000 ports through firewall-cmd command

[root@localhost puppet-enterprise-3.8.0-el-7-x86_64]# firewall-cmd --zone=public --add-port=3000/tcp --permanent
success
[root@localhost puppet-enterprise-3.8.0-el-7-x86_64]#

2) Reload the firewall rules

[root@localhost puppet-enterprise-3.8.0-el-7-x86_64]# firewall-cmd --reload
success
[root@localhost puppet-enterprise-3.8.0-el-7-x86_64]#

3) verify the port status

[root@localhost puppet-enterprise-3.8.0-el-7-x86_64]# iptables-save | grep -i 3000
-A IN_public_allow -p tcp -m tcp --dport 3000 -m conntrack --ctstate NEW -j ACCEPT
[root@localhost puppet-enterprise-3.8.0-el-7-x86_64]#


No comments:

Post a Comment

Install the Perl module

Unable to install a perl module and through below error: Looking for CPAN mirrors near you (please be patient) Can't locate Time/HiR...