Skip to content
This repository has been archived by the owner on Dec 26, 2018. It is now read-only.

surminus/pfsense-parse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pfsense-parse

Some code to help dissect and view in plain language pfsense config.xml files

Gem requirements

  • nokogiri

Usage

ruby core.rb option output file

Option Function
acl Access Control Lists
interface Assigned network interfaces
alias IP and port aliases
nat Network Address Translations
Output Function
list Long human-readable list
psv Pipe Separated Values

Notes

For Ruby versions <1.9 "require_relative" isn't present. Update the code with:

sed -i 's/require_relative/require/g' *

Then add to the beginning of core.rb:

$LOAD_PATH.unshift(File.dirname(__FILE__))

About

Output and parse pfsense xml config files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages