?
Solved

Cisco ASA - DMZ to LAN Communication Help

Posted on 2011-02-28
5
Medium Priority
?
647 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 total points
ID: 35149677
Glad to hear.  Can you accept an answer.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

On Feb. 28, Amazon’s Simple Storage Service (S3) went down after an employee issued the wrong command during a debugging exercise. Among those affected were big names like Netflix, Spotify and Expedia.
Powerful tools can do wonders, but only in the right hands.  Nowhere is this more obvious than with the cloud.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…
Suggested Courses

764 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