Using Sophos Firewall Web Categories and Instant Alerts
Web categories control which websites users can access. Instant alerts add email notifications for a small number of deliberately monitored categories. For either feature to work reliably, the category, web policy, firewall rule, logging, and email delivery must align.
This is particularly useful in schools, sensitive business areas, or environments where certain web requests shouldn’t remain unnoticed until the monthly report.
A category alone doesn’t change traffic. A web policy must use it for an action, and that policy must be assigned to a matching firewall rule before the action enters the production traffic path. TLS inspection, QUIC handling, and logging also determine what the firewall can identify and report later.
For general web policy planning, start with Setting up Sophos Firewall Web Protection with Web Policies. For rule base assistance, see Understanding and Correctly Configuring Sophos Firewall Rules. This article focuses on the operational web part: categories, URL groups, instant alerts, evaluation, and response.
Orientation
Start by deciding which protection or configuration method fits the actual use case. This avoids broad rules and duplicated troubleshooting later.
Clearly Distinguish Terms
Sophos uses several web objects that are easily mixed up in everyday use.
- Web category: Category for domains, URLs, or keywords. Many categories come from Sophos, custom categories are possible. Allow, block, limit, or report web access based on risk or content.
- URL group: List of domains that can be used in web policies or TLS exceptions. Explicit allow or block lists when specific domains are more important than categories.
- Web policy: Rule set for users, groups, categories, URL groups, file types, content filters, and actions. Control web access and link with a firewall rule.
- Instant alerts: Email notification for access to monitored categories. Quick notification for particularly sensitive or high-risk categories.
- Log Viewer and Reports: Evaluation of the actual decision. Check if category, policy, user, and firewall rule work as expected.
A web policy only takes effect when selected in a suitable firewall rule under Security features > Web filtering. The web policy alone is not a rule that handles production traffic.
When Web Categories Are Useful
Web categories are particularly useful when web access should not just be generally allowed or blocked. Typical scenarios:
- Block malware, phishing, and fraud categories.
- Restrict anonymizers, proxies, and circumvention services.
- Closely monitor command-and-control or spyware categories.
- Block categories like adult content, gambling, or controlled substances depending on the environment.
- Allow business-critical cloud applications but restrict private cloud or file-sharing services.
- In schools or supervised environments, monitor particularly sensitive categories with instant alerts.
- Limit bandwidth for certain web categories through traffic shaping.
Categories should not all be set to block or alert indiscriminately. Otherwise, many hits occur that no one can reasonably review. A small, clear set with an owner, response path, and review is better.
Prerequisites
Before configuration, these points should be clarified:
- Web Protection or a suitable Sophos Firewall bundle is licensed.
- There is a client or user rule that should use web filtering.
- User or group matching is planned if policies are to apply based on users.
- Log firewall traffic is active in the relevant firewall rule.
- Under System services > Log settings, at least Content filtering is selected for Local reporting. Select the same log type in the corresponding destination column for Central Reporting or syslog.
- Email notifications work if instant alerts are to be used.
- The appliance model supports Instant Alerts; XGS 87 and XGS 88 do not support this feature.
- For long-term evaluation, Central Firewall Reporting or Syslog is planned.
- A deliberate decision has been made about how to handle QUIC and TLS inspection.
For central evaluation, see Enable Central Firewall Reporting. If logs are to go to your own SIEM, Send Sophos Firewall Syslog to SIEM is the better follow-up article.
Plan Policy Design
Before configuring alerts, define which categories are relevant, who receives notifications and what should happen after an alert.
Plan Categories and URL Groups
For admins, it is important to know when a custom web category and when a URL group is more appropriate.
A custom web category is useful when:
- Domains or keywords are to be used as a category in multiple web policies.
- The category should be consciously visible in reports and logs.
- A traffic-shaping concept by category is planned.
- A monitored category for instant alerts is to be created.
A URL group is usually better when:
- Only specific domains are collected.
- A small allow list or block list is needed.
- The list should also be used for TLS exceptions.
- Keyword matching should be avoided.
For pure domain matches, URL groups are more direct and easier to audit than categories with keywords. Use keyword categories only in blocking rules, not allow rules: query parameters can otherwise force unintended access.
A URL group contains valid domains. Regular expressions aren’t allowed; entries are evaluated with OR, so a single match is sufficient. The current SFOS 22 help doesn’t specify a fixed maximum. This isn’t a promise of unlimited lists. For large or dynamically maintained lists, check whether an imported category database or threat feed is the more appropriate option.
Create and safely use URL groups shows the complete creation, web policy, TLS, and testing workflow.
Distinguish fixed, dynamic, and missing categories
Most built-in categories rely on a URL lookup. ActiveX, Applets, Cookies, and HTTPUpload are dynamic categories instead: the firewall assigns them through content inspection. A URL lookup alone therefore does not confirm whether such a content rule will match a real request. ALLWebTraffic means all HTTP traffic, not just previously unknown websites.
None and Uncategorized are different results. With None, the lookup succeeded but the URL database has no category information. With Uncategorized, the lookup failed. Before creating an exception, distinguish missing database classification from a categorization problem; neither result proves that a website is safe.
Select categories by their meaning
A category is not a general security verdict on every item of content in a service. These distinctions matter when selecting policy actions:
- CRL and OCSP covers certificate revocation checks; Software updates covers updates to mainstream software. These requests are normally needed. Download freeware & shareware explicitly excludes operating-system, antivirus, and other business-critical update sites. A download block must not accidentally prevent updates.
- Content delivery usually covers secondary or embedded content from other websites. A blanket block can break approved sites; check the actual destination host and primary site in logs before granting an exception.
- Command & control means known malware control servers, Spyware & malware means sites hosting malicious content, and Phishing & fraud includes phishing and fraudulent sites. Newly registered websites and Parked Domain, by contrast, are risk signals, not proof of malware.
- Business cloud apps, Personal cloud apps, and Personal network storage distinguish business applications, personal cloud services, and private network storage. Decide access based on data-leakage risk and business need, not just the word “cloud.”
- Anonymizers and Translators can bypass filtering; Image search, Portal sites, and search engines can expose content from other categories. Allowing a primary site therefore does not mean that every embedded destination should be allowed.
- Live audio, Live video, Video hosting, Surveillance, and Voice & video calls distinguish streaming, on-demand video, surveillance, and communication. Whether shaping or blocking is appropriate depends on the needed service. Casino, hotel, and resort sites fall under Travel when they offer neither online gambling nor gambling/gaming tips. The hotel’s name alone does not establish its classification.
Compact glossary for diagnosis and sensitive environments
Gambling covers online gambling and lotteries using real or virtual money; information or advice on wagering, lotteries, gambling, or running numbers; virtual casinos and offshore gambling ventures; sports picks and betting pools; and virtual sports or fantasy leagues offering large rewards or requiring significant wagers. Games covers playing or downloading games, game or contest hosting, game tips and advice, cheat codes, and journals or magazines dedicated to online gaming. Distinguish wagering-related advice from ordinary game tips; the Travel boundary above still requires neither online gambling nor gambling/gaming tips.
HTTPUpload concerns HTTP upload restrictions and is dynamic; IPAddress concerns sites accessed through IP addresses. These are different rule cases, not synonyms for missing classification.
Pro-suicide & self-harm covers sites promoting suicide or self-harm. Schools may monitor potential safeguarding concerns with this category. Mental-health, help, and support pages do not belong here merely because of their topic. A hit requires human review, not an automatic incident conclusion.
Sex education covers pictures or text advocating proper contraceptive use, discussion of the pill, IUDs, and other contraceptives, and advice on talking to a partner about diseases, pregnancy, and respecting boundaries. Commercial sites selling sexual paraphernalia are excluded and typically fall under Sexually explicit. Sexually explicit covers adult products, including sex toys, CD-ROMs, and videos; adult services, including video-conferencing, escort services, and strip clubs; child sexual abuse material and pedophilia, including the IWF list; erotic stories and textual descriptions of sexual acts; explicit cartoons and animation; sexually explicit online groups, newsgroups, and forums; sexually oriented or erotic sites with full or partial nudity; depictions of sexual acts, including with animals or inanimate objects used sexually; sexually exploitative or sexually violent text or images; bondage, fetishes, and genital piercing; naturist sites featuring nudity; and erotic or fetish photography depicting nudity. Sexual-health, breast-cancer, and sexually transmitted disease information is excluded except where it contains graphic examples.
Intolerance & hate covers advocacy or incitement of degradation or attacks against populations or institutions based on religion, race, nationality, gender, age, disability, or sexual orientation; political or social agendas that promote supremacy and exclude others on those grounds; Holocaust revisionism or denial and other revisionism encouraging hate; coercion or recruitment into gangs or cults; militancy and extremism; and flagrantly insensitive or offensive material, including material that fails to recognise or respect opposing opinions or beliefs. Here, a gang primarily commits serious criminal acts, has a common name or identifying sign or symbol, and has members who individually or collectively engage in crime in its name. A cult deceptively recruits and retains followers through manipulation and undue influence that alters their personalities and behaviour, subordinates individual will to the group under all-powerful leadership and a totalistic ideology, and sets itself outside society. News, historical material, and press reporting are excluded except for graphic examples. Reporting is not automatically advocacy.
Radio & audio hosting covers legitimate on-demand audio and music, with Spotify and Pandora as source examples, unlike live event or programme streams in Live audio. Online Chat covers web-based chat and instant messaging; Voice & video calls concerns internet telephony and video calling. Select according to the required form of communication.
Unauthorized software stores covers questionable software and app distribution for computers and mobile devices, with potentially malicious or trojanised downloads. Not every unapproved store is proven malicious. Distinguish this from necessary, approved Software updates for mainstream products.
For sensitive categories, use only harmless, approved test cases and controlled fixtures; never visit illegal or distressing material. Have a person review classification, context, and possible misclassification before escalation. The category list is not a complete taxonomy; confirm the current category and its scope before relying on an alert.
Before broad changes, record the existing policy and use harmless, approved destinations to test both the intended match and required updates and certificate revocation checks. If services fail, restore the affected category action and repeat the tests rather than turning off web filtering altogether.
Generative AI as a Web Category in SFOS 23.0
SFOS 23.0 documents Generative AI as a built-in web category for websites and services that let users create or transform content through prompts. Websites whose primary purpose is not generative AI are explicitly excluded. An additional AI feature within another service is therefore not enough to assume that the service belongs to this category. The category does not guarantee detection of all AI use.
This Sophos URL classification is used through a Web Policy. It is distinct from application signatures and the Generative AI application category in Application Control. A custom web category with the same name does not automatically synchronise with the application catalogue. An administrator-maintained domain list in a URL group or custom category is also a separate object with its own owner and review date, not the built-in category.
Before broad blocking, verify the effect on the deployed version in a limited pilot:
- Check the category under Web > Categories and use Diagnostics > URL category lookup for an approved, harmless test URL. The lookup shows classification only, not the actual policy decision; a custom category can determine the displayed result.
- Under Web > Policies, check the category, HTTP/HTTPS actions, and rule order. The policy must be selected in the matching firewall rule under Security features > Web filtering. Check Enable logging and reporting, Log firewall traffic, and Content filtering under System services > Log settings > Local reporting.
- Follow Policy tester with a controlled real client request and check the category used, Web Policy, firewall rule, and action in Log Viewer. Evaluate Application Control decisions separately. If results differ, first check custom categories, rule order, exceptions, and the TLS/QUIC path rather than assuming complete AI detection.
Controlling Generative AI explains the choice between a web category, Application Filter, and supplementary domain list, along with the pilot workflow.
Block, Alert, or Just Reporting?
Not every category needs the same treatment. A good web protection design separates hard security decisions from hints and pure evaluation.
- Block: Block malware, phishing, known circumvention services, and clearly prohibited categories. A legitimate site may be blocked if its category is incorrect.
- Warn: Use warnings for grey areas, training environments, and categories deliberately permitted with a warning. Users may become accustomed to warnings and click through reflexively.
- Instant Alert: Monitor a few categories that require a response. Too many alerts lead to alert fatigue.
- Reporting only: Use reports for trend analysis, usage reviews, and weak signals. Hits become visible only later.
For production environments, a small, clear selection is often better than enabling the entire catalogue. If no one evaluates an alert, the category should not run as an instant alert. If a category should always be blocked, an alert is only useful if a concrete follow-up results.
A fixed system boundary applies to websites Sophos classifies as highly objectionable criminal activity: the firewall blocks them regardless of web policy or exception and hides the domain name in logs and reports. In this case, a missing domain name is not a logging error.
Configuration
The configuration should be narrow, testable and easy to review later.
Create or Adjust Web Category
The menu path is:
Web > Categories
Basic procedure:
- Edit existing category or choose Add.
- Assign a name.
- Select classification.
- Optionally select a traffic shaping policy.
- Choose configuration type.
- Add domains or keywords.
- Optionally activate Instant alerts.
- Save.
For custom categories, the name should clearly describe the purpose. Names like Custom1 or Blocklist are not very helpful later. Better names are Alert_Self_Harm, Block_Proxy_Anonymizer, or Allow_Business_Cloud_Exceptions.
Domains are checked against the domain name in the URL and automatically include subdomains. Keywords, on the other hand, are checked against the full URL including path and query. This can be helpful but more easily generates false hits.
If an external URL database is used, the firewall checks this list for updates every 48 hours. This interval cannot be changed. For public blocklists, it is still advisable to check whether Setting Up and Securely Operating Sophos Firewall Threat Feeds is more appropriate.
A custom category doesn’t replace the Sophos default category for a URL. A URL can belong to multiple categories. The firewall evaluates categories in the order shown in the category list, and logs and reports show the category used for the policy decision. Retest a real request after changing entries or their order.
With Local database, no more than 2,000 entries are possible. A local .txt file contains one entry per line, while a .csv file contains comma-separated entries on one line. External URL database accepts a .txt, .csv, .tar, .gz, or .bz2 file available over HTTP or FTP, but it doesn’t support authentication to the source server. Invalid entries are ignored.
The external cache size depends on the firewall’s RAM. Sophos states that most models with more than 4 GB of RAM can cache up to 122,880 entries. Check the actual available limit in /log/nSXLd.log before using a large list in production.
Check entries and imports
Classification helps filter and manage categories. Traffic shaping policy determines usage limits and upload/download bandwidth; leave it at None if no limit is intended. Configuration type initially defaults to Local. Enter an item in Search/Add and select Add, or import a local file with Browse. For an external database, add the source URL there instead.
Domain entries may include a path or query, such as example.com/research or example.com/search?q=report; a protocol prefix such as https:// does not belong in the domain entry. These illustrate syntax, not approved test destinations. Keywords must start with a letter, digit, or _. Invalid characters, invalid domain entries, and blank lines are discarded. If a local file contains more than 2,000 entries, only the first 2,000 are imported. External database archives must contain text files. The external database has no fixed entry limit; this explicitly does not make its RAM-dependent cache unlimited.
Do not create a keyword allowlist: Keyword checks are less efficient and also inspect query parameters. An allow category using the keyword research could match blocked.example/?tag=research even though the domain itself should be blocked. Use keyword categories only in blocking rules, not to grant access. A URL group is a better fit for domain-only access exceptions. Document entries and the existing policy before importing; afterwards, check the saved list and an expected match and nonmatch. If matches are wrong, restore the previous entries rather than broadly relaxing blocks.
Category-specific block page
Under Advanced settings > Override default notification page, a custom message can replace the default when this category blocks a website. The placeholders {category}, {user}, and {url} display the category, username, and blocked URL. Include only necessary details: users and URLs can expose sensitive information. Record the previous message and setting, then check a harmless destination blocked in a controlled test. If the display is unsuitable, restore the previous text or default page; changing the message does not allow the website.
Configure Web Policy
The menu path is:
Web > Policies
A web policy contains rules for users, groups, activities, categories, URL groups, file types, content filters, actions, and schedules.
Basic procedure:
- Create a new web policy or edit an existing policy.
- Add a rule.
- Select users or groups if the policy is to be user-based.
- Select categories or URL groups.
- Set action for HTTP.
- Check separate action for HTTPS.
- Set schedule if necessary.
- Under Advanced settings, turn on Enable logging and reporting if the policy should appear in logs and reports.
- Activate rule status.
- Check rule position.
- Save.
Enable logging and reporting in the web policy and Log firewall traffic in the firewall rule serve different purposes. Check both deliberately when traceable evaluation is required.
The order within the web policy is crucial. Rules are evaluated from top to bottom. A broad allow rule above a specific block rule can result in the block rule never being applied.
If users are set in both the firewall rule and the web policy, the effect must be consciously tested. Users in firewall rules can take precedence over users in web policies. In case of unclear hits, it is advisable to check not only the web policy but also the firewall rule.
Activate Web Policy in Firewall Rule
The menu path is:
Rules and policies > Firewall rules > [Rule] > Security features > Web filtering
Basic procedure:
- Open the relevant client or server rule.
- Check source zone, source network, destination zone, and services.
- Activate Log firewall traffic.
- Under Web filtering, select the desired web policy.
- Consciously activate or justifiably deactivate Block QUIC protocol.
- Check malware scan and HTTPS scan settings.
- Save.
- Test with policy tester, log viewer, and real client traffic.
QUIC is a common disruptor for web filtering. When browsers communicate over UDP 443, logic and visibility do not always match the expectation of classic HTTPS over TCP. For details, see Correctly Blocking Sophos Firewall QUIC and HTTP/3.
If HTTPS content or full URL paths are relevant, web categorisation alone is not always sufficient. Then TLS inspection must be planned. This should not happen incidentally, as certificates, exceptions, data protection, performance, and support processes are affected. The rollout is described in Properly Introducing Sophos Firewall TLS Inspection.
Example: allow categories only for a research group
A limited group exception is safer than a general allow rule. First record the existing policy, firewall rule position, and group settings, and confirm that test users are correctly identified. Research, Web categories, and Web research group are freely chosen example names.
- Create
Researchunder Authentication > Groups > Add. Deliberately choose Surfing quota and Access time, then select Save. Unlimited internet access and Allowed all the time are possible example values, not prerequisites for a category exception: unlimited usage and round-the-clock access need separate approval. - Under Web > Policies > Add policy, create
Web categoriesand select Add rule. The new rule is at the top, initially off, and its initial settings would block all HTTP traffic for all users. Change the selection before enabling it. - In Activities, open All web traffic > Add new item, deselect All web traffic, and use Show only > Web category to select only approved categories. Confirm with Apply selected items.
- In Action, select Allow HTTP, deliberately check the separate HTTPS action, enable Status, and save. Do not accidentally omit logging or the remaining rules.
- Under Rules and policies > Firewall rules, select the appropriate IPv4 or IPv6 family and Add firewall rule. Limit
Web research groupto the required source networks, zones, destinations, and services. In the user/group selector, use Add new item, deselect Any, chooseResearch, and select Apply selected items. Assign the policy under Security features > Web filtering. - After Save, use the drag handle to position the rule before the general workplace rule, not blindly above other security rules. Test with a group member and a nonmember: only the approved group should reach the approved category; other categories and users must still follow the intended baseline policy. Confirm the rule ID, category, and action in Log Viewer.
If access is unexpectedly allowed, disable the new group exception rule and restore the recorded order or policy assignment. Repeat both user tests. Group membership alone does not prove that the correct firewall rule matched.
The documented step-by-step example labels user assignment Identity and policy selection Advanced. Section names can differ between interfaces. What matters is the restricted user/group selection and web policy assignment under Web filtering on the installed version; do not activate the exception if the assignment is unclear.
Activate Instant Alerts
Instant alerts are activated at the category level. They are off by default for all categories. The filter icon next to Instant alerts in Web > Categories helps display and review the monitored categories.
The menu path is:
Web > Categories
Basic procedure:
- Edit category.
- Consciously select category for monitoring.
- Activate Instant alerts.
- Save.
- Open System services > Notifications list.
- Turn on Email notifications at the top.
- Find Web – Instant alerts.
- Select the checkbox under Email.
- Check the mail server, sender, and recipients under Administration > Notification settings.
- Generate a test request and check the next five-minute notification batch.
The firewall sends email notifications for monitored categories in batches every five minutes. This interval cannot be changed. An alert is therefore not a real-time alarm accurate to the second, but a quick email notification compared to downstream reports.
Instant Alerts are not available on XGS 87 and XGS 88. If the function is missing on one of these models, the email or notification configuration is therefore not necessarily faulty.
Instant alerts should only be activated for categories where a defined recipient can actually respond. A large alert list without responsibility usually leads to alert fatigue.
Analysis and Operation
Alerts are useful only if they are reviewed, classified and handled consistently in daily operation.
Data Protection and Internal Responsibility
Web category alerts can contain user, source IP, time, category, and depending on visibility, also target information. This is useful for security and operations but can raise employment law or data protection questions depending on the organisation.
Before using alerts in production, clarify the following:
- Who is allowed to see web alerts?
- Which hits are only technically checked and which are treated as security incidents?
- How long are alert emails, reports, or SIEM events retained?
- Is the evaluation coordinated with HR, data protection, or internal policies?
- How will individual harmless hits be prevented from being overinterpreted?
Technically, the setting is quickly activated. Operationally, however, it should be treated like a small monitoring process: recipient, purpose, response path, and retention must fit together.
Define Alert Triage
Instant alerts should not all be treated the same. A single category hit can be a harmless misclick, a misclassified service, a policy problem, or a real security incident. Therefore, it should be defined in advance which hits are checked immediately and which only go into the normal review.
A simple triage process helps prioritise alerts:
- High: Treat hits in malware, phishing, command-and-control, exploit, or spyware categories as high priority. Promptly check Log Viewer, user context, endpoint status, and other security logs.
- Medium: Review anonymizer, proxy, file-sharing, and private cloud storage hits, or repeated policy circumvention, as medium priority. Check patterns, clarify user context, and refine the policy.
- Low: Include isolated grey-area hits in reporting or weekly review. Do not escalate immediately unless context warrants it.
- False Alarm: If a business-critical site is misclassified, consider a targeted URL group or category adjustment. Do not create a broad allow rule.
This classification should not only exist in an admin’s head. A short operational note is useful: monitored categories, recipients, response time, escalation path, allowed exceptions, and review date. This keeps it clear whether an alert should only be documented, technically corrected, or treated as an incident.
Use URL Category Lookup before the policy test
With an active Web Protection subscription, Diagnostics > URL category lookup shows which category Sophos assigns to a specific URL. Enter the complete test URL under Search URL and click Search. The result shows the category name and description. If the URL belongs to both a custom and a default category, the lookup shows the custom category.
The lookup confirms only the categorization. It does not prove which firewall rule or web policy a real client matches, whether an exception applies, or how TLS, QUIC, and the actual traffic path behave. Therefore, follow the lookup with Policy tester, a controlled client request, and evaluation in Log Viewer.
Testing and Evaluation
After each change, you should not only save but also check the effect.
Useful test steps:
- Open Diagnostics > Tools > Pop-out tools > Policy tester. Web > Policies > Policy tester is an alternative shortcut to the same tool.
- Enter the URL, user, time, source IP address, and source zone, then test Firewall, SSL/TLS, and web. Web policy only deliberately omits firewall rules.
- On a test client, access a suitable website.
- Open Log viewer.
- Check web filter, firewall, SSL/TLS inspection, and application control logs.
- In the firewall rule, check if the hit is on the expected rule.
- For instant alerts, check the email inbox.
- In Sophos Fusion (formerly Sophos Central) or SIEM, check if the events arrive there.
Policy tester models transparent web traffic and doesn’t account for SD-WAN routes, so it doesn’t replace a real packet flow. If a rule doesn’t match or TLS/QUIC changes the path, the difference often only becomes visible in Log Viewer or a packet capture. For such cases, see Testing Firewall Rules with Log Viewer, Policy Test, and Packet Capture.
For log file assignment, see Sophos Firewall Troubleshooting: Services and Logs. Among others, awarrenhttp.log, webproxy.log, and nSXLd.log are categorised for web and categorisation questions.
Define Response to Instant Alerts
An instant alert is only helpful if it is clear what should happen next. Otherwise, additional email traffic is generated, but no better security. Before activation, a simple response process should therefore be defined.
For each monitored category type, at least the following should be established:
- Who receives the alert? Avoid distribution lists without an accountable owner.
- How quickly must a response be made? Separates critical hits from mere follow-up.
- Which logs are checked? Log viewer, central reporting, syslog, or service logs provide different depths.
- When is a hit an incident? Not every category hit is automatically a security incident.
- Who can approve an exception? Prevents quick, broad allow rules without risk assessment.
- When is the category selection reviewed? Reduces alert fatigue through too broad alert sets.
A pragmatic process looks like this:
- Record alert with user, source IP, category, URL or domain, and time.
- In log viewer, check which firewall rule and web policy applied.
- If available, use central reporting or SIEM for temporal classification.
- Determine if it is an isolated case, a repeated pattern, or a false alarm.
- For misclassification, only work specifically with URL group or category adjustment.
- For noticeable patterns, evaluate user context, endpoint status, and other security logs.
- Document decision: ignore, monitor, block, exception, incident.
For technical detail analysis, see Sophos Firewall Troubleshooting: Services and Logs, Enable Central Firewall Reporting, and Send Sophos Firewall Syslog to SIEM. If it is unclear whether the correct firewall rule was hit, see Testing Firewall Rules with Log Viewer, Policy Test, and Packet Capture.
Operational Recommendation
For production environments, a three-stage model is sensible:
- Block: Block malware, phishing, fraud, command-and-control, anonymizers, and other clearly risky categories.
- Monitor: Equip a few sensitive categories with instant alerts.
- Evaluate: Regularly check web reports, central reporting, or SIEM.
The most important boundary is organisational: An alert needs a recipient, a response time, and a decision on what happens with hits. Otherwise, instant alerts become just additional email noise.
Checklist
- Checked Web Protection licence.
- Identified relevant firewall rule.
- Created or adjusted web policy.
- Selected web policy in the firewall rule.
- Activated Log firewall traffic in the rule.
- Consciously decided on Block QUIC protocol.
- Consciously planned or deliberately not used TLS inspection.
- Defined critical categories.
- Activated instant alerts only for a few clear categories.
- Activated System services > Notifications list > Web – Instant alerts via email.
- Conducted test with policy tester.
- Conducted test with real client traffic.
- Checked log viewer.
- Checked central reporting or syslog if central evaluation is expected.
- Documented owner and response path for alerts.
Roll Back Changes Safely
Before making changes, record the current category status, web policy, and firewall-rule assignment. This allows a targeted rollback without disabling web filtering as a whole.
- To stop only these notifications, turn off Instant alerts for the category under Web > Categories. Don’t turn off Email notifications globally if other system events use email.
- If category entries or policy order changed, restore the recorded entries and positions.
- If the firewall rule was assigned a different web policy, restore the previous policy under Rules and policies > Firewall rules > [Rule] > Security features > Web filtering.
- Repeat the original Policy tester and client tests, then confirm the expected action in Log Viewer.
A notification generated before the rollback may still arrive in the next five-minute batch. The success criterion is that a new controlled request once again receives the recorded policy action. If you turned off Instant alerts, the request must not trigger another web instant-alert email.
Troubleshooting
If the expected result is missing, work through logging, rule matching and policy behaviour step by step.
Typical Errors
- Web policy does not apply: Policy is not selected in the firewall rule. Check firewall rule under Web filtering.
- Category is allowed although it should be blocked: Broad allow rule is above the block rule. Check order in web policy and firewall rules.
- No instant alert: The category isn’t monitored, Email notifications is off globally, or the event’s Email checkbox isn’t selected. Check Web > Categories, System services > Notifications list, then Administration > Notification settings.
- No user information in log: The user is not recognised, or the traffic does not match the intended user-based rule. Check authentication, STAS, the captive portal, or the clientless user configuration.
- HTTPS unexpectedly allowed: No suitable TLS inspection or HTTPS action. Check web policy, SSL/TLS inspection rules, and decryption.
- Web filter seems incomplete: QUIC or incorrect traffic path. Check Block QUIC protocol, services, and log viewer.
- Too many alerts: Categories chosen too broadly. Reduce alert list and assign owner.
- Domain missing in log/report: Particularly critical category is anonymised. Check category and Sophos behaviour.
Sophos blocks websites in the highly objectionable criminal activity category by default and hides the domain name in logs and reports. If an entry in this area appears anonymised, this may be intentional.