Forum Discussion
Chris_Miller
Dec 10, 2010Altostratus
Yep, that makes sense. You'll simply need to do a rule that switches based on destination address. I need to look into what form of IP::addr to use here though.
when CLIENT_ACCEPTED {
switch -glob [IP::local_addr] {
"1.1.1.1" { snat x.x.x.x }
"2.2.2.2" { snat y.y.y.y }
}}
Something like that would work as long as I have the right form of IP::addr.