iptables案例:iptables搭建路由器 场景介绍 服务器A,一个网卡,IP地址为:192.168.2.2 服务器B,两个网卡,网卡1 IP地址:192.168.1.250,网卡2 IP地址:192.168.1.1,其中网卡1可以通向外网。 原理