Question

Cisco ASA 5505 Dmz access www

Asked by: bdehais

Hello,

I have a cisco ASA 5505, since Inside or dmz interface I cannot surf on the web
Net --> juniper SSG140 --> asa
Asa: outside 10.130.1.254
      Inside 192.168.1.105
      Dmz 192.168.2.254

Since the Cli, I can ping a  ip address 74.125.39.103 (google for eg) but since a laptop connected in dmz or inside interface I cannot ping the wan...

My problem is the dns resolution... I don't know solve it. :(

Thank you.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-08-19 at 08:12:19ID24665083
Tags

asa dns

Topics

Domain Name Service (DNS)

,

Network Security

,

Cisco PIX Firewall

Participating Experts
2
Points
500
Comments
20

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Cisco ASA DMZ question
    We are using the CIsco ASA 5505 IOS version 7.1(1) We have created a DMZ however are unable access the DMZ from the inside? So for example our DMZ is 10.1.3.X and our internal network is 10.1.4.X. I am able to ping a computer 10.1.3.9, however I can not reach it via http://1...
  2. Cisco 5510 ASA - Setup VPN user access to DMZ res…
    Hello, We've recently had a new Cisco 5510 ASA firewall implemented and overall it's working well. However we would like to setup DMZ resources access to any user via the VPN. They are able to use the resources on the local network fine i.e. connect to servers etc.... What ...
  3. Juniper ScreenOS vs Cisco IOS CLI
    Dear colleagues, I am new to Juniper and have recently acquired a Juniper SSG-20-SB router for testing purpose. I am used to working with Cisco IOS and have configured several CPE services from DSL to Ethernet. I am trying to find a quick turnaround time to convert (manuall...
  4. juniper vs asa
    Juniper Firewall vs Asa We need a firewall for https implementation the firewall will be guarding the dmz from the internet. We will have 10 remote users connecting over https through it to an access gateway. It will be connected to internet router on outside access gatewa...
  5. DMZ Cisco ASA
    I have a server with dual nic's and an ASA 5505 with Security Plus License. I want to have one nic on the internal Vlan and the other on the DMZ Vlan. Ultimately I plan to have internal access to the server on nic1 and use a chroot jail for the DMZ on nic2, but for right no...
  6. Cisco ASA 5510
    How do I set up public IP addresses to point to one of my company's IP's on a Cisco ASA 5510. I'm running ASDM 6.0

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: chukuPosted on 2009-08-19 at 08:28:16ID: 25133856

this is more of a DNS issue then ASA
on the DNS, check the Forwarders settings. make sure they point to your ISP's DNS servers
check the relevant paragraph http://support.microsoft.com/kb/323380

 

by: bdehaisPosted on 2009-08-19 at 08:41:48ID: 25134009

in dmz I have only a web server, without dns server.
in inside interface Ihave only a laptop.

when the Asa is configured with pppoe, he works properly. dns forwarding is ok.
when the asa is configured with a Ip fixe dns are not forwarded...

see my configuration file in attachement.

 

by: chukuPosted on 2009-08-19 at 08:45:37ID: 25134047

when the asa is configured with a Ip fixe dns are not forwarded
can you explain?

 

by: 3nerdsPosted on 2009-08-19 at 08:47:51ID: 25134068

Is this the dns server address that was provided to you by your isp? 85.94.224.3

I see no config for dhcp to be provided by the asa for the inside. What is providing dhcp to the inside?

Regards,

3nerds

 

by: bdehaisPosted on 2009-08-19 at 08:52:48ID: 25134108

85.94.224.1, 85.94.224.2, 85.94.224.3 are the dns from my isp --> Vox in luxemburg

I see no config for dhcp to be provided by the asa for the inside. What is providing dhcp to the inside?

It's normal, I trying from dmz first.

 

by: 3nerdsPosted on 2009-08-19 at 09:00:33ID: 25134191

You webserver sitting in the dmz has a static ip address or is getting its ip from dhcp?

3nerds

 

by: bdehaisPosted on 2009-08-19 at 09:05:20ID: 25134260

stratic.
but he cannot ping wan, and the cmd "apt-get install " doesn't work may I can ping the dmz gateway to asa.

gateway asa 192.168.2.254
webserver apache2 192.168.2.100

 

by: 3nerdsPosted on 2009-08-19 at 09:08:24ID: 25134296

Has this ever worked or is it a new install?

If this is a new install start working on the inside first. Make sure a PC on the inside can access the internet and then work on the DMZ. Problems with the inside to internet can cause problems with the dmz as well.

When you have a pc up and running on the inside let me know if the PC has a static or dhcp assigned address.

Regards,

3nerds

 

by: bdehaisPosted on 2009-08-19 at 09:13:29ID: 25134352

It's a new install.

I reconfiguring Inside tomorow and give a feedback.

good bye.

 

by: 3nerdsPosted on 2009-08-19 at 09:24:09ID: 25134471

You are missing some of the NAT pieces.

you have this:
global (Outside) 1 interface
nat (inside) 0 access-list inside_nat0_outbound

You need to add this:
nat (inside) 1 0.0.0.0 0.0.0.0

There maybe some other pieces that are needed but that is what I see at first glance.

Regards,

3nerds


 

by: bdehaisPosted on 2009-08-20 at 00:36:53ID: 25139988

hi,

I have reset my configuration and reconfigire properly the ASA.

thank for help.
 
config:
Pix-test(config)# wr mem
Building configuration...
Cryptochecksum: 91ba1edd fdae4be0 1787b928 5fdb6562
3346 bytes copied in 1.950 secs (3346 bytes/sec)
[OK]
Pix-test(config)# sh run
: Saved
:
ASA Version 8.0(3)
!
hostname Pix-test
domain-name pix.lan
enable password N7FecZuSHJlVZC2P encrypted
names
!
interface Vlan1
nameif inside
security-level 100
ip address 192.168.1.105 255.255.255.0
!
interface Vlan4
no forward interface Vlan1
nameif dmz
security-level 50
ip address 192.168.2.254 255.255.255.0
!
interface Vlan11
nameif outside
security-level 0
ip address dhcp setroute
!
interface Ethernet0/0
switchport access vlan 11
!
interface Ethernet0/1
switchport access vlan 11
!
interface Ethernet0/2
!
interface Ethernet0/3
!
interface Ethernet0/4
!
interface Ethernet0/5
switchport access vlan 4
!
interface Ethernet0/6
!
interface Ethernet0/7
!
passwd 2KFQnbNIdI.2KYOU encrypted
ftp mode passive
dns server-group DefaultDNS
domain-name pix.lan
access-list outside_access_in extended permit icmp any any echo-reply
access-list outside_access_in extended permit icmp any any unreachable
access-list outside_access_in extended permit icmp any any time-exceeded
access-list outside_access_in extended deny ip any any
access-list 101 extended permit icmp any any echo-reply
access-list 101 extended permit icmp any any source-quench
access-list 101 extended permit icmp any any unreachable
access-list 101 extended permit icmp any any time-exceeded
access-list 101 extended permit icmp any host 192.168.1.0 echo
pager lines 24
logging enable
logging asdm informational
mtu inside 1500
mtu dmz 1500
mtu outside 1500
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-603.bin
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 0.0.0.0 0.0.0.0
static (inside,outside) 192.168.1.0 10.130.1.253 netmask 255.255.255.255
access-group 101 in interface inside
access-group 101 in interface outside
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout uauth 0:05:00 absolute
dynamic-access-policy-record DfltAccessPolicy
http server enable
http 192.168.1.0 255.255.255.0 inside
http 192.168.1.0 255.255.255.255 inside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
telnet timeout 5
ssh timeout 5
console timeout 0
dhcpd update dns both override
!
dhcpd address 192.168.1.50-192.168.1.55 inside
dhcpd dns 85.94.224.1 85.94.224.2 interface inside
dhcpd lease 86400 interface inside
dhcpd domain Pix-test-lan interface inside
dhcpd update dns interface inside
dhcpd enable inside
!
threat-detection basic-threat
threat-detection statistics access-list
!
class-map inspection_default
match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
parameters
  message-length maximum 512
policy-map global_policy
class inspection_default
  inspect dns preset_dns_map
  inspect ftp
  inspect h323 h225
  inspect h323 ras
  inspect netbios
  inspect rsh
  inspect rtsp
  inspect skinny
  inspect esmtp
  inspect sqlnet
  inspect sunrpc
  inspect tftp
  inspect sip
  inspect xdmcp
!
service-policy global_policy global
prompt hostname context
Cryptochecksum:91ba1eddfdae4be01787b9285fdb6562
: end
Pix-test(config)#
 

 

by: 3nerdsPosted on 2009-08-20 at 07:16:41ID: 25142785

Ok that looks pretty clean, what is your question?

Regards,

3nerds

 

by: bdehaisPosted on 2009-08-20 at 07:25:31ID: 25142903

nothing, I have a solution the Nat was wrong...

now I try to access my webserver in demz...

 

by: 3nerdsPosted on 2009-08-20 at 07:30:05ID: 25142949

sounds like a plan, let me know if you get stuck.

Regards,

3nerds

 

by: bdehaisPosted on 2009-08-24 at 07:40:38ID: 25168757

Hi,

I have a other problem I think that the problem is Nat but I not sure
I cannot access to my web server (192.168.2.100) in dmz... the the respond correctly since lan.

the log
3      Aug 24 2009      14:36:09      710003      10.130.1.50      10.130.1.52       TCP access denied by ACL from 10.130.1.50/33548 to outside:10.130.1.52/80

my configuration:
Password:
Type help or '?' for a list of available commands.
Mercure> ena
Password: ****
Mercure# sh run
: Saved
:
ASA Version 8.0(3)
!
hostname Mercure
domain-name pix.lan
enable password N7FecZuSHJlVZC2P encrypted
names
name 10.130.1.0 outside-network
name 192.168.2.100 Server_Web
!
interface Vlan1
 nameif inside
 security-level 100
 ip address 192.168.1.105 255.255.255.0
!
interface Vlan4
 no forward interface Vlan1
 nameif dmz
 security-level 50
 ip address 192.168.2.254 255.255.255.0
!
interface Vlan11
 nameif outside
 security-level 0
 ip address dhcp setroute
!
interface Ethernet0/0
 switchport access vlan 11
!
interface Ethernet0/1
 switchport access vlan 11
!
interface Ethernet0/2
 shutdown
!
interface Ethernet0/3
!
interface Ethernet0/4
 shutdown
!
interface Ethernet0/5
 switchport access vlan 4
!
interface Ethernet0/6
 shutdown
!
interface Ethernet0/7
 shutdown
!
passwd 2KFQnbNIdI.2KYOU encrypted
ftp mode passive
dns server-group DefaultDNS
 domain-name pix.lan
object-group protocol TCPUDP
 protocol-object udp
 protocol-object tcp
object-group network DM_INLINE_NETWORK_1
 network-object outside-network 255.255.255.0
 network-object host outside-network
access-list outside_access_in extended permit igmp outside-network 255.255.255.0 192.168.2.0 255.255.255.0
pager lines 24
logging enable
logging asdm informational
mtu inside 1500
mtu dmz 1500
mtu outside 1500
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-603.bin
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 1 192.168.1.0 255.255.255.0
nat (dmz) 1 192.168.2.0 255.255.255.0
access-group outside_access_in in interface outside
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout uauth 0:05:00 absolute
dynamic-access-policy-record DfltAccessPolicy
http server enable
http 192.168.1.0 255.255.255.255 inside
http 192.168.1.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
telnet 192.168.1.0 255.255.255.255 inside
telnet 192.168.1.0 255.255.255.0 inside
telnet timeout 15
ssh timeout 5
console timeout 0
dhcpd update dns both override
!
dhcpd address 192.168.1.50-192.168.1.55 inside
dhcpd dns 185.194.224.1 185.194.224.2 interface inside
dhcpd lease 86400 interface inside
dhcpd domain Pix-test-lan interface inside
dhcpd update dns interface inside
dhcpd enable inside
!
dhcpd address Server_Web-192.168.2.110 dmz
dhcpd dns 185.194.224.1 185.194.224.2 interface dmz
dhcpd lease 86400 interface dmz
dhcpd domain Dmz-Srvc-managed interface dmz
dhcpd update dns interface dmz
dhcpd enable dmz
!

threat-detection basic-threat
threat-detection statistics access-list
ntp server 195.218.6.64 source outside prefer
ntp server 83.133.124.233 source outside
!
class-map inspection_default
 match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
 parameters
  message-length maximum 512
policy-map global_policy
 class inspection_default
  inspect dns preset_dns_map
  inspect ftp
  inspect h323 h225
  inspect h323 ras
  inspect netbios
  inspect rsh
  inspect rtsp
  inspect skinny
  inspect esmtp
  inspect sqlnet
  inspect sunrpc
  inspect tftp
  inspect sip
  inspect xdmcp
  inspect icmp
!
service-policy global_policy global
prompt hostname context
Cryptochecksum:b7ddaa1d95ee47c80a1897be5e0eca93
: end
Mercure#

thank you for answers.

 

by: 3nerdsPosted on 2009-08-24 at 09:49:37ID: 25170136

I don't normally do this:
nat (dmz) 1 192.168.2.0 255.255.255.0
and I would remove it.

You also need these pieces to allow outside people to access the server in the dmz.

static (DMZ,outside) tcp interface www 192.168.2.100 www netmask 255.255.255.255

and this:

access-list outside_access_in extended permit tcp any interface outside eq www

This is assuming that you want the outside to access WWW traffic on you web server.

Regards,

3nerds

 

by: bdehaisPosted on 2009-08-24 at 22:54:34ID: 25174809

Hi,

I remove this:
nat (dmz) 1 192.168.2.0 255.255.255.0
after remove dmz cannot acces the web... from the dmz ((inside is ok)

I add the two lines:
static (DMZ,outside) tcp interface www 192.168.2.100 www netmask 255.255.255.255
access-list outside_access_in extended permit tcp any interface outside eq www

but I cannot access to the web server.

 

by: 3nerdsPosted on 2009-08-25 at 05:40:01ID: 25176850

static (DMZ,outside) tcp interface www 192.168.2.100 www netmask 255.255.255.255
access-list outside_access_in extended permit tcp any interface outside eq www

These line only give access to the web server from the outside.

You should be able to access the webserver from the inside by default

So what your telling me is when you removed this: nat (dmz) 1 192.168.2.0 255.255.255.0 you lost internet access from the dmz server? But it still works from the inside.

This is fine: nat (dmz) 1 192.168.2.0 255.255.255.0 because you have this nat (inside) 1 192.168.1.0 255.255.255.0 but I normally just cheat and do this

nat (inside) 1 0.0.0.0 0.0.0.0 the the DMZ line is not necessary. I should of looked closer at what you had sorry about that please add this back in:

nat (dmz) 1 192.168.2.0 255.255.255.0


Please test.

Regards,

3nerds

 

by: bdehaisPosted on 2009-08-25 at 07:26:28ID: 25177933

Hi,

all running fine !

your solution really help me. but the problem was my first firewall... a bad redirection form http/80 protocol.

thank you for help.

 

by: 3nerdsPosted on 2009-08-25 at 08:17:17ID: 25178478

Great to hear.

3nerds

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...