0

How to block IP in firewalld command

hi am new to Centos7 i need to block specific IP address by using firewalld command to prevent ssh login .. in centos 6 i tried this by using iptables command .., i dont know how to do this on Centos7 i need some guidance...

wilson
asked Sep 23, 2017
1 Answer
0

try below firewalld command to block specific ip address...

# firewall-cmd --permanent --add-rich-rule="rule family='ipv4' source address='192.168.5.5' reject"

View More
arunkumarak
answered Sep 24, 2017
Your Answer
||||
x
 
100:0