Redirecting requests for selected devices

hi,

I'm looking for a way to redirect some of my devices when they try to access certain servers without interfering with the rest of my devices. For example: If device A wants to access google.com the request should be redirected to Bing, but all other devices should still be able to access google. Could you point me in the right direction on how to achieve this? All my devices are connected to the same Archer C7 running OpenWrt.

This requires some packet manipulation that a proxy can do.
Privoxy or Squid should be able to accomplish such a task.

1 Like

Just be aware that https with hsts limits your abilities to mess with clients more and more, and once the clients move over to DoH (which both chrome and firefox are pushing hard) you have lost these abilities altogether.

3 Likes