I'm having troubles removing this ipables rule in Ubuntu:
$ iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 3128
I've tried using the -D attribute but with no success. How can I remove this? I've tried flushing the tables but that didn't seem to work.
Any suggestions?
iptables -t nat -nvL