- 匹配virtual server进行转发;
- 匹配snat进行转发;
- 匹配nat进行转发。
virtual rt2zmt_0_vs {
destination 10.0.0.0:any
ip forward
snat automap
ip protocol tcp
mask 255.0.0.0
profile fastL4
}
b route 10.0.0.0 255.0.0.0 gateway next-hop
translation 1.1.1.1
origin 192.168.0.0 mask 255.255.255.0
}
b route 10.0.0.0 255.0.0.0 gateway next-hop