My understanding is that normally any given packet will only ever interact with one iptables chain either INPUT FORWARD or OUTPUT. However I want to have all traffic on port 80 that has neither its source or destination as the current machine (starts on the FORWARD chain) redirected to the current machine's port 3219 (ends up on the INPUT chain). The purpose of this is I am running a transparent proxy and this machine is the network's router.
An iptables command and an explanation would be ideal but if you have to choose I would definitely prefer an explanation.