Project

iptables

0.0
No commit activity in last 3 years
No release in over 3 years
iptables-save encoder/decoder
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

>= 0

Runtime

>= 0
 Project Readme

iptables gem

This gem provides a library that is a higher-level abstration for iptables. It can be used for parsing iptables-save output and producing iptables-restore compatible output.

Tools

iptables-decode

This tool takes in the output of iptables-save and returns a hash in JSON. This is useful for debugging the parser. You can either run iptabes-save directly:

iptables-save | iptables-decode

Or pipe from the persisted file:

cat /etc/iptables/rules.v4 | iptables-decode