Page 1 of 1

iptables rules löschen?

Posted: 2004-01-03 15:10
by switch
Hallo @all

gibt es eine möglich _alles_ iptables rules mit einem commaned zu löschen?

gruß daniel

Re: iptables rules löschen?

Posted: 2004-01-03 15:12
by captaincrunch
man iptables wrote:-F, --flush [chain]
Flush the selected chain (all the chains in the table if none is given).
This is equivalent to deleting all the rules one by one.
EDIT: Hab's dir noch mal deutlicher hervorgehoben. ;)

Re: iptables rules löschen?

Posted: 2004-01-03 15:14
by static
Hi,
alle Regeln mit einem Command geht imho nicht, aber pro Chain...

Code: Select all

iptables -F INPUT
iptables -F OUTPUT
iptables -F FORWARD
[edit] Huch, in dem Fall gehts doch ;) iptables -F [/edit]

so long
static