Chapter 11: Network Address Translation Configuration Guide
NAT and FTP
File Transfer Protocol (FTP) packets require special handling with NAT, because the FTP
PORT command packets contain IP address information within the data portion of the
packet. It is therefore important for NAT to know which control port is used for FTP (the
default is port 21) and the timeout for the FTP session (the default is 30 minutes). If FTP
packets will arrive on a different port number, you need to specify that port to NAT.
To define FTP parameters to NAT, enter the following commands in Configure mode:
Specify the FTP control port.
Specify the FTP session timeout.
Monitoring NAT
To display NAT information, enter the following command in Enable mode:
Display NAT information.
188
nat set ftp-control-port
nat set ftp-session-timeout
nat show [translations all|
[timeouts] [statistics]
Internet Appliance User Reference Manual
<port number>
<minutes>
<type>
]