Solved

Cisco ASA - DMZ to LAN Communication Help

Posted on 2011-02-28
5
646 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 500 total points
ID: 35149677
Glad to hear.  Can you accept an answer.
0

Featured Post

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

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

This past year has been one of great growth and performance for OnPage. We have added many features and integrations to the product, making 2016 an awesome year. We see these steps forward as the basis for future growth.
When speed and performance are vital to revenue, companies must have complete confidence in their cloud environment.
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…
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…
Suggested Courses

688 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