Squidguard + Whitelist + regex



  • Hello all,
    I'm trying to configure a new ACL on Squidguard in order to whitelist some domains and sub-domains.
    So, I created a target to manage my website list. I noticed that "domain list" didn't handle subdomain.
    For example, I need to allow *.onmicrosoft.com. Sub-domains (like test.onmicrosoft.com or example.onmicrosoft.com) have different ip each other.

    So I think I need to use regex for that purpose. But I didn't manage to create the good expression list.

    Is someone could help me ?

    Here are some example a subdomain sites that I would like to authorise :
    *.onmicrosoft.com
    *.microsoftonline.com
    *.office365.com
    *.office.com

    Thanks in advance


Log in to reply