• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 459
  • Last Modified:

PIX 515 - Inbound access list

How do I allow traffic from a specific server in the DMZ (ie to allow an SQL database to advertise itself on the LAN (192.168.50.x /24). Basically, we have an SQL client that, when you install it, you should see the available servers in a "drop down" - but I only am seeing servers on our LAN, and not the one I need to see in the DMZ.

The translation is already there (I can ping this DMZ server from the inside).

I have read that with an ACL "Access lists on the PIX firewall can only be applied to traffic entering an interface, not traffic that is exiting an interface."

I think I am confusing myself more about what is considered Inbound and what is considered outbound.

Thanks for any advice.
1 Solution
You need to set up an access list into your dmz.  You will also need to set up a static translation between the server inside interface.

Lets say you inside interface is and dmz interface is and sql server

static (dmz, inside) (this will map the networks together)

access-list dmz_in permit tcp any host any eq sql

where you have eq sql I mean whatever protocol you want to allow through.  also where I have used the word any this may be a specific ip address to restrict machines.

The pix firewall is stateful so when a client is allowed through to the DMZ the pix will track the session state and allow the connection back to the lan.  Therfore you do not need an outbound acl from the dmz in this scenario.  

I hope this is what you were looking for.

pingerAuthor Commented:
I thought for my static command I would need something like:

static (inside,dmz) network  (I thought that this would satisfy the requirement for translation in EITHER direction on the inside and dmz interfaces)

1) You have (dmz,inside) instead of (inside,dmz) (higher,lower). Is it necessary to do it that way?

2) Why do you map the pix interfaces instead of the networks (like my example above)? I've never seen that. Is it accomplishing the same thing (basically, doing "no nat")?

3) There is already an "access-list dmz_in permit any any", with an access-group dmz_in in interface dmz. (Wouldn't this permit any traffic to the inside interface? or is this only allowing traffic to a lower interface, and you need to be specific to allow traffic to a higher interface - like your example)

Thank you.
What if you want to filter ip's sending mail to your internal mail server. I haven't hit the right syntax yet. I have a static statement and access-list for mail to come in on port 25, but want to block certain ip(hosts) from sendign junk to us.

I a sense I'm trying to do the same thing graemeboro

Featured Post

Managing Security & Risk at the Speed of Business

Gartner Research VP, Neil McDonald & AlgoSec CTO, Prof. Avishai Wool, discuss the business-driven approach to automated security policy management, its benefits and how to align security policy management with business processes to address today's security challenges.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now