Advertisement

05.29.2008 at 06:56AM PDT, ID: 23441369
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.9

Nat not translating, cannot access web server in DMZ

Asked by jlock_can in Cisco PIX Firewall, Networking Hardware Firewalls, Network Operations

Tags: , ,

Hi
i'm trying to allow access to a web server in a DMZ using a Cisco ASA5505, unfortunatly it doesn't work
you'll find below the configuration of the ASA,

When I try accessing the webserver from outside i can see the permit access-list been hit, but i also see with Show NAT that the packets are not translate. (i attach the sh nat below)

i don't know whant i did wrong.  Thanks for you helpStart Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
215:
216:
217:
218:
219:
220:
221:
222:
223:
224:
225:
226:
227:
228:
229:
230:
231:
232:
233:
234:
235:
236:
237:
238:
239:
240:
241:
242:
243:
244:
245:
246:
247:
248:
249:
250:
251:
252:
253:
254:
255:
256:
257:
258:
259:
260:
261:
262:
263:
264:
265:
266:
267:
268:
269:
270:
271:
272:
273:
274:
275:
276:
277:
278:
279:
280:
281:
ASA5505 configuration
 
ASA Version 7.2(1) 
!
hostname Jeff-ASA
domain-name jbmb.org
enable password HEXiSdFLRnwKDDj1 encrypted
names
!
interface Vlan1
 nameif inside
 security-level 100
 ip address 192.168.50.1 255.255.255.0 
!
interface Vlan2
 nameif outside
 security-level 0
 ip address 69.70.xx.xx 255.255.255.248 
!
interface Vlan3
 shutdown
 nameif dmz
 security-level 50
 ip address 192.168.100.1 255.255.255.0 
!
interface Ethernet0/0
 switchport access vlan 2
 no nameif
 no security-level
 no ip address
!
interface Ethernet0/1
 switchport access vlan 3
 no nameif
 no security-level
 no ip address
!
interface Ethernet0/2
 no nameif
 no security-level
 no ip address
!
interface Ethernet0/3
 no nameif
 no security-level
 no ip address
!
interface Ethernet0/4
 no nameif
 no security-level
 no ip address
!
interface Ethernet0/5
 no nameif
 no security-level
 no ip address
!
interface Ethernet0/6
 no nameif
 no security-level
 no ip address
!
interface Ethernet0/7
 switchport access vlan 3
 no nameif
 no security-level
 no ip address
!
passwd HEXiSdFLRnwKDDj1 encrypted
ftp mode passive
dns server-group DefaultDNS
 domain-name jbmb.org
