I have an openWRT router and would like only certain client devices' traffic to be routed through a VPN to the internet. How can I do this with openWRT or similar router software? VPN client software cannot be put onto the client devices. The VPN is either wireguard or openVPN.
1 Answer
You want "Policy-Based Routing" which is provided by the pbr
and luci-app-pbr
(web interface) packages. Read through the documentation to configure it for your use case.