Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    SquidGuard and blocking IPs as URLs

    Scheduled Pinned Locked Moved pfSense Packages
    3 Posts 2 Posters 1.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I Offline
      ieleja
      last edited by

      hi!

      I can't use "Not to allow IP addresses in URL", because there are some sites, that use direct IPs in their webs. there for i go to 'Destinations' and try put IPs, that I want block in 'URLs list' and get strange error:

      The following input errors were detected:
         * DEST 'd_IPs': Item 'my IP there' is not a url.

      after some investigation I found, that only IP that pass is:

      12.10.220.125

      and only if I put in such form:

      12.10.220.125/

      this is IP, that used in example, at 'Proxy Content filter SquidGuard: Destinations' 'URLs list'

      how I can block some other IPs?

      thanks,
      ieleja

      1 Reply Last reply Reply Quote 0
      • D Offline
        dvserg
        last edited by

        Now try via expressions
        for example for block ip's 10.1.1.5 and 192.168.1.10
        (10.1.1.5)|(192.168.1.10)

        Later i explore this issue.

        SquidGuardDoc EN  RU Tutorial
        Localization ru_PFSense

        1 Reply Last reply Reply Quote 0
        • I Offline
          ieleja
          last edited by

          dvserg,

          thanks, as expressions it works!

          br,
          ieleja

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.