ROS 双WAN 内网IP地址走指定出口
1)WAN2 PPPOE拨号中 Add Default Route取消勾选
2)IP -> Firewall -> NAT 新建一条
Chain: srcnat
Src.Address: 192.168.20.0/24
Out.Interface: CM2_dial
Action: masquerade
3) IP -> Firewall -> Address Lists 中新建一个List名为ToWAN2
Address: 填上需要走WAN2出口的内网IP地址
4)IP -> Firewall -> Mangle
Chain:prerouting
Src.Address List: 选择刚才建立的List名’ToWAN2‘
Action:mark routing
New Routing Mark: WAN2 <- 直接Key上去,即新建名称
5)IP -> Route 新建一条路由
Dst.Address: 0.0.0.0/0
Gateway:这里填写PPP WAN2的名称,我这里是CM2_dial
Routing Table: 选择刚才新建的路由表名 WAN2