pfSense

0.9.9

pfSense management functions built for pfSense version 2.x

Minimum PowerShell version

3.0

Installation Options

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

Install-Module -Name pfSense

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

Install-PSResource -Name pfSense

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

Copyright

(c) 2017 Chris Masters. All rights reserved.

Package Details

Author(s)

  • Chris Masters

Tags

pfsense firewall security vpn

Functions

Connect-pfSense Add-pfSenseUser Get-pfSenseUser Remove-pfSenseUser Export-pfSenseUserCert Revoke-pfSenseUserCert Restore-pfSenseUserCert Backup-pfSenseConfig Restore-pfSenseConfig Add-pfSenseStaticRoute Get-pfSenseStaticRoute Remove-pfSenseStaticRoute Add-pfSenseGateway Get-pfSenseGateway Remove-pfSenseGateway Get-pfSenseCa Export-pfSenseCa Export-pfSenseCrl Get-pfSenseCrl Add-pfSenseFirewallRule Get-pfSenseFirewallRule Remove-pfSenseFirewallRule Add-pfSenseNatRule Get-pfSenseNatRule Remove-pfSenseNatRule

Dependencies

Release Notes

Version 0.1
- Day one - it's my birfday!

Version 0.2
- Function (Export-pfSenseUserCert) : changed : Parameter validation updated.
- Function (Connect-pfSense) : changed : Added ability to ignore certificate errors

Version 0.2.1
- Module Manifest : changed : root module was missing, no commands were exporting... :(

Version 0.3
- Function (Backup-pfSenseConfig) : changed : added ability to return the config as XML
- Function (Get-pfSenseUser) : changed : getting user's detailed info no longer saves a file to disk.

Version 0.6
-Function (Export-pfSenseUserCert) : changed : there was a problem with the whole thing... rewrote. Sorry :-/

Version 0.7
-Module : changed : Removed the prerequisites installer, as the "core" module is required, and will be installed
automatically.

Version 0.8
-Function (Get-pfSenseCa, Export-pfSenseCa) : Added : Functions for working CAs
-Function (Get-pfSenseCrl, Export-pfSenseCrl) : Added : Functions for working with CRLs
-Module : changed : Now requires that you have at least 1.4 of the core module.

Version 0.9
-Function Get-pfSenseUser : changed : added the user description field as "FullName" in the detial output

Version 0.9.1
Version 0.9.1
- Module Manifest : changed : change core module requirement
- Module : changed : Add user now works with version 2.4.4

Version 0.9.2
Fixed execution issues with some user based commands. Remove-PFSenseUser, Revoke-pfSenseUserCert

Version 0.9.3
Changed PSD1 to use ModuleVersion, instead of RequiredVersion

version 0.9.4
Fixed (band-aided) issue with exporting user certificates with ambiguous names. Just grabbing the first match for now. I'll come up with
something better when time permits, or when it becomes a problem again.

Version 0.9.5
Moved to GitHub. Actions now publish to the PowerShell Gallery
Bumped up the core module requirement to 1.9.1

Version 0.9.5.1
Bumped version to push. Nothing to see here.

Version 0.9.6
- Function : changed : Export-pfSenseUserCert : Now uses the Get-pfSenseUser -Detail to get the certificate ID. 2.6.0 broke the old way.

Version 0.9.6.1
- Function : changed : Backup-pfSenseConfig : Now requires the password to be confirmed. Extra form field added

Version 0.9.7
- Function : merged : Module : Pull request merged to solve digest algo in certificate.

Version 0.9.8
- Function : merged : Module : Fixed and reverted the export user cert function to pull from the web request instead of the xml backup.

Version 0.9.8
- Module : merged : Module : Updated ability to use insecure certificates with connecting via PowerShell core on non-Windows systems.

FileList

Version History

Version Downloads Last updated
0.9.9 (current version) 405 11/10/2024
0.9.8 2,670 1/3/2024
0.9.7 8 1/3/2024
0.9.6.1 37 10/12/2023
0.9.6 51 6/26/2023
0.9.5.1 43 3/3/2023
0.9.5 8 3/3/2023
0.9.4 86 6/2/2022
0.9.3 168 11/1/2021
0.9.2 411 12/9/2019
0.9.1 98 7/22/2019
0.9 97 2/26/2019
0.8 184 12/7/2017
0.7 61 9/3/2017
0.6 22 9/1/2017
0.5 39 8/13/2017
0.4 18 8/13/2017
0.3 20 8/10/2017
0.2.1 18 8/10/2017
0.2 26 8/7/2017
Show more