service iptables status
service iptables stop
service iptables start
vi /etc/sysconfig/iptables
-A INPUT -m state --state NEW -m tcp -p tcp --dport 161 -j ACCEPT
-A INPUT -m state --state NEW -m udp -p udp --dport 161 -j ACCEPT
service iptables restart
Hiç yorum yok:
Yorum Gönder