Zomboided / service.vpn.manager

VPN plugin for Kodi
GNU General Public License v2.0
318 stars 80 forks source link

CONNECT/DISCONNECT BASED ON STREAM-TYPE #425

Open albertescriche opened 2 months ago

albertescriche commented 2 months ago

Hi @Zomboided I have installed the Addon service.vpn.manager 7.0.3  wich connects to OpenVPN 2.5.8. on my windows 11, so far addon controls well the windows 11 application.

THE CHALLENGE: Using IPTV Simple Client, I have a mix of URLs in my m3u file...

VPN.MANAGER SETTINGS CONFIG:

SUPPORT: I'm not sure if what I experience is a Bug or the config in the settings I set is not the right one for the use case to connect/disconnect the VPN depending on the type of livestream Kodi is connecting to. Can you advise?

Thanks, Albert

Zomboided commented 2 months ago

Connecting based on streams is something that needs to be more deeply integrated. I did make it work a looooong time ago but the changes didn’t get picked up by whichever application I was using so it didn’t go anywhere.  There’s an API to do the connect/disconnect but it needs something to drive that API that’s not this addon On 13 Sep 2024, at 07:09, albert.escriche @.***> wrote: Hi @Zomboided I have installed the Addon service.vpn.manager 7.0.3  wich connects to OpenVPN 2.5.8. on my windows 11, so far addon controls well the windows 11 application. THE CHALLENGE: Using IPTV Simple Client, I have a mix of URLs in my m3u file...

Some RTP multicast streams which do NOT require VPN Some HTTP unicast stream which require VPN

VPN.MANAGER SETTINGS CONFIG:

Windows filter, indicateswhen kodi is in the IPTV player screen to activate the VPN, which WORKS FINE but blocks the RTP Streams Monitor > Stream IDs  !rtp:239  intended to disconnect the VPN everytime a multicast stream is requested NOT WORKING

SUPPORT: I'm not sure if what I experience is a Bug or the config in the settings I set is not the right one for the use case to connect/disconnect the VPN depending on the type of livestream Kodi is connecting to. Can you advise? Thanks, Albert

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

albertescriche commented 2 months ago

Hi @Zomboided Thanks for setting the context.

I will give a try by activating the VPN with the Window Filter for IPTV player, and filtering out the multicast traffic from the routing tables from Open VPN itself (Outside Kodi). Let's see... BR, A