Add/delete NAT44 load-balancing static mapping rule.
- Template Parameters
-
client_index | - opaque cookie to identify the sender |
context | - sender context, to match reply w/ request |
is_add | - 1 if add, 0 if delete |
external_addr | - external IPv4 address of the service |
external_port | - external L4 port number of the service |
protocol | - IP protocol number of the service |
twice_nat | - if 1 translate external host address and port |
self_twice_nat | - if 1 translate external host address and port whenever external host address equals local address of internal host |
out2in_only | - if 1 rule match only out2in direction |
tag | - opaque string tag |
affinity | - if 0 disabled, otherwise client IP affinity sticky time in seconds |
local_num | - number of local network nodes |
locals | - local network nodes |
Definition at line 888 of file nat.api.