snatpool¶
Description¶
Causes the pool of addresses identified by to be used as translation
addresses to create a SNAT.
Syntax¶
snatpool <snatpool_name> [member <IP address>]
snatpool <snatpool_name>¶
- Causes the pool of addresses identified by <snatpool_name> to be used as translation addresses to create a SNAT.
snatpool <snatpool_name> member <IP address>¶
- Causes the a particular member of the pool of addresses identified by <snatpool_name> to be used as translation addresses to create a SNAT.
Examples¶
when CLIENT_ACCEPTED {
if { [TCP::local_port] == 531 } {
snatpool chat_snatpool
}
elseif { [TCP::local_port] == 25 } {
snatpool smtp_snatpool member 10.20.30.40
}
}