Solved

Cisco ASA - DMZ to LAN Communication Help

Posted on 2011-02-28
5
641 Views
Last Modified: 2012-05-11
Hi All,

Basically I am trying to lockdown the communications between the DMZ and the LAN but am having some issues and wondered if you could help me.

I added this Config, and basically want I wanted to achieve was only allowing server “marshal01” to talk to server “lemsip” via smtp and server “exch01” via smtp, http & https

object-group service DM_INLINE_TCP_2 tcp
port-object eq www
port-object eq https
port-object eq smtp

object-group network Private_Subnets
 network-object Private_10 255.0.0.0
 network-object Private_172 255.255.0.0
 network-object Private_192 255.255.0.0

access-list dmz_access_inside extended permit icmp any any
access-list dmz_access_inside extended permit tcp any any eq domain
access-list dmz_access_inside extended permit udp any any eq domain
access-list dmz_access_inside extended permit ip host marshal01 any
access-list dmz_access_inside extended permit tcp host marshal01 host exch01 object-group DM_INLINE_TCP_2
access-list dmz_access_inside extended permit tcp host marshal01 host lemsip eq smtp
access-list dmz_access_inside extended deny ip any object-group Private_Subnets

But now the server can get to the internet and also anything on the lan as well.

How can I prevent this getting to anything on the lan apart from what I have allowed?

Thanks

Paul
0
Comment
Question by:essexboy80
  • 3
  • 2
5 Comments
 
LVL 43

Expert Comment

by:JFrederick29
ID: 34999428
>access-list dmz_access_inside extended permit ip host marshal01 any

This rule allows full access.  Remove it to restrict access to the other rules.  If you want it to have access to the Internet (but not the LAN), add that statement to the bottom of the ACL, under the deny to private LAN networks.
0
 
LVL 1

Author Comment

by:essexboy80
ID: 34999659
understood and working now thanks.

just to confirm my config is now

access-list dmz_access_inside extended permit tcp host marshal01 host exch01 object-group DM_INLINE_TCP_2
access-list dmz_access_inside extended permit tcp host marshal01 host lemsip eq smtp
access-list dmz_access_inside extended deny ip any object-group Private_Subnets
access-list dmz_access_inside extended permit ip host marshal01 any

but how come the internet rule works when it is below the deny?
0
 
LVL 43

Expert Comment

by:JFrederick29
ID: 34999682
Because you are only denying the server to the "Private_Subnets" networks and not the Internet.

if you denied "ip any any" then Internet would not work.
0
 
LVL 1

Author Comment

by:essexboy80
ID: 35149204
All Sorted thanks guys
0
 
LVL 43

Accepted Solution

by:
JFrederick29 earned 500 total points
ID: 35149677
Glad to hear.  Can you accept an answer.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

When I upgraded my ASA 8.2 to 8.3, I realized that my nonat statement was failing!   The log showed the following error:     %ASA-5-305013: Asymmetric NAT rules matched for forward and reverse flows It was caused by the config upgrade, because t…
Have you experienced traffic destined through a Cisco ASA firewall disappears and you do not know if the traffic stops in the firewall or somewhere else? The solution is the capture feature. This feature was released in 6.2(1) and works in all firew…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now