From LedHed's Wiki
Revision as of 08:14, 29 December 2007 by Ledhed (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Ubuntu/Debian Init Script

By default Ubuntu & Debian don't come with an IPTables init script (Bitch Moan ....)

There are many ways to load your IPTables rulesets.

This is one approach.

Add rules to your iptables via the command line. Save the rulesets to a file for later use (To survive a reboot) Launch an init script which loads the previously saved rulesets at given run-levels


Adding Rules

For more info on adding IPTable Rules see [IPTable Basics]

Saving the Rulesets

iptables-save > /etc/default/iptables-rules




More to Come