Puppet: System Administration Automated

Support

Ticket #876 (closed enhancement: invalid)

Opened 1 year ago

Last modified 1 year ago

rough patch to rebuild-iptables to add nat table POSTROUTING statements in iptables module

Reported by: cdhouch Assigned to: community
Priority: normal Milestone:
Component: server Version: 0.22.4
Severity: normal Keywords: iptables module
Cc: Triage Stage: Unreviewed
Attached Patches: Code Complexity: Unknown

Description

We needed a way to add in POSTROUTING statements into the nat table in iptables via puppet. The current perl script in the iptables module rebuild-iptables doesn't allow for this. This is a roughly coded together patch to allow for POSTROUTING fragments that work with the existing iptables module. Take a look at it, polish it up (it probably needs it) and do with it what you will.

Attachments

accept_nat_postrouting.patch (2.2 kB) - added by cdhouch on 10/23/07 21:59:09.
dds nat functionlity to iptables module.

Change History

10/23/07 21:59:09 changed by cdhouch

  • attachment accept_nat_postrouting.patch added.

dds nat functionlity to iptables module.

10/23/07 22:22:49 changed by digant

If this patch actually works and does what one expects, I'd say update the wiki with it. My suggestion is to remove the Redhat specific bits and call it something more generic.

10/26/07 22:00:41 changed by luke

  • status changed from new to closed.
  • resolution set to invalid.

Yeah, this belongs on the wiki, rather than as a patch in a ticket.