cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Former Member
Not applicable
Report Inappropriate Content
Message 1 of 10

Block Web request by Public IP Addresses

Jump to solution

Hi everyone,

I'm using McAfee Webgateway 7.8. I'm wondering if I can configure the MWG to block all user's requests in which contains public IP address, not normal URLs? I mean normal requests to domain names are allowed, while requests to domain public IP addresses are blocked.

Any suggestion is highly appreciated.

HT

1 Solution

Accepted Solutions
jacek
Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 2 of 10

Re: Block Web request by Public IP Addresses

Jump to solution

Yes, you can.
You are looking for a property (in Rule Set)
URL.HostIsIP
"URL.HostIsIP equals true" - means that there is an IP address in URL.Host

But keep in mind, you should also exclude your internal IP address ranges.

View solution in original post

9 Replies
jacek
Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 2 of 10

Re: Block Web request by Public IP Addresses

Jump to solution

Yes, you can.
You are looking for a property (in Rule Set)
URL.HostIsIP
"URL.HostIsIP equals true" - means that there is an IP address in URL.Host

But keep in mind, you should also exclude your internal IP address ranges.

View solution in original post

Former Member
Not applicable
Report Inappropriate Content
Message 3 of 10

Re: Block Web request by Public IP Addresses

Jump to solution
Thanks jacek!
Former Member
Not applicable
Report Inappropriate Content
Message 4 of 10

Re: Block Web request by Public IP Addresses

Jump to solution

can you help me? How to Block Entire Countries from Accessing Your Website? 

@granny games online

Former Member
Not applicable
Report Inappropriate Content
Message 5 of 10

Re: Block Web request by Public IP Addresses

Jump to solution

I am also having a similar situation like this. Thanks @jacek @happy wheels

Johnmash2
Level 7
Report Inappropriate Content
Message 6 of 10

Re: Block Web request by Public IP Addresses

Jump to solution

I am also having a similar situation like this. Thanks https://theoutdoorchamp.com/best-long-range-scope-reviews/

Former Member
Not applicable
Report Inappropriate Content
Message 7 of 10

Re: Block Web request by Public IP Addresses

Jump to solution

Thanks for your advice!

sudoku 247

Johnmash2
Level 7
Report Inappropriate Content
Message 8 of 10

Re: Block Web request by Public IP Addresses

Jump to solution

Its work for me thanks Now my website is live https://plansoutdoor.com/

Johnmash2
Level 7
Report Inappropriate Content
Message 9 of 10

Re: Block Web request by Public IP Addresses

Jump to solution

No time to sort through hundreds of sites for the best deals on the hottest new software? It sure does take a lot of work. Thankfully, you've come to the right place: https://theslevy.com/

Johnmash2
Level 7
Report Inappropriate Content
Message 10 of 10

Re: Block Web request by Public IP Addresses

Jump to solution

Do you want to block some web request by Public IP Addresses? Here is a great solution! By using Squid, we can define ACLs for each country or regions. And it allow us to block some website’s address if the user has come from specific country or region. Check Website for More.

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