Quote:
Originally Posted by Linux Fan
my ip tables change its order so the first role comes to be the last one
I tried to restart this service but nothing changes
so how can I bring it back to the previous order?????
|
If restarting the "service" doesn't change anything, then that means you saved the configuration (using something like "service iptables save", for example). So you need to modify the configuration and then save it again. You could write your rules again from scratch, but if you only care about the last rule then just delete it using the "-D" operation, and then insert it into the proper location using the "-I" one. See chapter 9, section 3 of the
Frozen Tux Tutorial to read about "-D" and "-I". Or just do a "man iptables".