XFF: For security Policy

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Palo Alto Networks Approved
Palo Alto Networks Approved
Community Expert Verified
Community Expert Verified

XFF: For security Policy

L4 Transporter

Trying to implement this.

https://docs.paloaltonetworks.com/pan-os/10-1/pan-os-admin/policy/identify-users-connected-through-a...

image.png

Azure Web Application Gateway is in the front, acting as proxy. I can see packet captures for port 80 x-forward for is included

But i don't see xff in traffic logs, and matching the url accessed shows traffic from Azure Gateways internal backend IP and not from the original client IP in XFF.

image.png

How ever I don't see IP under XFF traffic logs as source ip

Also i tried adding source ip to be blocked to test, and could not get it to work

1 accepted solution

Accepted Solutions

L6 Presenter

Hello, I suspect that because also the port is included it causes issues. Try to have an HTTP header that contains just one IP address without a port :

 

https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClIVCA0

 

View solution in original post

2 REPLIES 2

L6 Presenter

Hello, I suspect that because also the port is included it causes issues. Try to have an HTTP header that contains just one IP address without a port :

 

https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClIVCA0

 

Thanks @nikoolayy1 

Rewriting HTTP header on Application Gateway to remove port information made it work.

  • 1 accepted solution
  • 1939 Views
  • 2 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!