hi, does anybody know if and how it is possible to use "add-on dependent vlan"?
I would like to have a few add-ons to use vlan 1, while the rest of the add-ons use vlan 2?
Specifically this is for the streaming services. I want a few streaming add-ons (netflix for example) to be on a vlan which bypasses my VPN which is setup on the router.
Thank you in advance for your answer.
add-on dependent vlan
-
preshow -
December 23, 2023 at 9:09 PM -
Thread is Unresolved
-
-
Not possible. The traffic for an add-on is not 'contained' within Kodi, and Kodi itself does not run 'bound' to a specific interface on the host. So traffic is just traffic and the OS routes it off-host based on the default interface (default route) and static IP routes that send traffic for a specific destination through a specific interface. IP routing rules can achieve what you want to do, but the ruleset will be a non-trivial challenge to create and maintain over time.
-
Hello Chewitt,
Thank you for your info and sorry for my late reply. I think IP routing for this is out of my league unfortunately. However, if it is not possible, I am curious how zomboided kan run specific add-ons over VPN and others not. Maybe I can use something similar; some more digging to do.
-
I don't know the exact mechanics, but I suspect Zomboided's add-on is tracking the execution of add-ons and enables/disables the VPN as required. In that scenario the VPN is started and all traffic is being routed down the VPN tunnel. This is a little different from your use-case where you want to route traffic for specific add-ons over a different VLAN. You could conceivably do something similar to detect the add-on and change the default route, but this results in all traffic being routed over the second VLAN. The only way you can send traffic for a specific add-on (only that add-on) over the second VLAN is to use routing rules; but as noted that will be rather challenging to maintain due to the dynamic nature of how streaming services operate.