会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
zhaocundang's blog(Bobyzhao)
博客园
首页
新随笔
联系
管理
2018年1月26日
iptables filter表小案例
摘要: 案例1:把80端口,22端口,21端口放行 22端口指定IP访问,其它IP拒绝。 shell脚本实现: [root@centos7 ~]# vim /usr/local/sbin/iptables.sh #!/bin/sh ipt="/usr/sbin/iptables" #定义ipt 变量,绝对路
阅读全文
posted @ 2018-01-26 05:02 zhaocundang
阅读(284)
评论(0)
推荐(0)
编辑
公告