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
  • Hi,
    The first question mark seems out of place.
    If you're doing SSL proxying, you should use
    ^https?://
    otherwise
    ^http://
    should work.

    Also, your regex seems overly complicated;
    ^https?://\d+\.\d+\.\d+\.\d+/
    should suffice with no false positives.

    Barry
Reply
  • Hi,
    The first question mark seems out of place.
    If you're doing SSL proxying, you should use
    ^https?://
    otherwise
    ^http://
    should work.

    Also, your regex seems overly complicated;
    ^https?://\d+\.\d+\.\d+\.\d+/
    should suffice with no false positives.

    Barry
Children
No Data