Yeah, might be worth a shot. iptables is nice, but very verbose and somewhat obtuse.
I'd just clear out iptables completely and use ufw. Should be in Debian's package manager.
Here's a cheat sheet: https://www.digitalocean.com/community/tutorials/ufw-essentials-common-firewall-rules-and-commands