Redhat_7.6_RHCE-IPTABLES

发布时间:2020-05-17 11:02:35 作者:AnydLJQ
来源:网络 阅读:237

iptables****

注意:1、iptables 默认:ACCEPT 2、注意方向

[root@10 /]# iptables -nvL OUTPUT --line //查看out方向的规则
Redhat_7.6_RHCE-IPTABLES
[root@10 /]# iptables -L OUTPUT
Redhat_7.6_RHCE-IPTABLES

[root@10 /]# iptables -L INPUT INPUT 方向
Redhat_7.6_RHCE-IPTABLES

[root@10 /]# iptables -L OUTPUT
[root@10 /]# iptables -L OUTPUT --line
[root@10 /]# iptables -D OUTPUT 1
Redhat_7.6_RHCE-IPTABLES

[root@10 /]# iptables -A INPUT -s 192.168.10.20 -j DROP
[root@10 /]# iptables -vnL INPUT --line
Redhat_7.6_RHCE-IPTABLES

Redhat_7.6_RHCE-IPTABLES

[root@10 ~]# iptables -t filter -I OUTPUT -s 192.168.10.10 -j ACCEPT
[root@10 ~]# iptables -t filter -I OUTPUT -d 192.168.10.10 -j ACCEPT
//插入语句 -s原地址 -j 动作
Redhat_7.6_RHCE-IPTABLES

//在out方向做 -s 192.168.10.112 to 192.168.10.10

Redhat_7.6_RHCE-IPTABLES

推荐阅读:
  1. c++编程学习的技巧总结
  2. 详解C++中构造函数,拷贝构造函数和赋值函数的区别和实现

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

redhat_7.6_rhce-ipta les ce

上一篇:2020最新Android开发中高级进阶书籍推荐

下一篇:关于Android学习要问的一些问题

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》