Most engineers think…
Most people lump 'Sophos web protection' into one bucket and assume the WAF is just the web filtering that stops users reaching bad sites. That mix-up costs you marks in an interview and gets the wrong server exposed in production.
The WAF is the opposite direction. Web filtering protects your users browsing out; the Web Application Firewall protects the web servers you host from traffic coming in. It works as a reverse proxy: external clients connect to the firewall, which terminates the connection, inspects the request and forwards only clean traffic to a back-end server that is never exposed directly. Once you hold that distinction, the three building blocks — Web Server, Protection Policy and Business Application Rule — fall into place.
① What the Sophos Firewall WAF actually is — a reverse proxy for your servers
The single most important idea: the Sophos Firewall Web Application Firewall (WAF) protects the web servers you host — not your users browsing the internet. It works as a reverse proxy: an external client connects to a hostname published on the firewall, the firewall terminates and inspects the request, then forwards only clean traffic to the internal back-end. The real server is never exposed directly to the internet.
This is the mirror image of the outbound web filtering from lesson 7. Web filtering controls users going out to websites. The WAF protects your own public-facing or internal web servers from attacks coming in — Exchange/OWA, SharePoint and intranet portals, line-of-business web apps. Same vendor, opposite direction, completely different feature.
Say it cleanly: the WAF protects the servers you host (inbound, reverse proxy); web filtering protects your users browsing out (outbound, category policy). Two features, opposite directions. Stating that distinction first is what tells the interviewer you actually understand Web Server Protection.
The Sophos Firewall WAF is best described as…
② Publishing a server — the Business Application Rule and its objects
Everything lives under Web Server Protection, built from three objects. A Web Server defines the back-end — its host or IP, port, whether traffic to it is plaintext or encrypted, keep-alive and timeouts. A Protection Policy is a reusable security template that says which checks to run and how strict. A Business Application Rule is the publishing wizard that ties them together.
The wizard you must name
You create a Business Application Rule of type web server protection (‘Protect with web application firewall’), give it the public hostname or IP clients will reach, attach the certificate for the published service, point it at one or more Web Server objects, and apply a Protection Policy. That single rule is what exposes an internal app safely to the outside.
The WAF sits in front of your server. Clients connect to it, it inspects the request and forwards only clean traffic to the hidden back-end.
The publishing wizard (‘Protect with web application firewall’) that exposes a server with a hostname, certificate, Web Server objects and a Protection Policy.
The reusable security template: OWASP signatures, URL/form/cookie hardening, antivirus scanning and slow-HTTP protection.
Front-door login (e.g. against AD) and SSO done by the WAF before any request reaches the back-end. Exclude API paths that can't log in interactively.
Which object actually publishes an internal server to the outside?
③ The protections — what a Protection Policy actually blocks
The Protection Policy is where the security happens. At its core is OWASP Top-10 / signature-based common-threat filtering — it inspects requests for SQL injection (SQLi), cross-site scripting (XSS) and other common web attacks and blocks them before they reach the server.
Hardening and content checks
On top of signatures sit several hardening controls. URL hardening only allows known entry-point or signed URLs, so an attacker cannot jump to a deep URL or tamper with links. Form hardening protects web forms from manipulation of hidden fields. Cookie signing signs cookies so tampered or forged cookies are rejected. The policy can also run antivirus scanning on uploads and downloads, and slow-HTTP protection defends against slow-request (Slowloris-style) attacks that tie up server connections.
Cranking URL hardening, form hardening and cookie signing to maximum on a real app like OWA or an LOB portal breaks legitimate behaviour and APIs. Start with OWASP signatures on, add hardening deliberately, and use exceptions for paths that genuinely need them. Over-strict hardening is the number-one false-block cause.
▶ Watch a request to /owa get inspected and forwarded
How one external request is handled end-to-end by the WAF. Press Play for the healthy path, then Break it to see the classic failure.
An attacker sends a SQL-injection string in a login form. Which protection-policy feature stops it first?
④ Authentication offload, path routing, TLS — and how to tune without breaking the app
Beyond inspection, the WAF can act as a front door. With authentication offloading (reverse-proxy authentication) it requires login — for example against Active Directory — and can do SSO before any request reaches the back-end, so the server never sees unauthenticated traffic. Path-based routing sends different URL paths on one hostname to different back-end servers, and distributes load across multiple back-ends.
TLS and the classic breaks
For HTTPS, the WAF terminates TLS using the published service's certificate, inspects in clear text, and can re-encrypt to the back-end. The failure modes everyone hits: over-aggressive hardening blocking legitimate app behaviour (tune exceptions), a certificate mismatch on the published service, and forgetting to exclude API/autodiscover paths from auth offload and URL hardening — the paths that can't do an interactive login.
Priya at Meridian Logistics in Kochi faces this
After publishing Exchange OWA through the Sophos Firewall WAF, staff can read mail in the browser but mobile/EWS clients fail to sync and large attachment uploads get blocked.
The Protection Policy has URL hardening and form hardening switched on aggressively, and authentication offload is applied to the whole site — including the API and autodiscover paths that mobile clients use but cannot complete an interactive AD login on.
The WAF event log shows requests to /EWS/ and /Microsoft-Server-ActiveSync being dropped by URL hardening and rejected at auth offload, while the interactive /owa path works.
Web Server Protection ▸ Business Application Rule ▸ Protection Policy + ExceptionsAdd the API/autodiscover paths to the exceptions list (skip URL hardening, form hardening and auth offload for them), confirm the published certificate matches the OWA hostname, and keep the strict checks only on the interactive /owa path.
Re-test: browser OWA is still inspected and protected, mobile/EWS clients sync again, and the WAF log shows the API paths passing while a test SQLi string on /owa is still blocked.
Never close a ‘the app is broken’ ticket on a guess. The WAF event log shows the exact path, which check dropped the request, and whether auth offload rejected it. One read tells you whether to add an exception, fix the certificate, or leave the block in place because it was a real attack.
After publishing OWA through the WAF, mobile/EWS clients can't sync. What is the most likely fix?
🤖 Ask the AI Tutor
Tap any question — instant, scoped to this lesson. No login, no waiting.
Pre-curated from vendor docs + community Q&A, scoped to this lesson. For a live prod issue, paste your export into chat.techclick.in.
📝 Wrap-up assessment — six more
You've answered 4 inline. Six left. 70% (7 of 10) marks the lesson complete on your profile. Tap Submit all answers at the end.
🧠 In your own words
Type one line: why is the Sophos Firewall WAF called ‘server protection’ and how is it different from web filtering? Then compare with the expert version.
🗣 Teach a friend
Best way to lock it in — explain it in one line to a teammate. Tap to generate a paste-ready summary.
📖 Glossary
- Web Application Firewall (WAF)
- A reverse proxy on the Sophos Firewall that inspects inbound HTTP(S) and protects the web servers you host from attacks like SQLi and XSS.
- Reverse proxy
- A server that fronts your back-end servers: clients connect to it, it inspects the request and forwards only clean traffic, keeping the real server hidden.
- Web Server Protection
- The Sophos Firewall area where Web Servers, Protection Policies and Business Application Rules are configured.
- Web Server object
- The definition of a back-end server (host/IP, port, plaintext or encrypted, timeouts) that the WAF forwards clean traffic to.
- Protection Policy
- A reusable template of WAF checks — OWASP signatures, URL/form/cookie hardening, antivirus scanning and slow-HTTP protection.
- Business Application Rule
- The wizard that publishes an internal app to the outside with a hostname, certificate and WAF protection.
- OWASP Top-10
- The standard list of the most common web-app risks (SQLi, XSS and more) that the signature engine guards against.
- URL hardening
- Restricting access to known or signed entry-point URLs so attackers can't jump to deep URLs or tamper with links.
- Cookie signing
- Signing cookies so the WAF rejects any tampered or forged cookie.
- Authentication offloading
- WAF-enforced login (e.g. against AD) and SSO done before any request reaches the back-end server.
📚 Sources
- Sophos — Sophos Firewall: Web Server Protection (WAF) overview. docs.sophos.com
- Sophos — Add a Business Application Rule (web server protection) & Web Server objects. docs.sophos.com
- Sophos — Protection policies: URL hardening, form hardening, cookie signing, slow-HTTP. docs.sophos.com
- Sophos — Authentication offloading / reverse-proxy authentication. docs.sophos.com
- Sophos Community — Publishing Exchange / OWA with the Sophos Firewall WAF (path exclusions). community.sophos.com
- Sophos — Sophos Firewall (XGS) datasheet — Web Server Protection module. sophos.com
What's next?
Got the WAF? Next, go the other direction with remote access and site links: site-to-site IPsec, SSL VPN, Sophos Connect and SD-RED — how Sophos Firewall stitches branches, partners and remote users together securely.