Download Print this page

Cisco ASA 5506-X Configuration Manual page 102

Cli
Hide thumbs Also See for ASA 5506-X:

Advertisement

Examples for Network Object NAT
Inside Load Balancer with Multiple Mapped Addresses (Static NAT,
One-to-Many)
The following example shows an inside load balancer that is translated to multiple IP addresses. When
an outside host accesses one of the mapped IP addresses, it is untranslated to the single load balancer
address. Depending on the URL requested, it redirects traffic to the correct web server.
Figure 5-3
209.165.201.4
Procedure
Create a network object for the addresses to which you want to map the load balancer.
Step 1
hostname(config)# object network myPublicIPs
hostname(config-network-object)# range 209.165.201.3 209.265.201.8
Create a network object for the load balancer.
Step 2
hostname(config)# object network myLBHost
hostname(config-network-object)# host 10.1.2.27
Step 3
Configure static NAT for the load balancer applying the range object.
hostname(config-network-object)# nat (inside,outside) static myPublicIPs
Cisco ASA Series Firewall CLI Configuration Guide
5-4
Static NAT with One-to-Many for an Inside Load Balancer
Undo Translation
209.165.201.3
10.1.2.27
Undo Translation
10.1.2.27
Host
Undo Translation
Outside
209.165.201.5
Inside
Load Balancer
10.1.2.27
Web Servers
Chapter 5
NAT Examples and Reference
10.1.2.27

Hide quick links:

Advertisement

loading