Zone Assignment

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Zone Assignment

L0 Member

In PanOS, how are the zones established for inbound rules?  I have a bi-directional NAT created for a device located in a DMZ.  I also have a security policy allowing traffic to the NAT address from the untrusted zone (Internet).  When traffic comes in, it is marked as source zone => untrusted, destination zone => trusted and denied because there is no policy for untrusted to trusted.  Shouldn't the destination zone be my DMZ?  See attached file for the log.

1 REPLY 1

L2 Linker

Hi jeff,

For NAT rules, zone matching is based on ingress interface and egress interface after PBF policy or route table lookup.
Zone matching for Security rules is a post nat process; so a second lookup will occur after applying destination NAT rule (if there was a Nat policy match).
on the other side, for ip matching, in security policy, you always have to keep pre-NAT IP address.

When using Static SNAT bi-directional, an implied DNAT rule will be derived from your SNAT one (szone [any],sip [any] - dzone [same],dip [snated ip]).
You can see it with # show running nat-policy.

In you case, I think something is wrong with routing (maybe a wrong mask), your source IP from DMZ zone seems to be routed back in trust zone...
furthermore, don't forget to keep your pre-NAT IP address in your security policy to allow the traffic..

Hope this will help you.

Regards

-Nicolas

  • 2475 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!