I haven’t been using squid ever, not sure how do it work. But you can have a try to replace -A with -I, and change DNAT to REDIRECT.
iptables -t nat -I PREROUTING -s 192.168.1.5 -p tcp --dport 80:443 -j REDIRECT --to-ports 3128