iptables显示nat链 iptables如何查看nat链

By | 2015年1月23日

iptables -L -n 默认显示的是filter链

如果需要查看nat链的话,需要加上参数 -t nat指定 nat链

iptables -L -n -t nat