Skip to main content

iptables on cPanel-DNSOnly and nrpe

Comments

2 comments

  • dalem
    This should work for you iptables -I INPUT -p tcp -s 1.2.3.4 --dport 5666 -j ACCEPT iptables -I INPUT -p udp -s 1.2.3.4 --dport 5666 -j ACCEPT iptables -A INPUT -p tcp --dport 5666 -j DROP iptables -A INPUT -p udp --dport 5666 -j DROP service iptables save
    0
  • cPanelMichael
    Hello :) Have you considered installing a firewall management utility such as CSF instead of adjusting the iptables rules manually? Thank you.
    0

Please sign in to leave a comment.