How do I NAT a public IP range to a private range

Hi,

This may be a dumb question.  I am trying to NAT a series of internal servers to public IPs in a one to one fashion.  I have a series of static NATs in place now with only the first and last one working.  

Thanks,

SB
sbgeekAsked:
Who is Participating?
 
Ernie BeekExpertCommented:
One to one, use:

Static (inside,outside) public_ip private_ip netmask 255.255.255.255
So let's say you want to nat 1.2.3.4 to 192.168.1.1. Then it would look like:

Static (inside,outside) 1.2.3.4 192.168.1.1 netmask 255.255.255.255
Of course you need an access-list on the outside to allow the appropriate ports though.
So what's wrong with the current NATs? Could you show us?
0
 
ujitnosCommented:
If we wanted to access our DMZ Web server server via the outside/public interface (example access to a DMZ PC via a public IP)

static (dmz,outside) [NAT_IP] [Real_IP]
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.