Forum Discussion
hooleylist
Nov 09, 2010Cirrostratus
Actually, maybe the issue is with specifying port 0 for the pool member? If that's the issue, you might try something like this:
when CLIENT_ACCEPTED {
if {[IP::addr [IP::client_addr] equals 10.251.1.65]} {
snat X.X.X.10
pool default_gateway_pool member X.X.X.1 [TCP::local_port]
}
elseif {[IP::addr [IP::client_addr] equals 10.40.14.12]} {
snat Y.Y.Y.10
pool default_gateway_pool member Y.Y.Y.1 [TCP::local_port]
}
}
Aaron