Ubuntu下配置shorewall防火墙
网络环境,一台Ubuntu服务器三个网卡,其中eth0,eth1 针对不同的内部网段,eth2连接adsl,使用PPPOE拨号。 # pwd 代码: /etc/shorewall # cat interfaces 代码: net ppp0 detect loc1 eth0 detect dhcp loc2 eth1 detect dhcp # cat masq 代码: eth0 eth1 ppp0 eth0 ppp0 eth1 # cat modules ...