cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
251
Views
0
Helpful
2
Replies

DMZ on ASA 5520

rhauk0868
Level 1
Level 1

 I have a slight emergency that was dumped on me to be done this week.

I have an ASA 5520 and need to setup a DMZ for one server. It need to communicate to one server on my inside network and to the internet over specific ports.

 

I am not totally ignorant on Cisco but it has been a very long time since I have done this type thing and would appreciate any help given.

 

I have setup GE0/2 With Name DMZ state enabled Security 50 IP 172.16.2.1 Mask of 255.255.255.0 but that is as far as I have gone. I need to setup I believe a deny all and then open the ports needed but not sure the how to on this part.

2 Replies 2

rvarelac
Level 7
Level 7

Hi

 

After configuring the interfaces on the ASA , you can create an ACL to permit access to the internal server from the DMZ.

For example if we use the following values :

Internal server : 10.198.16.254/24

DMZ server: 172.16.29.20 /24

The access list would be:

access-list DMZ-ACL permit ip 172.16.29.0 255.255.255.0 10.198.16.0 255.255.255.0

access-group DMZ-ACL in interface DMZ

or you can specify to allow only that host with the following config

access-list DMZ-ACL permit ip 172.16.29.0 255.255.255.255 10.198.16.0 255.255.255.255

And to allow access from internet to the DMZ server you must  do a NAT translation .

 

Example :

sintaxis (interfaces names)   global ip port real ip port

static (DMZ,outisde) tcp/udp 64.20.20.5 80 172.16.29.20 90

 

Hope this help!

Regards ,

 

 

 

nkarthikeyan
Level 7
Level 7

Hi,

 

You need to set Nonat for the inside to dmz or dmx to inside access and for outisde access for dmz server you need to do port based translation.

Your DMZ Server: 172.16.2.10

Your Internal Server: 192.168.1.10

object network obj-local

host 192.168.1.10

object network obj-dmz

host 172.16.2.10

!

nat (dmz,inside) 1 source static obj-dmz obj-dmz destination static obj-local obj-local

 

for Internet access:

object obj-public

host 1.1.1.1

object service obj-udp-900

service udp source eq 900

!

nat (dmz,outside) 1 source static obj-dmz obj-public service obj-udp-900 obj-udp-900

!

HTH

 

Regards

Karthik

Review Cisco Networking products for a $25 gift card