How to let the Firewall of RHEL7 the SNMP connection passing?
9
votes
3
answers
50169
views
How to let the Firewall of RHEL7 the SNMP connection passing?
When I did this command on the computer:
systemctl stop firewalld
All the SNMP packet are passing well. When I restarted firewalld all the packet arre blocked.
I tried several connfigruation with the firewall running of course, like:
iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 161 -j ACCEPT
or
firewall-cmd --zone=public --add-port=161/tcp --permanent
I've not get any error message but the SNMP still in TIMEOUT.
Asked by dubis
(1480 rep)
Jul 7, 2015, 01:55 PM
Last activity: Mar 28, 2024, 12:57 PM
Last activity: Mar 28, 2024, 12:57 PM