Skip to content
Avanet

Sophos Firewall troubleshooting: services and logs

Sophos Firewall has two important troubleshooting layers: event logs in Log viewer and service or log files on the firewall. Log Viewer is ideal for quick questions such as whether a connection was allowed or blocked. The files under /log become more important when a service does not start, a VPN tunnel is unstable, web filtering behaves unexpectedly or support needs detailed data.

This article maps the most important services and log files to typical admin problems. It also helps when a technical service name appears in the dashboard, Advanced Shell or a support case and it is not immediately clear which firewall function is behind it. Names such as zebra, warren, awed, garner or strongswan are not self-explanatory in daily work.

Log Viewer or log file?

Log viewer is opened in the WebAdmin console at the top right. It updates automatically, can be filtered by module, time, field values and free text, and can export logs as CSV.

Troubleshooting logs are stored on the firewall in /log. Access is available through the WebAdmin console or by SSH. For short checks, Device Management > Advanced Shell in the browser works. In practice, SSH is usually more comfortable, stable and better for longer tail, grep or less sessions. Secure SSH preparation is described in Connect to Sophos Firewall by SSH.

  1. Connect by SSH or open Device Management > Advanced Shell in WebAdmin.
  2. Change to the log directory.
cd /log

Useful commands:

tail -f firewall_rule.log
tail -f nat_rule.log
grep -i error ips.log
less strongswan.log
service -S | grep ips

The most important Advanced Shell commands:

CommandExamplePurpose
tail -f /log/<logfilename>.logtail -f /log/ips.logshows new log lines live
less /log/<logfilename>.logless /log/ips.logopens a static log file for reading
grep <keyword> /log/<logfilename>.loggrep error /log/ips.logsearches for a keyword in a log file
service <service>:<start/restart/stop/debug> -ds nosyncservice ips:debug -ds nosyncstarts, stops, restarts or enables debug for a service

If logs need to be saved for support or external analysis, use Save Sophos Firewall logs for external analysis.

Advanced Shell or Device Console?

Sophos Firewall has two different console areas that are often confused:

AreaUse
Device ConsoleSophos CLI for firewall-specific commands, for example routing priority, IPsec routes or system options
Advanced ShellLinux-like shell for filesystem, log files, tail, grep, less, service -S, service restarts and debug commands

Not every command works in both areas. If an article explicitly mentions Device Console, run the command there. If it is about /log, tail -f, grep, service -S or debug logging, Advanced Shell is usually meant.

This distinction is important because many errors happen only because a correct command is entered in the wrong place.

Logging must be enabled

Not every expected piece of information appears automatically.

  • Log firewall traffic must be enabled in firewall rules.
  • Logging must be enabled in SSL/TLS inspection rules.
  • Under System services > Log settings, define which log types are stored locally, sent to Sophos Central or sent to syslog.

For long-term retention, a syslog server or Sophos Central Firewall Reporting is useful. Sophos Firewall can configure up to five external syslog servers. Central Firewall Reporting counts toward this limit as well.

More details: Enable Central Firewall Reporting.

Enable debug only when needed

Debug logging is very useful, but it creates a lot of data and can consume disk space. Debug should only be enabled for the relevant service. Then reproduce the issue and disable debug again.

Example:

service ips:debug -ds nosync
service ips:debug -ds nosync off

The exact syntax depends on the service. If the affected service is unclear, check the normal log file first.

Debug logging and basic CLI commands are explained in more detail in Sophos Firewall troubleshooting - CLI tips and tricks. For restarting individual services, see Restart Sophos Firewall services.

Firewall, NAT and Packet Capture

FunctionService / contextFirst log fileAlso check
Firewall rule matchingFirewall Rule Enginefirewall_rule.logLog Viewer module Firewall
General firewall processingFirewall log / kernel pathfwlog.logPacket Capture
NAT rulesNAT Rule Enginenat_rule.logNAT Rule ID in Log Viewer
Packet Capture in WebAdminpktcapdpktcapd.logDiagnostics > Packet capture
Bandwidth Management / QoSbwmbwm.logTraffic Shaping Policy
Virtual Host / older server publishingvhostvhost.logNAT and WAF

For DNAT issues, always check firewall rule and NAT rule together. NAT only translates; it does not allow traffic. More details: Understand NAT on Sophos Firewall: SNAT, DNAT, MASQ, PAT.

Sophos Firewall uses IP tables, ARP table, IPset and conntrack for firewall connections. IMQ is used for QoS and Bandwidth Management. This helps when log messages or support output contain technical terms from the Linux network path.

IPS, Application Control and TLS Inspection

FunctionService / contextLog file
Intrusion Preventionipsips.log
Application Controlips / Application Filterips.log
DPI and TLS InspectionDPI Engineips.log
Antivirus in the network pathavdavd.log
Signature updatesSignature Updatersig_upgrade.log, sig_update.log
Signature migrationSignature Migrationsigmigration.log

