You should have chosen iptables, you can still use your ipchains script with iptables using loadable compatability modules