same-security-traffic permit inter-interface
same-security-traffic permit intra-interface
access-list outside_cryptomap extended permit ip any 192.168.50.48 255.255.255.240 
access-list inside_nat0_outbound extended permit ip any 192.168.50.48 255.255.255.240 
access-list inside_nat0_outbound extended permit ip any 192.168.50.0 255.255.255.0 
access-list outside_cryptomap_1 extended permit ip any 192.168.50.48 255.255.255.240 
access-list Split_tunnel remark Inside network
access-list Split-tunnel standard permit 192.168.50.0 255.255.255.0 
access-list dmz_in extended permit tcp any any eq www 
access-list dmz_in extended permit tcp any any eq https 
access-list dmz_in extended permit tcp any any eq 8200 
access-list dmz_nat0_outbound extended permit ip 192.168.100.0 255.255.255.0 192.168.50.0 255.255.255.0 
access-list acl_in extended permit tcp any any eq www 
access-list acl_in extended permit tcp any any eq https 
access-list acl_in extended permit tcp any any eq ftp 
access-list acl_in extended permit tcp any any eq smtp 
access-list acl_in extended permit udp any any eq domain 
access-list acl_in extended permit tcp any any eq 8080 
access-list acl_in extended permit icmp any any 
access-list acl_in extended permit tcp any any range 10000 10003 
access-list acl_in extended permit tcp any any eq 5900 
access-list acl_in extended permit tcp any host 192.168.100.50 eq 8200 
access-list acl_in extended permit tcp any host 192.168.100.50 eq www 
access-list acl_in extended permit tcp any host 192.168.100.50 eq https 
access-list acl_in extended permit udp any host 192.168.100.50 eq domain 
access-list acl_in extended permit tcp any any eq telnet 
access-list outside_in extended permit tcp any host 69.70.xx.xx eq 8200 
access-list outside_in extended permit tcp any host 69.70.xx.xx eq www 
access-list outside_in extended permit tcp any host 69.70.xx.xx eq https 
pager lines 24
logging asdm informational
mtu inside 1500
mtu outside 1500
mtu dmz 1500
ip local pool VPN_pool 192.168.50.50-192.168.50.60 mask 255.255.255.0
no failover
icmp permit any inside
icmp permit any outside
asdm image disk0:/asdm-521.bin
no asdm history enable
arp timeout 14400
global (outside) 101 interface
global (dmz) 200 192.168.51.50-192.168.51.60 netmask 255.255.255.0
nat (inside) 0 access-list inside_nat0_outbound
nat (inside) 1 192.168.50.0 255.255.255.0
nat (dmz) 0 access-list dmz_nat0_outbound
nat (dmz) 1 192.168.100.0 255.255.255.0
static (dmz,outside) 69.70.xx.xx 192.168.100.50 netmask 255.255.255.255 
access-group acl_in in interface inside
access-group outside_in in interface outside
access-group dmz_in in interface dmz
route outside 0.0.0.0 0.0.0.0 69.70.76.49 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 uauth 0:05:00 absolute
aaa-server Jeff protocol nt
aaa-server Jeff (dmz) host 192.168.50.100
 timeout 5
group-policy jeff internal
group-policy jeff attributes
 wins-server value 192.168.50.100
 dns-server value 192.168.50.100 4.2.2.2
 vpn-tunnel-protocol IPSec 
 split-tunnel-policy tunnelspecified
 split-tunnel-network-list value Split-tunnel
 default-domain value jbmb
group-policy jeffvpn internal
group-policy jeffvpn attributes
 wins-server value 192.168.50.100
 dns-server value 192.168.50.100
 vpn-tunnel-protocol IPSec 
 split-tunnel-policy tunnelspecified
 split-tunnel-network-list value Split-tunnel
 default-domain value jbmb.net
username jbouchard password WMmldJRwGPw8Wz7K encrypted privilege 0
username jbouchard attributes
 vpn-group-policy jeff
http server enable
http 192.168.50.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac 
crypto dynamic-map outside_dyn_map 20 set transform-set ESP-3DES-SHA
crypto dynamic-map outside_dyn_map 40 set transform-set ESP-3DES-SHA
crypto dynamic-map outside_dyn_map 60 set transform-set ESP-3DES-SHA
crypto dynamic-map outside_dyn_map 80 set transform-set ESP-3DES-SHA
crypto dynamic-map outside_dyn_map 100 set transform-set ESP-3DES-SHA
crypto map outside_map 20 ipsec-isakmp dynamic outside_dyn_map
crypto map outside_map interface outside
crypto isakmp enable outside
crypto isakmp policy 10
 authentication pre-share
 encryption 3des
 hash sha
 group 2      
 lifetime 86400
tunnel-group jeff type ipsec-ra
tunnel-group jeff general-attributes
 address-pool VPN_pool
 default-group-policy jeff
tunnel-group jeff ipsec-attributes
 pre-shared-key *
tunnel-group jeffvpn type ipsec-ra
tunnel-group jeffvpn general-attributes
 address-pool VPN_pool
 default-group-policy jeffvpn
tunnel-group jeffvpn ipsec-attributes
 pre-shared-key *
telnet 192.168.50.0 255.255.255.0 inside
telnet timeout 5
ssh 192.168.50.0 255.255.255.0 inside
ssh timeout 5
console timeout 0
management-access inside
dhcpd auto_config outside
!
dhcpd address 192.168.50.2-192.168.50.254 inside
!
              
