Cisco Catalyst 6500 Series Configuration Manual page 153

Catalyst 6500 series switch and cisco 7600 series router firewall services
Hide thumbs Also See for Catalyst 6500 Series:
Table of Contents

Advertisement

Chapter 9
Configuring Network Address Translation
Figure 9-4
a single host for both web services and Telnet services. When the host accesses the server for web
services, the local address is translated to 209.165.202.129. When the host accesses the same server for
Telnet services, the local address is translated to 209.165.202.130.
Figure 9-4
Source Addr Translation
10.1.2.27:80
See the following commands for this example:
FWSM/contexta(config)# access-list WEB permit tcp 10.1.2.0 255.255.255.0 209.165.201.11
255.255.255.255 eq 80
FWSM/contexta(config)# access-list TELNET permit tcp 10.1.2.0 255.255.255.0 209.165.201.11
255.255.255.255 eq 23
FWSM/contexta(config)# nat (inside) 1 access-list WEB
FWSM/contexta(config)# global (outside) 1 209.165.202.129
FWSM/contexta(config)# nat (inside) 2 access-list TELNET
FWSM/contexta(config)# global (outside) 2 209.165.202.130
For policy static NAT (and for NAT exemption, which also uses an ACL to identify traffic), both local
and global hosts can originate traffic. For locally originated traffic, the NAT ACL specifies the local
addresses and the destination addresses, but for globally originated traffic, the ACL identifies the local
addresses and the source addresses of global hosts who are allowed to connect to the local host using
this translation.
OL-6392-01
shows the use of source and destination ports. The host on the 10.1.2.0/24 network accesses
Policy NAT with Different Destination Ports
Web and Telnet server:
209.165.201.11
209.165.202.129
Web Packet
Dest. Address:
209.165.201.11:80
Figure 9-5
shows a global host connecting to a local host. The local host has a policy
Catalyst 6500 Series Switch and Cisco 7600 Series Router Firewall Services Module Configuration Guide
Internet
FWSM
Source Addr Translation
10.1.2.27:23
Inside
10.1.2.0/24
Telnet Packet
Dest. Address:
209.165.201.11:23
10.1.2.27
NAT Overview
209.165.202.130
9-9

Advertisement

Table of Contents
loading

This manual is also suitable for:

7600 series

Table of Contents