Re: help with static ip on lan On Sun, 25 Sep 2005 20:22:46 -0500,
+Alan Hicks+ <alan@lizella.netWORK> wrote:
> In alt.os.linux.slackware, aaronl dared to utter,
>
>> One last thing. Early in the game I thought my firewall might
>> be part of the problem. I can to use the iptables command to
>> add and drop rules, but how does one stop the entire
>> rc.firewall script without having to 'chmod -x rc.firewall' and
>> reboot?
>
> # man iptables
> # /sbin/iptables -F
I don't think this is quite what the OP was asking for, at least
it doesn't do the same thing in my slack 9.1 install.
Booting without rc.firewall executable leaves the system open,
with the three basic chains (INPUT, FORWARD, and OUTPUT) all
defined as ACCEPT.
Calling iptables with the "-F" switch flushes all rules and leaves
these chains in their default state of DROP, and no packets will
be passed.
I think one way to accomplish what the OP wants would be to write
a short script that flushes all rules and also sets the default
policy to ACCEPT.
Note to the OP, you didn't indicate which version of Slackware you
are using, but iptables is in /usr/sbin/ with 9.1.
--
Theodore (Ted) Heise <theo@heise.nu> Bloomington, IN, USA |