Monday, March 12, 2018

How to setup iptables to redirect TLS connections to Proxy?

hello,
i have created a bridge with a tap interface that my android emulator uses.
every app in android is a new owner/user.
i have a app that starts couple connections. i know its uid/pid.

how do i set up a iptables rule to redirect tls connections from the user to my localhost:443 on my pc? my problem is that when i redirect the connection to my IP:Port i would lose where the connection was supposed to go so my proxy cant start a connection to the real server. its a pure TLS connection. no http/s headers.

i would appreciate some ideas



No comments:

Post a Comment