Score:0

TPROXY redirect and routing decision

ai flag

I would like to ask what happens internally when redirecting using Tproxy.

iptables -t mangle -A PREROUTING -p tcp --dport 443 -j TPROXY --tproxy-mark 1 --on-port 40001

It located in PREROUTING in the mangle table of iptables.

As far as I know, the routing decision is made after the PREROUTING chain.

When redirecting using Tproxy as above.

Packet through ip rule & routing table? Or does it go directly to the local 40001 port?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.