SophosFirewall.Firewall

1.4.2

PowerShell module for managing firewall rules, rule groups, NAT rules and SSL/TLS inspection on Sophos XGS / SFOS 22.0 firewalls via API.

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name SophosFirewall.Firewall

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name SophosFirewall.Firewall

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Package Details

Author(s)

  • Jan Weis

Tags

Sophos Firewall API XGS SFOS NAT TLS Security

Functions

Get-SfosFirewallRule New-SfosFirewallRule Set-SfosFirewallRule Remove-SfosFirewallRule New-SfosFirewallRuleNetworkPolicy New-SfosFirewallRuleUserPolicy New-SfosFirewallRuleHTTPBasedPolicy Get-SfosFirewallRuleGroup New-SfosFirewallRuleGroup Set-SfosFirewallRuleGroup Remove-SfosFirewallRuleGroup Add-SfosFirewallRuleGroupMember Remove-SfosFirewallRuleGroupMember Get-SfosNATRule New-SfosNATRule Set-SfosNATRule Remove-SfosNATRule Get-SfosSSLTLSInspectionRule New-SfosSSLTLSInspectionRule Set-SfosSSLTLSInspectionRule Remove-SfosSSLTLSInspectionRule Get-SfosSSLTLSInspectionSettings Set-SfosSSLTLSInspectionSettings

PSEditions

Desktop Core

Dependencies

Release Notes

1.4.2: New-SfosFirewallRule and Set-SfosFirewallRule now cover the user and HTTP-based policy types, which were previously refused, and expose the exclusion lists of network and user policies. New-SfosFirewallRuleUserPolicy and New-SfosFirewallRuleHTTPBasedPolicy build the matching policy objects. A user rule sent without identity matching is turned into a network rule by the firewall while success is reported, so both write cmdlets refuse that combination. An HTTP-based rule requires the hosted address to name an interface and at least one access path; without both the firewall rejects the request without saying which field is missing.

FileList

Version History

Version Downloads Last updated
1.4.2 (current version) 8 8/27/2026
1.4.0 13 8/22/2026