[iptables] fix raw editing (fixes #232, fixes #226)