iptables & ebtables 默认表名
来源:互联网 发布:联想yoga11s 编程 编辑:程序博客网 时间:2024/06/15 09:51
iptables默认表名是filter,其他表还有nat、raw、mangle。iptables -A -p tcp -j ACCEPT 等价于iptables -A filter -p tcp -j ACCEPTebtablesebtables的配置分为表、链和规则三级。1. 表表是内置且固定的,共有三种: filter, nat, broute,用-t选项指定。最常用的就是filter了,所以不设-t时默认就是这个表。nat用于地址转换,broute用于以太网桥。2. 链链有内置和自定义两种 。不同的表内置的链不同,这个从数据包的流程图中就可以看出来。所谓自定义的链也是挂接在对应的内置链内的,使用-j让其跳转到新的链中。3. 规则每个链中有一系列规则,每个规则定义了一些过滤选项。每个数据包都会匹配这些项,一但匹配成功就会执行对应的动作。所谓动作,就是过滤的行为了。有四种,ACCEPT,DROP,RETURN和CONTINUE。常用的就是ACCEPT和DROPhttps://linux.die.net/man/8/ebtablesCONTINUE means the next rule has to be checked. This can behandy, f.e., to know how many frames pass a certain point in the chain, to log those frames or to apply multiple targets on a frame.
RETURN means stoptraversing this chain and resume at the next rule in the previous (calling)
0 0
- iptables & ebtables 默认表名
- ebtables/iptables
- iptables、ebtables、arptables
- iptables、ebtables、arptables
- 【Linux】iptables&ebtables
- iptables and ebtables
- Ebtables/Iptables分析
- ebtables与iptables的区别(ebtables的简单应用)
- Linux网络路由表处理及钩子(Iptables and Ebtables)
- ebtables
- ebtables
- ebtables
- ebtables/iptables interaction on a Linux-based bridge
- ebtables中的broute表介绍
- CentOS iptables 默认配置
- ubuntu服务器默认iptables
- CentOS 默认iptables
- iptables默认规则配置
- eclipse下生成Java类图和时序图,生成UML图(更完整版)
- 基于laravel5.2的开源cms系统Lava Lite安装步骤
- 指针变量
- Timer/TimerTask与ScheduledExecutorService
- iOS :编译时易出现的错误(持续更新)
- iptables & ebtables 默认表名
- java反射Method中的如何调用任意方法,即invoke()的使用
- Android产品研发(七)-->Apk热修复
- 搭建微信公共平台的本地测试
- activemq 控制面板里的 Number Of Pending Messages、 Messages Enqueued、Messages Dequeued含义
- noip2015 信息传递
- Nginx多Server反向代理配置
- Android a应用打开b应用
- 临时