
2-43
Cisco PIX Firewall and VPN Configuration Guide
78-15033-01
Chapter 2 Establishing Connectivity
Policy NAT
Figure 2-13 shows the use of source and destination ports. The host on the 10.1.2.0/24 network accesses
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 2-13 Policy NAT with Different Destination Ports
Web and Telnet server:
209.165.201.11
Internet
Inside
Source Addr Translation
209.165.202.12910.1.2.27:80
10.1.2.27
10.1.2.0/24
Source Addr Translation
209.165.202.13010.1.2.27:23
Web Packet
Dest. Address:
209.165.201.11:80
Telnet Packet
Dest. Address:
209.165.201.11:23
97756
PIX
Firewall
The syntax for this configuration example follows:
access-list WEB permit tcp 10.1.2.0 255.255.255.0 209.165.201.11 255.255.255.255 eq 80
access-list TELNET permit tcp 10.1.2.0 255.255.255.0 209.165.201.11 255.255.255.255 eq 23
nat (inside) 1 access-list WEB
global (outside) 1 209.165.202.129 255.255.255.255
nat (inside) 2 access-list TELNET
global (outside) 2 209.165.202.130 255.255.255.255
Commentaires sur ces manuels