imthenachoman / pfSense-Firewall-Rules-Manager

A GAS web-app to manage pfSense FW rules from a Google Sheets spreadsheet
MIT License
19 stars 2 forks source link

pfSense Firewall Rules Manager

A GAS web-app to manage pfSense FW rules from a Google Sheets spreadsheet

overview

I am not a fan of the pfSense rule editor. I like having all of my rules in one table.

So I wrote a Google Apps Script web-app to make it easier for me to view the rules I have and to create new rules. I wrote this for myself and thought others might be interested so I am sharing with others.

The app lets you:

screenshots

001 002 003

to use

You have two options:

how it works

to do

about Google Apps Script, permissions, and security

For those who are not familiar with Google Apps Script:

self-publish

These instructions require a little knowledge/understanding of Google Apps Script. There are many articles online about it if you get lost.

  1. Create a new script by going to https://script.google.com/home/projects/create
  2. You will need to create 3 files in your project and copy the contents from the files in this repos:
  3. Save the project and deploy as a web app with these settings:
    • Execute as: User accessing the web app
    • Who has access: either option
  4. Then go to the URL of your deployed web-app.

disclaimer and warnings

Remember to make a backup of your pfSense configuration.

contact, support, help

Submit a new issue at https://github.com/imthenachoman/pfSense-Firewall-Rules-Manager/issues/new.