Jan Engelhardt wrote:
echo "Applying new rules..."; iptables-restore <new.txt; if [ "$?" -ne 0 ]; then echo "Dude, that failed horribly. (Old rules still intact.)"; exit 1; fi
Are you sure? I think it may have committed some tables already and errored on another.
M4 -- 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