Many modern protection features only see enough detail when HTTPS is decrypted. If TLS Inspection does not apply, Web Filter, Application Control, IPS and Malware Scan are less meaningful depending on the traffic.

More details: Roll out TLS Inspection on Sophos Firewall step by step.

Web, proxy, WAF and web filter

FunctionService / contextLog file
HTTPS Proxyawarrenhttpawarrenhttp.log
HTTPS Proxy Accessawarrenhttp access logawarrenhttp_access.log
Web ProxyWeb Proxywebproxy.log
Web Categorization / ReputationnSXLdnSXLd.log
Legacy HTTP/FTP Proxyskeinskein.log
FTP Proxyftpproxyftpproxy.log
Web Application FirewallReverse Proxyreverseproxy.log

If web traffic appears as blocked in Log Viewer, the cause may be in several modules: Web Policy, SSL/TLS inspection, Application Control, IPS or WAF. Always select the specific module in Log Viewer and also check the matching log file.

Sophos always blocks web pages in the highly objectionable criminal activity category and hides the domain name in logs and reports. If an entry in this area looks intentionally anonymised, this may be expected behaviour.

VPN

FunctionService / contextLog file
IPsec from SFOS v17+strongswan, charonstrongswan.log, charon.log
IPsec older versionsIPsec serviceipsec.log
IPsec Test ConnectionIPsec testipsec_Test_Connect.log
IPsec monitoringIPsec Monitoripsec_monitor.log
XFRM / route-based VPNxfrmixfrmi.log
SSL VPNSSL VPN / OpenVPNsslvpn.log
SSL VPN statusOpenVPN statusopenvpn-status*.log
L2TPl2tpdl2tpd.log
PPTPPPTP VPNpptpvpn.log
VPN certificatesVPN Certificate Servicesvpncertificate.log, wc_remote.log
Clientless SSL VPNClientless Accessclientless_access.log

Sophos Firewall uses strongSwan for IPsec VPN and OpenVPN for SSL VPN. For IPsec issues, time, peer IP, proposal, local/remote subnets, NAT-T, routing and firewall rules are crucial.

For IPsec issues, Sophos Firewall IPsec troubleshooting is the better step-by-step guide. For route-based VPN and manual IPsec routes, see Create an IPsec route on Sophos Firewall.

Authentication, User Portal and SSO

FunctionService / contextLog file
User authenticationAccess Server / AAAaccess_server.log
NTLM / NASMnasmnasm.log
Chromebook SSOChromebook SSO Backendchromebook-sso-backend.log
OAuth SSO Captive PortalOAuth SSO Captive Portaloauth_sso_captive.log
OAuth SSO WebAdminOAuth SSO WebAdminoauth_sso_webadmin.log
OAuth SSO VPNOAuth SSO VPNoauth_sso_vpn.log
STASSTAS / Access Server contextdepending on service context and access_server.log

For user-based rules, first check whether the user is known at all. If Match known users is enabled and authentication does not work, the rule does not match.

DNS, DHCP and network

FunctionService / contextLog file
DNS Servicednsddnsd.log
DNS Grabberdnsgrabberdnsgrabber.log
DNS Entity / other DNS componentsentity, eacdentity.log, eacd.log
DHCP IPv4dhcpddhcpd.log
DHCP IPv6DHCPv6dhcp6.log
Network servicenetworkdnetworkd.log
FQDN hostsfqdndfqdnd.log, fqdndebug.log
Dead Gateway Detectiondgddgd.log
Dynamic DNSDynamic DNS Clientddc.log
NTP ClientNTP Clientntpclient.log
IPv6 Router Advertisementradvdradvd.log

DNS and DHCP issues often look like firewall issues. Therefore, first check IP address, gateway, DNS server and whether clients should use the firewall as DNS or DHCP server.

If internal domains are not resolved correctly, Configure DNS request routes on Sophos Firewall is usually relevant. For special DHCP options, see Configure Sophos Firewall DHCP Options.

Cellular WAN

FunctionWhat to checkLog file
WWAN / USB modeminsertion and removal of USB devicesmdev.log
Modem network configurationmodem-related interfaces and IP configurationnetworkd.log
USB, modem and PPPsyslog messages for USB, modem and Point-to-Point Protocolsyslog.log

For Cellular WAN issues, also check whether the modem is detected, whether PIN/SIM/APN are correct and whether the firewall creates a suitable gateway.

Routing

FunctionService / contextLog file
Static Routingzebrazebra.log
Application Based Routingappcachedappcached.log
Redis App CacheRedisredis
Multicast RoutingMulticast Routingmrouting.log
BGPbgpdbgpd.log
OSPFospfdospfd.log
RIPripdripd.log
PIM-SMpimdpimd.log

