Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2237470
  • 博文数量: 230
  • 博客积分: 9346
  • 博客等级: 中将
  • 技术积分: 3418
  • 用 户 组: 普通用户
  • 注册时间: 2006-01-26 01:58
文章分类

全部博文(230)

文章存档

2015年(30)

2014年(7)

2013年(12)

2012年(2)

2011年(3)

2010年(42)

2009年(9)

2008年(15)

2007年(74)

2006年(36)

分类: LINUX

2006-01-26 02:22:01

                            Network
-----------+-----------
|
+---------+---------+
| [IPTABLES] |
| [PREROUTING] |
| +-------+-------+ |
| | conntrack | |
| +-------+-------+ |
| | mangle | | <- MARK WRITE
| +-------+-------+ |
| | IMQ | |
| +-------+-------+ |
| | nat | | <- DEST REWRITE
| +-------+-------+ | DNAT or REDIRECT or DE-MASQUERADE
+---------+---------+
|
+-------+-------+
| QOS |
| INGRESS |
+-------+-------+
|
packet is for
+-------+-------+ packet is for
this machine
| INPUT | another address
+--------------
+ ROUTING +-------------------+
|
| + PDBB | |
|
+---------------+ |
+-------+-------+ |
| [IPTABLES] | |
| [INPUT] | |
| +-----+-----+ | |
| | mangle | | |
| +-----+-----+ | |
| | filter | | |
| +-----+-----+ | |
+-------+-------+ |
| |
+-------+-------+ |
| Local |
+-------+-------+
| Process |
| [IPTABLES] |
+-------+-------+
| [FORWARD] |
|
| +-----+-----+ |
+-------+-------+ | | mangle | | <- MARK WRITE
| OUTPUT | | +-----+-----+ |
| ROUTING | | | filter | |
+-------+-------+ | +-----+-----+ |
|
+-------+-------+
+-------+-------+ |
| [IPTABLES] | |
| [OUTPUT] | |
| +-----------+ | |
| | conntrack | | |
| +-----+-----+ | |
| | mangle | | <- MARK WRITE |
| +-----+-----+ | |
| | nat | | <-DEST REWRITE |
| +-----+-----+ | DNAT or REDIRECT |
| | filter | | |
| +-----+-----+ | |
+-------+-------+ |
| |
+----------------------+---------------------------+
|
+---------+---------+
| [IPTABLES] |
| [POSTROUTING] |
| +-------+-------+ |
| | mangle | | <- MARK WRITE
| +-------+-------+ |
| | nat | | <- SOURCE REWRITE
| +-------+-------+ | SNAT or MASQUERADE
| | IMQ | |
| +-------+-------+ |
+---------+---------+
|
+------+------+
| QOS |
| EGRESS |
+------+------+
|
-----------+-----------
Network
  • [Name of firewall chain]
  • Controlled by iptables (in blue)
  • Controlled by ip/tc (in red)
阅读(2465) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~