由 crazy 在 09-20-2003 09:54 发表:
[请教]使用IPTABLE禁止某个网段访问.
如何使用iptable禁止某个网段通过eth0访问主机(通过telnet和ftp).
这两天老是遇到有人恶作剧以不同的IP(同个网段)telnet关闭主机.我想用iptable来禁止该网段的IP访问主机该怎么做?
由 大熊宝宝 在 09-20-2003 11:33 发表:
iptables -t nat -A PRERROUTING -p tcp -s 61.171.20.0/255.255.255.255 --dport 23 -i eth0 -j DROP
请兄弟们正确发贴,把问题发到相关版块 发贴标题请简明扼要 谢谢大家配合.
新会员发贴前请学会搜索论坛 有可能你的问题已经有答案了
由 crazy 在 09-20-2003 20:26 发表:
谢谢.我知道该怎么做了.. 
由 gouf123 在 09-21-2003 14:16 发表:
iptables -A FORWARD -s ip/** -j DROP
由 lordbyorn 在 09-21-2003 22:01 发表:
Can you change your passwd?
or use setuid.
Kurt is me.
Studing hard. Making my way to the top of the world.
由 crazy 在 09-22-2003 05:04 发表:
** </ **