本文共 364 字,大约阅读时间需要 1 分钟。
when CLIENT_ACCEPTED {
if { [IP::addr [IP::remote_addr] equals 192.168.1.126] }{ snatpool xxx_211_134 } elseif { [IP::addr [IP::remote_addr] equals 192.168.1.124] }{ snatpool xxx_194_172 } else { snat automap } }备注:192.168.1.126和192.168.1.124 为内网ip,如果匹配到了,则出去的时候变成snatpool中配置的的外网ip
本文转自Tenderrain 51CTO博客,原文链接:http://blog.51cto.com/tenderrain/1642208,如需转载请自行联系原作者