Solved

Access DMZ by using public IPs

Posted on 2010-09-08
10
509 Views
Last Modified: 2012-05-10
Is there a way to configure a Cisco ASA so that internally I can use the same external IPs to access a DMZ site.  Right now I need to keep clone domains for all of our hosted sites.  For example, if www.contoso.com points to 123.123.123.1 I add that number to the external DNS for contoso.com.  Internally, I have to keep another DNS domain for contoso.com that points www.contoso.com to 192.168.1.1

I am redoing my DNS and I don't want to keep these clone domains.  Is there a way to configure NAT, etc so that internally I can use the same 123.123.123.1 address?
0
Comment
Question by:phoenix-sys
10 Comments
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 33626247
Dont'think that is going to work. The external ip's are 'connected' to the outside interface (i.e. the interface is in that network) so that route is automatically learned. What you are trying to do is to go to your external address, so go out the outside interface, make a u-turn and go back to the dmz. No go afaik.
0
 
LVL 2

Expert Comment

by:andrel39
ID: 33626254
I don't know about the Cisco ASA but with SonicWall it is possible to do what you are asking using NAT and/or routing rules.
0
 
LVL 4

Expert Comment

by:ullas_unni
ID: 33626266
try this:

static (dmz,inside) ip 123.123.123.1 192.168.1.1 netmask 255.255.255.255

and

nat (inside) 2 0.0.0.0 0.0.0.0
global (dmz) 2 interface
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:phoenix-sys
ID: 33626340
I have seen this with the Sonicwall is why I was asking.  I did try the static above, but not with the nat (inside) and global(dmz).  I will have to try that tomorrow morning before everyone gets in.  Too late for today.
0
 
LVL 4

Expert Comment

by:ullas_unni
ID: 33626385
@ erniebee- in firewall, destination NAT decides your egress interface.

so the packet flow is:

ACL--> Destination NAT-->Route look up--> Source NAT

so in my solution above static is the destination NAT so it decides the egress interface ie the dmz and nat global statements are for source translation.
0
 

Author Comment

by:phoenix-sys
ID: 33626446
Looking at the answer I want to verify one thing.


123.123.123.x is a public IP
192.168.1.x is a DMZ private IP

10.1.1.x is my internal LAN

Did I maybe confuse this or does this still hold true?
0
 
LVL 4

Expert Comment

by:ullas_unni
ID: 33626491
in my answer

123.123.123.1 is the public ip of the server.
192.168.1.1 is the private ip of your server.

the internal LAN users should be able to access the server on 123.123.123.1
0
 

Author Comment

by:phoenix-sys
ID: 33626498
OK, thanks.  I will try that in the morning.
0
 
LVL 4

Accepted Solution

by:
ullas_unni earned 500 total points
ID: 33626532
and a small correction... the static is:

static (dmz,inside) 123.123.123.1 192.168.1.1 netmask 255.255.255.255

there is no 'ip' keyword as in my earlier mentioned static..!!
0
 

Author Comment

by:phoenix-sys
ID: 33626717
OK, I picked one website that I figured no one would be using.  this did work.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Download Logs File from Cisco Switch 1 47
No RSTP between switches 3 61
eigrp routing loop 5 42
port redirection on cisco asa 5520 5 5
There are many useful and sometimes not well documented or forgotten IOS or ASA/PIX commands. See IPE article here , there was also one on PacketU and on Cisco Tips & Tricks. Below are my favorites. I give also a few most often used for Cisco IPS an…
Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…
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…

810 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