util dnatutil(1) BIG-IP TMSH Manual util dnatutil(1)
NAME
dnat - command providing reverse and forward mapping for deterministic
NAT (DNAT)
MODULE
util
SYNTAX
Run the dnat utility from within the util module using the following
syntax:
run util dnat [] [[:]]
DESCRIPTION
The dnat utility allows the calculation of forward and reverse source
address and port mapping for the deterministic mode of Large Scale NAT.
EXAMPLES
dnat 10.0.0.1 --action forward Shows a list of translation address/port
pairs that might be used for a subscriber at 10.0.0.1, using the DNAT
states contained in /var/log/ltm.
dnat 173.240.102.139:5678 Performs a reverse mapping back to the
subscriber address for the connection from 173.240.102.139:5678, using
the DNAT states contained in /var/log/ltm.
dnat --start_time '2012-09-27 06:30:00' --end_time '2012-09-27
12:10:00' 173.240.102.139:5678 Same as the previous example, but only
shows the subscriber addresses that used the translation within the
specified time range.
dnat --start_time '2012-09-27 06:30:00' --end_time '2012-09-27
12:10:00' --file /var/log/test 173.240.102.139:5678 Same as the
previous example, but use the DNAT states contained in /var/log/test
dnat --file /var/log/test Shows summary information, using the DNAT
states contained in /var/log/test
dnat --action summary --start_time '2012-09-27 06:30:00' --end_time
'2012-09-27 12:10:00' Shows summary information, using the DNAT states
within the specified time range.
OPTIONS
client_addr or --client_addr
Used to provide the subscriber address for forward mappings
(--action forward), and the translation address for reverse
mappings (--action reverse).
client_port or --client_port
Used to provide the subscriber port for forward mappings (--action
forward), and the translation port for reverse mappings (--action
reverse).
end_time or --end_time