Sign inSign up

banksio/pfsensescripts

By banksio

Updated over 5 years ago

This project is no longer maintained.

Image
0

922

banksio/pfsensescripts repository overview

node-pfSenseScripts

GitHub last commit Docker Build Status Docker Pulls

A node.js app to perform various actions on a pfSense web GUI.

Currently in alpha: There may still be some rough edges, but please feel free to test it and report any bugs found, or new features that may be beneficial!

Features

  • Change the gateway of a Firewall Rule.

Usage

Environment Variables

There are a selection of environment variables that are required to be set for this script to work. These are documented below.

You can use a pfsensescripts.env file with the docker-compose included in this repository, or just pass them into docker run manually.

VariableContent
pfSense_IPThe IP address of the pfSense instance to perform the task on.
pfSense_userThe username to authenticate with the pfSense instance.
pfSense_passThe password to authenticate with the pfSense instance.
taskThe task for the script to perform. 1 for reboot and 2 for rule gateway change.
gatewayTextThe text to match to the gateway to switch the Firewall Rule to.
pfSense_ifThe interface for which to check the Firewall rules of.
pfSense_RuleDescThe rule description of the rule to modify.

Further documentation coming soon.

Tag summary

Content type

Image

Digest

Size

497 MB

Last updated

over 5 years ago

docker pull banksio/pfsensescripts