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

Posted on 2011-04-27
Medium Priority
Last Modified: 2012-05-11

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.  


Question by:sbgeek
LVL 10

Expert Comment

ID: 35480838
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]
LVL 35

Accepted Solution

Ernie Beek earned 2000 total points
ID: 35481518
One to one, use:

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

Static (inside,outside) netmask
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?

Featured Post

 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of the companies I’ve worked with have embraced cloud solutions due to their desire to “get out of the datacenter business.” The ability to achieve better security and availability, and the speed with which they are able to deploy, is far grea…
When speed and performance are vital to revenue, companies must have complete confidence in their cloud environment.
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses
Course of the Month17 days, 10 hours left to enroll

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question