!
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 rsh 
  inspect rtsp 
  inspect esmtp 
  inspect sqlnet 
  inspect skinny 
  inspect sunrpc 
  inspect xdmcp 
  inspect sip 
  inspect netbios 
  inspect tftp 
!
service-policy global_policy global
prompt hostname context 
Cryptochecksum:516bd45390fa2f26dad3de143c2af1d0
: end
 
HERE is the SH NAT
 
 
NAT policies on Interface inside:
  match ip inside any inside 192.168.50.48 255.255.255.240
    NAT exempt
    translate_hits = 0, untranslate_hits = 0
  match ip inside any inside 192.168.50.0 255.255.255.0
    NAT exempt
    translate_hits = 0, untranslate_hits = 0
  match ip inside any outside 192.168.50.48 255.255.255.240
    NAT exempt
    translate_hits = 0, untranslate_hits = 87
  match ip inside any outside 192.168.50.0 255.255.255.0
    NAT exempt
    translate_hits = 0, untranslate_hits = 0
  match ip inside any dmz 192.168.50.48 255.255.255.240
    NAT exempt
    translate_hits = 0, untranslate_hits = 0
  match ip inside any dmz 192.168.50.0 255.255.255.0
    NAT exempt
    translate_hits = 0, untranslate_hits = 0
  match ip inside any _internal_loopback 192.168.50.48 255.255.255.240
    NAT exempt
    translate_hits = 0, untranslate_hits = 0
  match ip inside any _internal_loopback 192.168.50.0 255.255.255.0
    NAT exempt
    translate_hits = 0, untranslate_hits = 0
  match ip inside 192.168.50.0 255.255.255.0 inside any
    dynamic translation to pool 1 (No matching global)
    translate_hits = 0, untranslate_hits = 0
  match ip inside 192.168.50.0 255.255.255.0 outside any
    dynamic translation to pool 1 (No matching global)
    translate_hits = 719, untranslate_hits = 0
  match ip inside 192.168.50.0 255.255.255.0 dmz any
    dynamic translation to pool 1 (No matching global)
    translate_hits = 0, untranslate_hits = 0
  match ip inside 192.168.50.0 255.255.255.0 _internal_loopback any
    dynamic translation to pool 1 (No matching global)
    translate_hits = 0, untranslate_hits = 0
 
NAT policies on Interface dmz:
  match ip dmz 192.168.100.0 255.255.255.0 outside 192.168.50.0 255.255.255.0
    NAT exempt
    translate_hits = 0, untranslate_hits = 0
  match ip dmz 192.168.100.0 255.255.255.0 dmz 192.168.50.0 255.255.255.0
    NAT exempt
    translate_hits = 0, untranslate_hits = 0
  match ip dmz host 192.168.100.50 outside any
    static translation to 69.70.76.51
    translate_hits = 0, untranslate_hits = 732
  match ip dmz 192.168.100.0 255.255.255.0 outside any
    dynamic translation to pool 1 (No matching global)
    translate_hits = 0, untranslate_hits = 0
  match ip dmz 192.168.100.0 255.255.255.0 dmz any
    dynamic translation to pool 1 (No matching global)
    translate_hits = 0, untranslate_hits = 0
 
 
[+][-]05.29.2008 at 07:31AM PDT, ID: 21669435

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.29.2008 at 07:39AM PDT, ID: 21669534

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.29.2008 at 08:16AM PDT, ID: 21669907

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Cisco PIX Firewall, Networking Hardware Firewalls, Network Operations
Tags: Cisco, ASA5505, 7.2.1
Sign Up Now!
Solution Provided By: batry_boy
Participating Experts: 1
Solution Grade: A
 
 
[+][-]05.29.2008 at 08:22AM PDT, ID: 21669968

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.29.2008 at 09:07AM PDT, ID: 21670503

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628