Allow users to access OWA from LAN using same URL outside of WAN

I have a newly setup OWA server.  It is encrypted using SSL 128-bit.  I would like my users to be able to connect to the OWA server using the same url from the intranet as they would using the internet.  For example they connect to:  https://mail.example.com/exchange from the internet;  however from our intranet they have to use the server's actuall name https://exampleserver/exchange.  This obviously generates a security warning that the certificiate doesn't match the website.  

Is this a DNS server configuration or do I need to allow some sort of intratraffic command to my CISCO ASA?
LVL 1
ZorniacAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Pete LongTechnical ConsultantCommented:
You can do it in one of two ways - the simplest is to create a DNS forward lookup zone on your internal DNS server
called example.com then create a host (a) record inside it called mail that points to your INTERNAL IP address - so mail.example.com resolved to the internal address without going through the firewall :)

to get your firewall to do it

With Newer Firewalls (PIX v7 upwards and Cisco ASA) your choice depends on....

"WHERE THE DNS SERVER IS THE CLIENTS ARE USING"

*****Option 1 (The DNS server that the client are using is outside (in the internet cloud) DNS Doctoring*****

Note: NOT Available for v6 or earlier firewalls

In this scenario you can use DNS Doctoring (Or rewriting) this is where the firewall monitors incoming DNS replied form a public DNS server, and if it sees your public IP address it changes it "In flight" to your private IP address.

For anyone familiar with the Static command you need a to write a Static the WRONG way round and put the word "dns"  on the end of the command.

Example

static (inside,outside) {Inside IP} {Outside IP} netmask 255.255.255.255 dns
e.g.
Static (inside,outside) 10.254.254.10 123.123.123.123 netmask 255.255.255.255 dns

*****Option 2 (The DNS server is internal or external) - Hair pinning*****

Note: NOT Available for v6 or earlier firewalls

Assuming you dont want to create in internal DNS zone (that would remove the processing overhead form the firewall and place it on a server) Then you can use Hair pinning. Essentially the firewall will "re-route" traffic destined to the public IP address back to its private address. Like DNS doctoring it uses a static command but without the DNS keyword. It also needs s a second command to enable "hair pinning"

example
static (inside,inside) {Outside IP} {Inside IP} netmask 255.255.255.255
same-security-traffic permit intra-interface
e.g.
static (inside,inside) 123.123.123.123 10.254.254.10 netmask 255.255.255.255
same-security-traffic permit intra-interface
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ZorniacAuthor Commented:
PeteLong- SWEET Answer man!!  Very quick response. Very detailed!  I tried the intra-interface approach but it didn't work for me.  Propably something on me... but hey the first and "simplest" answer you gave worked!!  Thanks dude you rock!  
0
Pete LongTechnical ConsultantCommented:
Cheers M8 - my pleasure - have a good one
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Cisco

From novice to tech pro — start learning today.

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.