2008/8/7 Gregory K. Ruiz-Ade <[EMAIL PROTECTED]>:
> On Aug 7, 2008, at 1:23 AM, Michael J McCafferty wrote:
>
>> How do I do it in RedHat ? All of the docs I can find seem to discuss
>> how to do it as a network firewall.
[snip]
> Red Hat (and derivatives) store their configuration rules, by default, in
> /etc/sysconfig/iptables (which is what /etc/init.d/iptables uses to read and
> load the rulesets).  So, any rules you set up can be saved in that file and
> the built-in tools will use them.

Rather than edit /etc/sysconfig/iptables directly, I've always found
it simpler to use the standard iptables forwarding commands (iptables
-A INPUT...) and then save the resulting chains to that file with
'service iptables save'.

-- 
Brad Beyenhof . . . . . . . . . . . . . . . . . http://augmentedfourth.com
If the world were merely seductive, that would be easy. If it were merely
challenging, that would be no problem. But I arise in the morning torn
between a desire to improve the world and a desire to enjoy the world.
This makes it hard to plan the day. ~ E.B. White, writer (1899-1985)


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to