Kodi Community Forum
add-on dependent vlan - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: add-on dependent vlan (/showthread.php?tid=375421)



add-on dependent vlan - preshow - 2023-12-17

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.


RE: add-on dependent vlan - pkscout - 2023-12-17

Honestly, I think the answer is no.  I started typing all the things I could think of you'd need to deal with, but at the end it's very, very complicated, and I think Kodi will only work on one IP interface at a time anyway.  I'm pretty sure that means you can't do what you want.


RE: add-on dependent vlan - jbinkley60 - 2023-12-17

(2023-12-17, 01:58)preshow Wrote: 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.

You could use Nginx as a load balancer / forward proxy with L3 / L4 rules that split out your destinations across VLANs based upon destination IP address or URL.  In this scenario Nginx would sit between Kodi and your router. It will get a bit complicated but could be done.  An easier question might be whether your router can allow bypass rules based upon L4/L5 destination URLs / URLs or based upon the source IP vs. the VLAN subnet? 


Thanks,

Jeff


RE: add-on dependent vlan - preshow - 2023-12-22

hello pkscout and Jeff; Thank you both for your answer.
@Jeff; I have to reread and decypher a little-bit what you wrote here. I'm not to prolificient with linux yet, but I like the challenge Smile I'll dive into it.

what I did not mention is the reason why I would like to be able to seperate kodi add-ons over vlan: I would like some add-ons to skipp my VPN.
For the sake of privacy, I standard use a VPN, which is set up on my DD-WRT router. However, since the streaming services are increasingly getting better at blocking vpn IP's I would like to only have those add-ons skipp the VPN.

Destination based policy on my router does not seem to work. I think the data is streamed from a different IP address.
I do not want to setup a second VPN client (like Zomboided) on my Kodi. However, I saw that with Zomboided you can choose which add-on to use over vpn or not. I though maybe the same exists for vlan seperation.
I thought I would be easier to seperate the data used by the add-ons on different vlan's, and bypass the VPN with one of the vlan.

BTW; I do not use the VPN to circumvent geoblocks, I do not care about that. I still would like to be able to use streaming services with my VPN; partly because of privacy, partly because I think it is sort of my own basic right to access the internet the way I want. But right now I just mostly would like to have it work, while as much of my data connection is using the VPN.


RE: add-on dependent vlan - DarrenHill - 2023-12-22

As noted in our VPN policy (wiki), we do not support them here.

You usage case is a valid one, but would potentially have applications for others who are not so noble.
As you're talking about Zomboided's addons, I assume you're using LibreElec? If so maybe ask on their forums as this isn't something we allow here.


RE: add-on dependent vlan - preshow - 2023-12-22

Hello DarrenHill,

Thank you for your reply and tip. Since I though I was looking for a Kodi add-on, unrelated to the OS, I posted here. Especially Since I would like not to use zomboided.
I'll try the libreelec forum with the same question.