VPN for a single app on a single device

I’ve got a somewhat specific need. I’m using an LG WebOS TV and I’m using an app for that TV to watch television (EON smart TV app). The app provider is blocking some of the channels when you are using the app in my ISP’s network. I can use a VPN to bypass this, but it isn’t in any way optimal to VPN my whole network because of this, and also to manually turn the VPN on and off.

Is there a way to set up a VPN for the TV only, and only if the traffic is generated by that app? That way I would “set it and forget it”.

If it’s not possible to set it per app, is it possible to set it for the device only? Then, I would turn it on and off when watching the few channels that are blocked. Not great, not terrible :slight_smile:

If you have another solution that would be of use for me, please share.

I’m using hap ac2, with ubiquiti ap ac lite which the TV is connected to, if it matters. I could connect the TV directly via cable, but the port is 100mbps, wifi is faster. The TV is LG 43UH668V.

Sent from my SM-G985F using Tapatalk

You can mark routing in mangle based on the destination port numbers coming from the app client and then route this via vpn

Thanks for you answer. Unfortunately, I’m quite a beginner, so could you maybe point me towards a tutorial of some sort? Even just understanding the theory of how it would work is a good start.

Sent from my SM-G985F using Tapatalk

what you looking for is called policy based routing

https://wiki.mikrotik.com/wiki/Policy_Base_Routing

Thanks so much, I’ll get onto reading!