Loading...
Advance Linux

Iptables

iptables -I INPUT -m state –state NEW -m tcp -p tcp –dport 10050 -j ACCEPT

tcp    0    0    0.0.0.0:5666 0.0.0.0:* LISTEN 1919/nrpe
tcp6  0    0    :::80 :::* LISTEN 921/httpd
tcp6  0   0        :::21 :::* LISTEN 1061/vsftpd
tcp6  0   0       :::2232 :::* LISTEN 917/sshd
tcp6  0   0         :::443 :::* LISTEN 921/httpd
tcp6   0  0       :::3306 :::* LISTEN 1545/mysqld

Leave a Reply

Your email address will not be published. Required fields are marked *