Linux iptables ip, Linux iptables Shield ip

  

iptables Broad and profound, know the basic grammar and other needs to check the information is good here to make a note

Here are a few Linux shield ip commands, as follows: Br>

Command to mask a single IP

iptables -I INPUT -s 192.168.9.198 -j DROP The entire section is from 192.0.0.1 to 192.255.255.254 iptables -I INPUT -s 192.0. 0.0/8 -j DROP #Command a section from 192.168.8.1 to 192.168.8.254

iptables -I INPUT -s 192.168.8.0/24 -j DROP

Copyright © Windows knowledge All Rights Reserved