cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1727
Views
0
Helpful
7
Replies

ASA 5505 DMZ config question - CLI

kwhitley1
Community Member

I have recently inherited a network with an ASA 5505 at a remote office. Users there have a server that needs to be accessible from the outside. I would like to put this server in a DMZ and use port forwarding (I have the security plus license already installed). I can only find the ASDM instructions for this - there has to be CLI commands for this. Can someone please respond with either the instuctions or the link where I can find them?

7 Replies 7

JORGE RODRIGUEZ
Level 11
Level 11

Will you be using the ASA outside interface IP? if so this thread should get you up and running for port forwarding , replace your static entry to reflect DMZ interface , static(DMZ,outside) etc.. , come back if any questions.

http://forum.cisco.com/eforum/servlet/NetProf?page=netprof&forum=Security&topic=Firewalling&CommCmd=MB%3Fcmd%3Ddisplay_location%26location%3D.1ddfc9dc

Jorge Rodriguez

First of all - thank you - both for your response.

Yes - the ASA outside interface IP will be used for the server as well.

Here is what I have created so far

An Object-group:

Object-group service SERVER tcp

description TCP Passthrough Ports

Port-object range XXXX-XXXX

Port-object range xxxx-xxxx

Port-object range eq xxxxx

An access list outside_access_in:

access-list outside_access_in extended permit tcp any host (outside IP) object-group SERVER

And applied this access list to the outside interface:

access-group outside_access_in in interface outside

Is this correct?

Would the static look like this?

static (DMZ,outside) (outside IP) (DMZ server IP) netmask 255.255.255.255

Do I need a global (outside) statement?

your static should look as :

static (DMZ,outside) interface netmask 255.255.255.255

for global leave as is if Im not mistaken it should already have statement as " global (outside) 1 interface "

Jorge Rodriguez

This worked! Thank you much!

msosabar
Community Member

Hello,

Here is an example of the configuration guide for PIX and ASA version 7.2, check it out and use for further reference.

msosabar
Community Member

Thank you - I have been looking for this without luck.

Review Cisco Networking for a $25 gift card