谁有reject社游戏hy工房作品合集百度云的合集?单独得也行,只要是reject社的

iptables设置除两个IP外的其他所有IP为REJECT_Linux教程_Linux公社-Linux系统门户网站
你好,游客
iptables设置除两个IP外的其他所有IP为REJECT
来源:Linux社区&
作者:lylyf99
用iptables管理一个内网网段实验机为10.10.11.121
INPUT默认为DROP,并对10.10.11/24网段的所有机器开放端口的访问权限但是设定只有两台机器10.10.11.41,10.10.11.42能通过22端口来访问开放权限好办,只允许一台的也好办,但是网上同时禁止两台以外的所有机器访问某一端口的实例很少,经过实验,终于达成目的,特记录以享:*filter:INPUT DROP ---全部默认禁止-A INPUT -p tcp --dport 22 -s ! 10.10.11.40/30 -j REJECT --设置10.10.11.0网段内只有10.10.11.41,10.10.42两台机器能通过22端口来ssh连接本机器(开始两台机器的写法试过的方法如下:10.10.11.41,10.10.11.4210.10.11.41/10.10.11.4210.10.11.41-10.10.11.42或者是写两行:!10.10.11.41!10.10.11.42以上种种都不行)
-A INPUT -p tcp -s 10.10.11.0/24 -j ACCEPT --所有10.10.11.0网段都能访问其他所有端口
推荐阅读:
Linux防火墙iptables详细教程
iptables+L7+Squid实现完善的软件防火墙
iptables的备份、恢复及防火墙脚本的基本使用
Linux下防火墙iptables用法规则详解
iptables的用法小结
相关资讯 & & &
& (12/18/:58)
& (12/18/:08)
& (昨 08:16)
& (12/18/:29)
& (10/31/:57)
   同意评论声明
   发表
尊重网上道德,遵守中华人民共和国的各项有关法律法规
承担一切因您的行为而直接或间接导致的民事或刑事法律责任
本站管理人员有权保留或删除其管辖留言中的任意内容
本站有权在网站内转载或引用您的评论
参与本评论即表明您已经阅读并接受上述条款一键安装桌面版,查词翻译快三倍
选择要添加的生词本
Seventeen publishers rejected the manuscript before Jenks saw its potential.
17家出版社回绝了这部手稿,直到詹克斯看到了它的潜在价值。
摈弃,抛弃,不接受(信仰或政治制度)
If you reject a belief or a political system, you refuse to believe in it or to live by its rules.
...the children of Eastern European immigrants who had rejected their parents' political and religious beliefs.
抛弃了父母一代政治和宗教信仰的东欧移民子女
不录用;不录取
If someone is rejected for a job or course of study, it is not offered to them.
One of my most able students was rejected by another university.
我的一个最有能力的学生申请另一所大学落选了。
冷漠对待;拒绝…的爱意
If someone rejects another person who expects affection from them, they are cold and unfriendly towards them.
You make friends with people and then make unreasonable demands so that they reject you.
你和别人交朋友,然后向人家提出无理要求,结果被人家拒绝。
...people who had been rejected by their lovers.
被爱人拒绝的人
排斥(移植器官);对…产生排斥反应
If a person's body rejects something such as a new heart that has been transplanted into it, it tries to attack and destroy it.
It was feared his body was rejecting a kidney he received in a transplant four years ago.
令人担心的是,他的身体可能对4年前移植的肾产生了排斥反应。
(投币设备)拒绝接受(硬币)
If a machine rejects a coin that you put in it, the coin comes out and the machine does not work.
残次品;等外品
A reject is a product that has not been accepted for use or sale, because there is something wrong with it.
词霸Android版
牛津词典免费使用! 立刻扫码下载
牛津词典免费使用! 立刻扫码下载
创建新的生词本
i该生词本已经创建啦!
i不可以出现中文,英文,数字之外的符号哒!
i生词本名称长度不能大于24字符!
i请填写生词本名称!

我要回帖

更多关于 2016年12月作品合集 的文章

 

随机推荐