SquidGuard and blocking IPs as URLs



  • 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



  • 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.



  • dvserg,

    thanks, as expressions it works!

    br,
    ieleja


Locked