#!/bin/sh
#iptables配置简易网关,内部能上网,内、外部能问内网的web服务器
#网关eth0 10.0.1.1, eth1 192.168.1.166, web服务10.0.1.2
#!/bin/sh
#iptables配置简易网关,内部能上网,内、外部能问内网的web服务器
#网关eth0 10.0.1.1, eth1 192.168.1.166, web服务10.0.1.2
单个IP的命令是
iptables -I INPUT -s 211.1.0.0 -j DROP