For routing issues, also check Routing > SD-WAN routes, gateways and Packet Capture. Policy tester does not replace a real routing test.

More details: Adjust routing priority on Sophos Firewall.

GUI, CLI and system access

FunctionService / contextLog file
WebAdmin web serverapacheapache.log, apache_access.log
WebAdmin applicationtomcattomcat.log
SSHsshdsshd.log
GUI/CLI errorsSystem / GUI Error Logerror_log.log
APIAPI Parser / App Feedbackapiparser.log, app-feedback.log
ValidationConfig Validationvalidation.log, validationError.log

If WebAdmin or SSH is not reachable, do not only check these logs. Local access is controlled through Administration > Device access and Local Service ACL.

More details: Connect to Sophos Firewall by SSH.

Sophos Central, Heartbeat and Central Management

FunctionService / contextLog file
Sophos Central ManagementCentral Managementcentralmanagement.log, sophos-central.log
CSCcsc, cschelper, csdcsc.log, cschelper.log, csd.log
Security Heartbeatheartbeatd, hbtrustheartbeatd.log, hbtrust.log
Heartbeat to Centralfwcm-eventd, fwcm-heartbeatd, fwcm-updaterdcorresponding service logs
Central API Executorfwcm-api-executorfwcm-api-executor.log
Active Threat ResponseATR contextdepending on version and module

For Central issues, first check whether the firewall is registered, Central Services are enabled and outbound DNS/HTTPS works.

High Availability

FunctionService / contextLog file
HA status and configurationHA Application Logapplog.log
HA Pair Serviceha_pairha_pair.log
HA Tunnelha_tunnelha_tunnel.log
Conntrack Syncctsyncdctsyncd.log
Msyncmsyncmsync.log

HA logs are stored on the appliance on which they are generated. For raw logs of the auxiliary appliance, connect directly to that appliance, for example through its admin port by SSH. For consolidated reports, Sophos Central Firewall Reporting is more practical.

Mail and anti-spam

FunctionService / contextLog file
AntivirusAV Serviceav.log
Antivirus updatesUp2Date AVup2date_av.log
Anti-spamsasisasi.log
Sandboxsandboxdsandboxd.log, sessiontbl.log
SMTP MTAsmtpdsmtpd_main.log
SMTP errorssmtpd Error/Panic/Rejectsmtpd_error.log, smtpd_panic.log, smtpd_reject.log
Legacy SMTP/S Proxyawarrensmtp, awarrenmtaawarrensmtp.log, awarrenmta.log, awarrenmta_debug.log
POP/IMAP Proxywarrenwarren.log

For mail issues, always check whether MTA mode, firewall rule, DNS, certificates and provider restrictions fit together.

Sophos Firewall uses Avira and Sophos Antivirus. The anti-spam service only starts when an inbound or outbound spam policy exists. This dependency is important if sasi.log remains empty or the anti-spam service is not running.

Wireless, RED, Hotspot and other services

FunctionService / contextLog file
Wireless Controllerawedawed.log
Wi-Fi Authenticationwifiauthwifiauth.log
Hotspothostapd, hotspot, hotspotdhostapd.log, hotspot.log, hotspotd.log
REDRED Servicered.log
SNMPsnmpdsnmpd.log
Syslog ServiceSyslogsyslog.log
LicensingLicensing Servicelicensing.log
System Updatesu2du2d.log
VMware Toolsvmtoolvmtool.log
SMB filesystemsmbnetfs, snireportsmbnetfs.log, snireport.log

Database and reporting

FunctionService / contextLog file
Configuration databaseConfig DBconfdbstatus.log, crreportdb.log
Postgrespostgrespostgres.log
Signature databasesigdbsigdb.log
Report databaseReport DBreportdb.log
Migration databaseReport Migrationsac-feedback.log, reportmigration.log
Garnergarnergarner.log
iViewiviewiview.log

If reports are missing, slow or storage issues occur, reporting and database logs are relevant. Also check whether reports are stored locally or sent to Sophos Central.

Practical analysis order

  1. Note the issue precisely: time, client, destination, port, user, action.
  2. Filter in Log Viewer by source IP and time.
  3. Check whether Firewall Rule ID and NAT Rule ID are visible.
  4. Watch the matching log file with tail -f.
  5. Reproduce the issue.
  6. Enable debug briefly if needed.
  7. Use Packet Capture if the packet flow is unclear.
  8. Save logs while the issue has just been reproduced.

For support cases, document all error messages, reproduction steps and troubleshooting steps already performed. This information significantly speeds up support cases.

More information

The tables in this article are based on practical experience and Sophos’ official overview of module log files. The official sources are linked here: