This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Block sites accessed by it's IP address

How would one go about blocking URLs that contain an IP?

Example:

hxxp://www.ok-website.com = good
hxxp://64.50.50.123 = blocked (unless added to exceptions)

I have tried using the "Block Uncatagorized" option but, that does not work in this case and is really quite unwieldy in general.

Gateway: ASG320
Firmware: 8.301

Thanks in advance.


This thread was automatically locked due to age.
Parents
  • Thanks BarryG.

    I'm not a RegEx-pert yet - LOL.  I wanted to make sure I was only matching numbers that would be valid in a IP address. Probably being a little overly enthusiastic.

    Your solution is much nicer and seems to be working perfectly.  Thanks again.
Reply
  • Thanks BarryG.

    I'm not a RegEx-pert yet - LOL.  I wanted to make sure I was only matching numbers that would be valid in a IP address. Probably being a little overly enthusiastic.

    Your solution is much nicer and seems to be working perfectly.  Thanks again.
Children
No Data