cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
291
Views
0
Helpful
1
Replies

Cisco ASA 5510 - DMZ Web Server help!

red_day14
Level 1
Level 1

I hope I can get some help about my issue.

I've configured the dmz on my web server, but I can't access  from outside network!! So, from DMZ port I have another switch where I have other pc and my web server, from the pc that are in the same switch I'm able to go the web server, but not from outside network!.

Here are the commands that I have used for dmz, so my dmz name is dmz1 and the port that I assigned is eth 0/3, and the IP 192.168.20.1

 

 

ASA111(config)# show running-config
: Saved
:
ASA Version 8.2(5)
!
hostname ASA111
enable password 2KFQnbNIdI.2KYOU encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
names
!
interface Ethernet0/0
 nameif outside
 security-level 0
 ip address dhcp setroute
!
interface Ethernet0/1
 nameif inside
 security-level 100
 ip address 192.168.10.1 255.255.255.0
!
interface Ethernet0/2
 shutdown
 nameif DMZ
 security-level 50
 ip address 168.168.1.1 255.255.255.0
!
interface Ethernet0/3
 nameif dmz1
 security-level 60
 ip address 192.168.20.1 255.255.255.0
!
interface Management0/0
 nameif management
 security-level 100
 ip address 192.168.1.1 255.255.255.0
 management-only
!
ftp mode passive
pager lines 24
logging asdm informational
mtu management 1500
mtu inside 1500
mtu outside 1500
mtu DMZ 1500
mtu dmz1 1500
no failover
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 1 0.0.0.0 0.0.0.0
nat (dmz1) 1 0.0.0.0 0.0.0.0
static (DMZ,outside) 192.168.1.11 168.168.1.2 netmask 255.255.255.255
route outside 0.0.0.0 0.0.0.0 10.4.2.1 1
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 sip-provisional-media 0:02:00 uauth 0:05:00 absolute
timeout tcp-proxy-reassembly 0:01:00
timeout floating-conn 0:00:00
dynamic-access-policy-record DfltAccessPolicy
http server enable
http 192.168.1.0 255.255.255.0 management
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000
telnet timeout 5
ssh timeout 5
console timeout 0
dhcpd dns 8.8.8.8
!
dhcpd address 192.168.1.2-192.168.1.254 management
dhcpd enable management
!
dhcpd address 192.168.10.10-192.168.10.100 inside
dhcpd enable inside
!
dhcpd address 168.168.1.10-168.168.1.100 DMZ
dhcpd enable DMZ
!
threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
webvpn
!
class-map inspection_default
 match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
 parameters
  message-length maximum client auto
  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 rsh
  inspect rtsp
  inspect esmtp
  inspect sqlnet
  inspect skinny
  inspect sunrpc
  inspect xdmcp
  inspect sip
  inspect netbios
  inspect tftp
  inspect ip-options
!
service-policy global_policy global
prompt hostname context
Cryptochecksum:d5956025a17e97aeb19a73cbf3458c8a
: end
ASA111(config)#                 1 0.0.0.0 0.0.0.0

 

 

I really would appreciate if somebody helps me.

1 Reply 1

Akshay Rastogi
Cisco Employee
Cisco Employee

Hi,

As per the description, your server is behind 'dmz1'. As you want to access server from outside, i could not found any 'static nat' referring your server.

please configure the same :

static(dmz1,outside) <mapped-ip> <static-ip> netmask 255.255.255.255

-Also configure access-list to allow outside traffic to go to web server. Place the same on Outside interface.

access-list out_in permit tcp any host <private-ip-of-server> eq 80

access-list out_in permit tcp any host <private-ip-of-server> eq 443

access-group out_in in interface outside

 

Please let me know if you have any queries on this. If this answers your query, I would request you to select the appropriate response as the solution for this thread. 

Regards,

Akshay Rastogi

Review Cisco Networking for a $25 gift card