There is a need to let most of the domestic traffic through OpenVPN server installed in the cloud at Amazon. As connected not only computers, but also household appliances that can not supply OpenVPN client, it is supposed to buy a router ZyXEL Keenetic Giga and put the client there.
There are torrents that generate excessive traffic, for which Amazon asks for money, as well as some sites that consider visitors to the Amazon bots. Is it possible and how best to do so they worked to bypass the OpenVPN client?
All that was possible naguglit mainly concerns the reverse process, i.e. access to the router and everything behind it is using the OpenVPN...
Update: I would also accept the option when OpenVPN runs on the router by default without any traffic filtering, but for computers available direct connection. Ie if the router can support simultaneously two compounds and a particular client can be set to any of them at any point in time, it would also be a solution.
Comes to mind 2 options, either cisco-router PBR or linux with iptables with ipp2p module and package marking with the departure of their bypass OpenVPN. Plus a simple route table for "some sites that consider visitors to the Amazon bots".
In principle, if you remember Smoking rabbit, I think the 2nd option can be implemented on OpenWRT.
You will have to put there a module for iptables, if you decide it is, the rest is all no problem.
Dewayne.Russel73 answered on October 8th 19 at 01:52
Something tells me that the task is much simpler and solves the normal routing table and static routes