Skip to content

NicolasBn/Sophos-SG-PowerShell

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sophos-SG-PowerShell

PowerShell module to interact with Sophos SG Firewall throug Sophos RestApi.

My initial motivation was to improve the way I manage Sophos Firewall SG during infrastructure deployement. I needed a way to add Host Objects and Packet Filter rules in the same way I create VM and services. This module enable Network automation from PowerShell on Sophos SG Firewall.

Table of contents

Contributing

Contributions are welcome via pull requests and issues. Please see our contributing guide for more details

Download from GitHub repository

  1. Download the repository ()
  2. Unblock the zip file
  3. Extract the folder to a module path (e.g. $home\Documents\WindowsPowerShell\Modules)

Usage examples

  1. Create Object (Host, Dns Host, Network, Range, interface), packetfilters rules (Nat, Firewall) and Routing from your PowerShell Script enabling infrastructure deployement by code.
  2. Delegate object creation to non network administration
  3. Enable versionning by using script and git instead of traditional click and forget approach
  4. Explore Sophos SG internal API

Notes

Support

  • PowerShell v5 (not tested yet on PowerShell 6 core)
  • Sophos SG UTM 4.908 and newer
  • A valid certificate on the client computer (the module do not deal yet with invalide certificate)

Documentation

See the project Wiki

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 100.0%