Hello community,

I'm struggling to redirect http traffic of my WLAN network .

I have complete control of the network and I use my mobile as a router (gateway) so all packets transit by me before going WAN (in/out). which makes me in a good mitm position .

I noticed while monitoring with wireshark that some mobile apps use HTTP, mostly ads related, and i'm wondering if there is a better way to redirect those http request elsewhere.

What I exactely I need is that when a client/app browses an http website, he/it gets the content he/it seeks with an iframe injected in the page.

I tried to use http injection feature in subterfuge but it doesn't seem to work.

I'm looking for something automated that is configrable via script.

any good insights would be welcome