cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Piyapon
Level 8
Report Inappropriate Content
Message 1 of 2

How can I get real client IP if it is NAT from firewall?

Jump to solution

I use McAfee Web Gateway on cloud. All clients in branch will be NAT IP before going to internet. If I want to set rule for specific client in branch e.g. only client IP 10.1.1.1 can access youtube website. 

 

How can I get the real client IP address to specify in ruleset.

1 Solution

Accepted Solutions
marcus69
Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 2 of 2

Re: How can I get real client IP if it is NAT from firewall?

Jump to solution

Hi @Piyapon 

on the branch, you need to add a X-Forwarded-For Header that contains the IP of the client. You may want to use a proxy to add that header, if your firewall is not capable of doing it.


After that, the Cloud Webgateway, will be able to read the Header, detect and identify the clients requests.

Best regards
     Marcus

P.S.: If you find this post helpful, thank You for giving it a Kudo :o)

View solution in original post

1 Reply
marcus69
Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 2 of 2

Re: How can I get real client IP if it is NAT from firewall?

Jump to solution

Hi @Piyapon 

on the branch, you need to add a X-Forwarded-For Header that contains the IP of the client. You may want to use a proxy to add that header, if your firewall is not capable of doing it.


After that, the Cloud Webgateway, will be able to read the Header, detect and identify the clients requests.

Best regards
     Marcus

P.S.: If you find this post helpful, thank You for giving it a Kudo :o)

View solution in original post

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community