Is routing traffic to specific websites through a specific endpoint possible?

Started by grimelog, January 26, 2023, 02:27:01 AM

Previous topic - Next topic
I'm using Wireguard, and would like to set it up so I don't have to manually change my endpoint for regional content. I have one entrypoint, and two endpoints. Through firewall rules I'm forcing all traffic to go out through my VPN. Is there any means of forcing traffic for specific websites out through a specific endpoint?

Website no, IP range yes  :)

With content moving to cloud and CDN providers it becomes increasingly difficult to distinguish between locales. I use a VPN app on my Android TV to switch between geofences.

Bart...

Hmm, how often do ip ranges switch for websites? I'm trying to not access this site from a country they do not provide services too. I might have my account closed.

Is there a means of running a script on my computer that switches the endpoint the router uses when I access the site? How would I setup passwordless login from a single device on the network?

Found a solution that works. I just made separate VM, and route that VM through tor.