Solved

Cisco ASA - DMZ to LAN Communication Help

Posted on 2011-02-28
5
642 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Cisco iWAN 8 68
Network Infrastructure for Branch Office 16 87
EIGRP Configuration 2 46
Cisco universal IOS upgrade from ipbase to ipservices 4 55
If you have an ASA5510 then this sort of thing would be better handled with a CSC Module, however on an ASA5505 thats not an option, and if you want to throw in a quick solution to stop your staff going to facebook during work time, then this is the…
This is about downgrading PIX Version 8.0(4) & ASDM 6.1(5) to PIX 7.2(4) and ASDM 5.2(4) but with only 64MB RAM and 16MB flash. Background: You have a Cisco Pix 515E which was running on PIX 7.2(4) and its supporting ASDM 5.2(4) without any i…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

937 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

4 Experts available now in Live!

Get 1:1 Help Now