Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
gonianiwa
Explorer

Rule to block request if url contains IP address

Hello,

 

I would like to block all request at checkpoint when user will use directly IP address to access websites. As i read about it, it requires to write proper regex for it, i tried to use the following regex, but checkpoint did not accept it.

 

[0-9]+\.[0-9]+\.[0-9]+\.[0-9]

0 Kudos
1 Reply
Nick_Doropoulos
Advisor

Hello,

Please try the following reg instead and advise results:

\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}

It should match any IPv4 address.

I hope this helps.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    Tue 20 May 2025 @ 11:30 AM (PDT)

    Las Vegas: Check Point Hybrid Mesh

    Wed 21 May 2025 @ 11:30 AM (MST)

    Tempe, AZ: Check Point Hybrid Mesh

    Tue 03 Jun 2025 @ 06:00 PM (EDT)

    Montreal: CPX Recap

    Tue 10 Jun 2025 @ 06:00 PM (EDT)

    Quebec City: CPX Recap
    CheckMates Events