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

Multiple PIX with Access-list

Hi Guys,

Here is the scenario


                              DMZ                        Private
Internet--------PIX1------------------PIX2----------
all the hosts on DMZ have the PIX2 As gateway
PIX1 will allow access to Internet from DMZ
PIX2 has Deny any any on DMZ internface
PIX2 has route as follows
0000 0000 PIX1 gateway.
Now a host on DMZ wants to access Internet, Do i need to allow access on PIX2

The host traffic will hit the PIX2 DMZ interface then the default route will direct to PIX1.
to do this does the PIX2 need to have the access-rule????? or will it forward it without accessrule??
However there is a default deny any any on DMZ interface of PIX2

regards
Naren
0
r_naren22atyahoo
Asked:
r_naren22atyahoo
  • 3
1 Solution
 
lrmooreCommented:
You have to change the default gateway to PIX1
PIX2 will not redirect the traffic regardless of acls or rules.
0
 
lrmooreCommented:
As long as you are natting between PIX2 and the DMZ there are no other routes needed on the hosts.
If you are not natting between them and all nat is on PIX1, then you need an additional route statement on the dmz hosts for the private lan IP pointing to PIX2
0
 
r_naren22atyahooAuthor Commented:
Why?

If the Hosts on DMZ has PIX2 intf as the gateway.

then

the dmz hosts traffic comes to PIX2,
 if the traffice is fors private then it will direct to private, then if the traffic is for internet then
the default route on PIX2 i.e. 0000 0000 any to DMZ1 Intf of PIX1
will direct to PIX1 interface rite???

what exactly is wrong in the above scenario???
anyway the NAT is only on PIX1
0
 
lrmooreCommented:
What's wrong is the basic design principles of the pix. It will not redirect any packet out the same interface it arrived on. It will proccess it through to another interface without problem. A router would "bounce" it to the designated gateway in its route table. A PIX is not a router and does not behave the same way. A router will also send an icmp redirect to the host saying "that route is at gateway xxxx" and this creates a dynamic route table on the host so that next packets go directly to the alternate gateway. Pix will not send this redirect packet either.

With NAT only on PIX1 then you will have to add static route entries on the hosts for lan subnet behind pix2 and default gateway to pix1


0
 
prueconsultingCommented:
Throw a layer 3 switch or router in the DMZ and allow it to make your routing descions and direct accordingly if you want to have those machines point to a single GW.  Point them at the switch
0

Featured Post

The Firewall Audit Checklist

Preparing for a firewall audit today is almost impossible.
AlgoSec, together with some of the largest global organizations and auditors, has created a checklist to follow when preparing for your firewall audit. Simplify risk mitigation while staying compliant all of the time!

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