On Thu, 2010-06-17 at 08:26 +0000, Mamadou Touré wrote: > Hi, all i'd like to move rule to a position. > ex: i've these rules : > 1- iptable -A -p TCP --dport 80 -j ACCEPT > 2- iptable -A -p TCP --dport 21 -j ACCEPT > 3- iptable -A -p UDP --dport 53 -j ACCEPT > > after executing these command is there a mean to move rule at > position 3 to position 1 ? > So that the rule at 1 could go to 2 and 2 to 3. > > Someone has allready done that ? plz Help. > regards. > -- > To unsubscribe from this list: send the line "unsubscribe netfilter" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html iptables-save > fw.rules vi fw.rules and put them in the order you want them. iptables-restore < fw.rules
Attachment:
signature.asc
Description: This is a digitally signed message part