how to delete a piece of rule in iptables?
i have insert some rules to iptables firewall.now,i would
like to delete it .
but i only know to use iptalbes -L to empty them.
but it lead to delete all the rules in it.
how to do ??
bobo 提到:
Quoted 10 lines
i have insert some rules to iptables firewall.now,i would
like to delete it .
but i only know to use iptalbes -L to empty them.
but it lead to delete all the rules in it.
how to do ??
This address is for developer, your question should be post in user mailinglist.
The "-L" option will list all rules, use belows to flush it and use "man iptables" to see more.
iptables -F
iptables -F -t nat
iptables -F -t mangle
iptables -X
iptables -X nat
iptables -X mangle
/Jason
Hallo,
Quoted 6 lines · bobo
i have insert some rules to iptables firewall.now,i would
like to delete it .
but i only know to use iptalbes -L to empty them. but it lead to delete all the rules in it. how to do ??
"iptables --help" gives you a short command overview.
"man iptables" gives you more extensive help.
Gruß,
Markus
Signature · 3 lines
Markus Schaber - http://www.schabi.de/ Schabi's Flohmarkt unter http://schabi.de/flohmarkt