Skip to content

Instantly share code, notes, and snippets.

@simonid
simonid / Learning Iptables.md
Created December 7, 2017 07:26
Linux-Iptables

Linux iptables使用

iptables命令是Linux上常用的防火墙软件,是netfilter项目的一部分。可以直接配置,也可以通过许多前端和图形界面配置。
Arch Linux WIKI上有一个很形象的关于数据通过iptables的示意图:

                               XXXXXXXXXXXXXXXXXX
                             XXX     Network    XXX
                               XXXXXXXXXXXXXXXXXX
                                       +
                                       |