Setting Up and Testing Sophos Firewall Application Control
Application Control on Sophos Firewall identifies applications independently of mere ports. This allows you to specifically allow, block, or log remote control tools, tunneling applications, streaming, cloud storage, messengers, or risky browser circumventions.
The practical benefit only arises when Application Control is active in the correct firewall rule, the application is truly recognised, and logs are evaluated. A saved Application Filter Policy alone does not block anything.
Quick Answer
Application Control is used in two steps:
- Under Applications > Application filter, plan or create an Application Filter Policy.
- In the appropriate firewall rule, select Identify and control applications (App control) under Other security features.
Afterwards, you must check with a real test client whether the traffic runs through this rule and whether the application is correctly recognised in the Log Viewer. For encrypted traffic, TLS Inspection can be crucial, as the firewall may see fewer details depending on the application.
When Application Control is Useful
Application Control is particularly useful when ports alone do not provide enough information. Many applications use HTTPS, changing targets, or cloud infrastructure. A pure port rule then only sees 443, but not whether it is an allowed business service, a remote control tool, or an unwanted cloud storage behind it.
Typical use cases:
- Blocking TeamViewer, AnyDesk, Tor, or proxy tools
- Restricting streaming or social media in certain networks
- Controlling cloud storage
- Limiting messengers or games in guest or school networks
- Activating application recognition for reporting and analysis
- Preparing traffic shaping for recognised applications
If it is not about recognition or blocking, but about prioritisation or bandwidth limitation, additionally configure Application Traffic Shaping on Sophos Firewall.
Prerequisites
Before configuration, these points should be checked:
- appropriate license with Web Protection or Application Control
- affected firewall rule is known
- Log firewall traffic is active for the test rule
- desired application or category is clearly defined
- test client and test target are defined
- for HTTPS applications, it is clear whether TLS Inspection should be used
- application signatures and pattern updates are working
Check the license status under System > Administration > Licensing. In typical Sophos Firewall bundles with Web Protection, Application Control is included. However, the specific license logic should still be checked before productive introduction, especially with expired subscriptions or trial licenses.
Planning Application Filters
A good Application Filter is not just a long blocklist. First, it should be clear what is to be achieved.
- Block risky remote control tools: Block specific applications or category
- Restrict guest Wi-Fi: Block unwanted categories, leave allowed basic services open
- Only log application: Initially use
Allowwith logging and reports - Avoid false positives: Narrower application selection instead of broad category
- Prioritize business-critical application: Combine Application Control with Traffic Shaping
For productive networks, an observation mode is often useful: First activate Application Control, check logs and reports, then block specifically. This way, you can see which applications actually occur and whether a block would disrupt legitimate processes.
With broad criteria, also consider later maintenance. New applications are automatically included in Application Filter Policies and firewall rules through updates to the application signature database. If a rule blocks all high-risk applications, for example, a new high-risk signature may later be blocked without any additional manual policy change. This is intended, but it must be known in the change and review process.
Planning Rollout in Phases
Application Control should not be activated in one big step for all networks. A better approach is a small rollout with a clear test group, visible logging, and a defined decision on when observation becomes blocking.
A practical procedure:
- Inventory: Find out which applications actually occur. Application Filter with logging, without broad blocking yet
- Pilot: Check selected users or a test network. Block individual risky applications, closely monitor Rule ID and logs
- Production: Apply confirmed policy to target network. Activate filter in productive rule, document exceptions
- Operation: Monitor effects and side effects. Regularly check reports, Log Viewer, Central Reporting, or Syslog
Before going live, it should be clear which applications must remain allowed. These often include update services, remote support, collaboration tools, cloud storage, telephony, or industry-specific applications. If these dependencies only become visible after the block, Application Control quickly appears as a disruptive factor rather than a protective function.
For acceptance, a short decision list is worthwhile: Which application is blocked, which user group is affected, which exception is allowed, who is the technical owner, and when will the policy be reviewed? This documentation is more important than a perfect first filter.
Distinguishing Application Filter, Application Object, and Shaping
The terms are closely related but solve different tasks. This distinction saves a lot of troubleshooting:
- Application Filter: Defines which applications are allowed, blocked, or logged. Block remote control tools, restrict cloud storage, observation mode
- Application Object: Groups applications as an object. Reusable groups when the same selection is needed several times
- Application-based Traffic Shaping: Prioritizes or limits recognised applications. Prioritize Teams, limit streaming, throttle guest Wi-Fi
- Synchronized Application Control: Adds data from Sophos Endpoint systems via Security Heartbeat to application recognition. This is especially helpful for programs that the firewall would otherwise only identify generically or not at all.
For a pure block or allow policy, the Application Filter is the most important starting point. Application Objects and Traffic Shaping only become interesting when the application selection should be reused or bandwidth should be controlled specifically.
Synchronized Application Control is not a replacement for clean firewall rules. It requires Sophos Central, Security Heartbeat, and suitable Sophos Endpoint coverage. Newly detected applications appear in separate categories such as SyncAppCtl discovered and should not be blocked blindly. Check first, then categorise, then add them to an Application Filter.
Detected applications automatically receive a status label: New for still-unknown applications, Mapped for applications automatically assigned to a category, and Customized for manually adjusted entries. Sophos supports Synchronized Application Control for up to 15,000 applications and stores only the last five occurrences per application and endpoint to save storage space. This limit matters especially when you need to forensically trace how often an application occurred on an endpoint.
Creating Application Filters
Menu path:
Applications > Application filter
In older navigation views, the path may appear as Protect > Applications > Application filter.
Procedure:
- Open Add.
- Assign a descriptive name, for example,
Block_Remote_Control_Tools. - Choose an existing policy as a template, for example an allow-all policy as the starting point for targeted block rules.
- Save the policy.
- Open the policy again and add a rule inside the filter.
- Select application, category, risk, Characteristics, Technology, Classification, or Smart Filter.
- Set the action, for example
DenyorAllow. - Set a schedule if the rule should only apply at certain times.
- Save the rule and then save the policy.
Be cautious with categories. A broad category can affect more applications than expected. For initial tests, individual applications or clearly defined groups are often better than a large collective block.
When adding a rule, there are two typical ways to work. Select All with filters is suitable when an entire group is meant, for example Category File Transfer, Characteristics Transfer files, and Technology Browser Based. Select Individual Application is better when only individual applications such as AnyDesk, TeamViewer, or a specific cloud service should be affected. The Smart Filter searches the name and description of an application; it does not replace a technical review of the result list.
The Classification filter only applies to cloud applications. If a cloud app is reclassified later, Sophos Firewall also updates rules based on that Classification. Such rules are useful, but more dynamic than a fixed list of individual applications.
Example: Blocking Browser-Based File Transfers
A useful first example is blocking browser-based file transfers in a guest or client network. This does not block the entire File Transfer category indiscriminately; it narrows the selection to browser-based file transfers.
Configuration in the Application Filter:
- Open Applications > Application filter.
- Create a policy, for example
Block_File_Transfer. - Choose a suitable allow policy as the template.
- Save the policy and open it again.
- Open Add for a new filter rule.
- Use Select All and narrow the selection with Category: File Transfer, Characteristics: Transfer files and Technology: Browser Based.
- Set Action to
Deny. - Set Schedule to
All the timeunless time-based control is required. - Save the filter rule and then save the policy.
This example is deliberately narrower than a blanket block of all file-transfer applications. Otherwise many organisations would also affect legitimate cloud, update, backup or collaboration services. Before production use, test the filter in Log Viewer with real clients.
Activating in Firewall Rule
Application Control only takes effect when the filter is selected in a firewall rule.
Menu path:
Protect > Rules and policies > Firewall rules
Procedure:
- Open the firewall rule through which the affected traffic actually runs.
- Open the Other security features section.
- Select the Application Filter under Identify and control applications (App control).
- Activate Log firewall traffic, at least for testing and acceptance.
- Save the rule.
- Test with a defined client.
The order of rules is crucial. If the traffic is already processed by a more general rule above, it does not reach the rule with Application Control. Then the configuration in WebAdmin looks correct but has no effect.
If a new LAN-WAN rule is created, NAT must be considered separately. Sophos examples often use Create linked NAT rule with MASQ for simple Internet access. For existing production rules, however, do not create new NAT rules casually; check which SNAT/MASQ rule already applies to this traffic.
For user- or group-based Application Control policies, the firewall rule must really match the user context. Match known users and working authentication are just as important as the Application Filter itself. Without user context, the policy only applies to network, zone, and service criteria.
For new rules, also deliberately choose between IPv4 and IPv6. Application Control is activated in the respective firewall rule. If a client takes a different path over IPv6 than over IPv4, the test may look clean even though part of the traffic bypasses the expected rule.
The basics of Source, Destination, Services, Security Features, and rule order are covered in Understanding and Securely Configuring Sophos Firewall Rules.
Deliberately Check Rule Matching
Before saving, the rule should be read like a test case:
- Source zone and Source network: The test client must really come through this zone and this network
- Destination zone and Destination network: Broad destinations can work, but are harder to trace
- Services: TCP 80/443 is often relevant for web traffic; QUIC runs over UDP 443
- Web policy, IPS, and TLS Inspection: Several security features can affect the same flow
- Log firewall traffic: Without logging, the effect is hard to prove in Log Viewer
When Application Control is newly introduced, the first rule should preferably be somewhat narrower and easy to measure. A huge LAN-to-WAN rule with many exceptions is much more cumbersome for acceptance.
TLS Inspection and Recognition
Application Control can recognise certain applications even without full TLS Inspection. However, for many modern HTTPS and cloud services, the firewall sees only limited information without decryption, such as IP address, SNI, certificate data, hostname, or connection metadata.
This is not always sufficient for reliable recognition. If an application is not recognised as expected over HTTPS, you should check:
- Is the traffic running through the correct firewall rule?
- Is Application Control active in this rule?
- Is the application generally recognised by Sophos?
- Is TLS Inspection necessary and justifiable for this traffic?
- Is there QUIC or HTTP/3 that complicates control?
- Do Web Policy, IPS, or DNS Protection also apply?
TLS Inspection should be introduced gradually and with exceptions. The appropriate procedure is detailed in Properly Introducing Sophos Firewall TLS Inspection. For QUIC and HTTP/3, see Properly Blocking QUIC and HTTP/3 on Sophos Firewall.
The difference is especially visible with cloud applications: basic byte and usage data mainly require enabled firewall logging. More precise upload, download, and file type information is only reliably visible when HTTPS is decrypted. Some applications transfer files through their own mechanisms; detail fields can then remain empty or incomplete even though traffic exists.
For cloud app reporting, a three-part approach is therefore recommended: enable Log firewall traffic, decrypt HTTPS where it is organisationally and technically acceptable, and use a Web Policy that is not simply None. This makes Application Control data much more useful in operations.
Testing Effectiveness
After activation, do not just wait for user feedback. A clean test saves a lot of time.
Practical procedure:
- Define test client and source IP.
- Intentionally start the application or call the target.
- Filter in the Log viewer by source IP, destination, service, and application.
- Check which Firewall Rule ID was hit.
- Check if Application Control recognises the application.
- Note Application ID, category, action, and Application Filter.
- In case of a block, check if the block is technically desired.
- For unclear recognition, supplement with Packet Capture, Service Logs, and, for central logging, the Syslog fields.
Application Control events appear in the Log Viewer as application or content filtering events. For acceptance, Firewall Rule ID, user, application, category, risk, action, source, and destination are especially relevant. For Syslog or SIEM analysis, also check fields such as fw_rule_id, application_name, application_filter_policy, application_category, application_risk, status, and appresolvedby. The latter helps determine whether the application was identified by signature, proxy logic, or Synchronized Application Control, for example.
Application Control often uses ips.log in the technical path. Log assignment is covered in Sophos Firewall Troubleshooting: Services and Logs. For differentiation with Log Viewer and Packet Capture, see Testing Sophos Firewall Rules with Log Viewer, Policy Test, and Packet Capture.
Moving from Observation to Blocking
The change from pure detection to blocking should be deliberate. In many environments, it is better to use Application Control first as an observation and reporting tool. Afterwards, only block applications whose risk, user base, and business dependency are understood.
Before blocking, check:
- Which users, networks, or devices actually use the application?
- Which firewall rule and Rule ID appear in Log Viewer?
- Is the application reliably detected or only as a generic category?
- Is there legitimate business use, support activity, or vendor tooling?
- Should the application be blocked everywhere or only in guest, school, client, or server networks?
- Who approves an exception and when is it reviewed again?
A clean practical flow is: collect log data first, then block a single application or small group, then validate with a test client and Log Viewer. If a block is too broad, do not disable the entire Application Filter. Adjust the affected application, category, or rule position specifically.
When Application Control Does Not Take Effect
When problems occur, do not immediately disable the entire filter. First check where the process breaks.
- No log entry for the test connection: Logging is missing or traffic does not reach the firewall rule. Check Rule ID, source zone, and Packet Capture
- Log Viewer shows a different Rule ID: A more general rule is placed above it. Correct rule order and match criteria
- Application remains
unknownor generic: Recognition is insufficient without more context. Check TLS Inspection, QUIC, and application signatures - Block affects too many services: Category or Smart Filter is too broad. Use individual applications or smaller groups
- After a pattern update, more is suddenly blocked: A broad rule based on Risk, Category, or Classification matches new signatures. Check rule criteria and the change process.
- Cloud app details are missing: Without HTTPS decryption or without a Web Policy, upload, download, and file type details are limited. Check cloud app reporting and TLS status.
- Block only works for some clients: Different rule, zone, user group, or browser path. Compare test client, user, and network path
- IPv6 behaves differently from IPv4: Separate IPv6 rule, different DNS path, or different browser path is possible. Test both protocols deliberately or account for IPv6 cleanly in the rule set.
The most important check is the Rule ID. If the expected rule is not matched, the Application Control policy is almost never the actual cause.
Properly Handling False Positives
If Application Control blocks legitimate traffic, do not immediately deactivate the entire filter.
Sensible sequence:
- Document the affected application and log entry.
- Check which firewall rule and which Application Filter are involved.
- Check application, category, and action in the filter.
- Check if the application is recognised differently by TLS Inspection.
- Set exception as narrowly as possible: application, source network, user group, or target.
- Document owner and review date for the exception.
An exception for Any or a broad category often quickly resolves the current case but weakens control permanently. A small, understandable exception with a clear justification is better.
Common Mistakes
- Application Filter created but not selected in rule: No effect on traffic. Activate filter in the actual firewall rule
- Traffic runs through another rule: Filter is never reached. Check Rule ID in Log Viewer
- Too broad category blocked: Legitimate cloud or business services affected. Use individual applications or narrower groups
- Dynamic filters misunderstood: Risk, Category, or Classification can produce new matches through signature and cloud app updates. Review regularly.
- Overestimated HTTPS recognition: Application not reliably recognised. Check TLS Inspection and QUIC behaviour
- Logging missing: Effect remains invisible. Activate rule logging for testing and operation
- Exception too broad: Protective function is practically nullified. Set exception narrowly and with review date
Operational Check
Application Control should be regularly checked. Applications change, cloud services use new endpoints, users use new tools, and signatures are updated.
Documentation should include:
- Purpose of the Application Filter
- Affected firewall rules
- Blocked or allowed applications
- Known exceptions
- Technical owner
- Review date
- Last relevant change
If Application Control is used for critical business applications, school networks, or compliance requirements, Central Reporting, Syslog, or SIEM should also be checked. For central evaluation, see Activating Central Firewall Reporting or Setting Up Sophos Firewall Syslog and SIEM.
Checklist
- License status checked.
- Affected firewall rule clearly identified.
- Application Filter created with a clear purpose.
- Template, dynamic filters, and rule criteria documented.
- Filter selected in the correct firewall rule.
- Rule logging active.
- Test client and test application defined.
- Log Viewer checked for Rule ID and Application Control.
- Real usage, owner, and exception rule clarified before blocking.
- IPv4 and IPv6 path checked if both are active in the network.
- TLS Inspection and QUIC evaluated if HTTPS recognition is unclear.
- Cloud app reporting checked with HTTPS decryption and Web Policy if needed.
- Exceptions narrowly documented.
- Review date set.