首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 操作系统 >

iptables防火墙禁止某些IP访问ssh的步骤分享

2013-07-09 
iptables防火墙禁止某些IP访问ssh的方法分享root@293621:~# iptables -vLChain INPUT (policy ACCEPT 36 p

iptables防火墙禁止某些IP访问ssh的方法分享
root@293621:~# iptables -vL
Chain INPUT (policy ACCEPT 36 packets, 6257 bytes)
pkts bytes target prot opt in out source destination
222 16280 ACCEPT tcp -- any any 120.0.0.0/8 anywhere tcp dpt:ssh
0 0 ACCEPT tcp -- any any 183.0.0.0/8 anywhere tcp dpt:ssh
4 240 DROP tcp -- any any anywhere anywhere tcp dpt:ssh

又一次体会到iptables的威力,看来这块的内容,得找个时间好好加强下,好用啊。

本文出处参考:http://www.jbxue.com/LINUXjishu/9833.html

热点排行