Posts by zomboided

    I agree the settings don't show the filtering on the settings page, that's a GUI/settings change in Kodi. If you go into the dialog, the filtered addons are shown as selected from previously. And the actual filtering/changing connection is still working just fine for me though (similar set up to you)

    Nord is controlled via their api, they determine the server to use based on the country selected. If you want to use a specific country you can create your own ovpn file and connect directly to that server

    You can see If the vpn is connected by looking at the ip table or checking running processes via the command line. Or you can check whether it’s connected within the addon menu

    I had been told by a mate some months ago that Nord was ok for accessing content in the UK from the US. Maybe the BBC have blocked the Nord servers - this is what normally happens. I had thought Nord were pretty good at rotating their servers to work around these blocks. It would be worth having a conversation with their support team and see what they say.

    You don’t need to write a python script, you can just use systemd to automatically restart it. But If there’s a problem with your provider, then this might not work reliably.

    My addon takes the python script approach, also stopping any media as well. And you can specify how often it checks from some small number of seconds. This approach is a balance between the CPU effort of checking a running task vs playing media. I found that on the Pi this would mess with playing more intensive media (like 10GB+ higher bit rate movies, etc)

    This isn’t a kill switch tho. A kill switch will block regular traffic over anything that’s not the VPN so that if the VPN fails, nothing can flow ever. This block will be removed when the VPN is disconnected. I think the only way to achieve this is by using the openvpn up and down scripts to manipulate the IP table.

    What approach you take really depends on how “protected” you want to be with your VPN and why you’re using it (avoid that rabbit hole on this forum...)

    That's really poor. How come it worked for Raspbian though, or was that on a different Pi?

    No, I never worked out how to do it universally. You can stop the stream if the VPN disconnects but this isn’t immediate.

    Or you can add something to the ovpn files to mess with the ip table. I don’t know what that something would be tho

    I’ve not changed PIA for ages, and the fact it works ok on 17 makes me think it’s not related

    to the PIA ovpn files changing.

    You could download a current PIA ovpn file and start it manually via the command line.

    If this has the same issue then it’s not the addon. If it doesn’t I’ll look at the ovpn files when I’m in front of a computer but that won’t be for a few days.

    I pushed out 6.2.0 which adds some minor stuff to display the VPN server name in use (if you care about that sort of thing) and fix to a weird connection bug. Only it also introduced a bug where it'd crash if you connect before boot.

    Fix for that is in 6.2.1, should update automatically via the repo, but if not just reinstall it.

    Thanks for the info. I definitely don’t want to spend time debugging problems with nightly builds. Reporting issues to Milhouse is definitely the right thing to do. Happy to look at issues with any regular builds

    NordVPN supported me integrated with them by giving me access to their API and talking through how it worked. The decided that by country, and then using the least loaded in the country was the right approach (which for video streaming, I totally agree with). It also works with their constantly changing server IPs as everything is accessed dynamically.

    If you're wanting to use one of their special servers, then you can get the address of the server and create the ovpn file. You might do this by letting NordVPN connect, then looking in .../kodi/addons/service.vpn.manager/NordVPN/ to get a working ovpn. You might need the other files referenced by it too, such as the certs and password files, and then shove them all into the import wizard.

    Thanks for providing decent debug. I think you’re trusting the import to do the right thing, which it doesn’t. You already found and commented on that github issue. If you avoid using the tagging (ie #PATH), and you edit the ovpn after import to contain the absolute path to the pass file, this might solve the problem.

    I can’t remember how this code works as it’s been ages since I looked and I don’t anticipate having enough free time to look at this any time soon to remind myself/provide a fix

    These have been happening since Kodi 18 and the rewrite of settings. No idea how to fix it because I couldn't find any documentation on how settings should now be structured (to be fair, i haven't looked recently). Turn off debug is the only way to fix.

    The wizard doesn’t support pass protected keys, there’s a github issue open to fix it but I’ve not done it. You can investigate how to supply a file with the password in and reference that and manually change the ovpn files. Or you can turn off the requirement for pass protected keys. Dunno if the second option is possible as I don’t run PiVPN

    The import function assumes just one provider, and will try and common up files (like ca.crt, pass.txt, etc) that are supplied.

    You can absolutely use multiple providers if you ensure the paths in the files are all correct (and absolute). For example you might have one ovpn file with "ca .../provider1/ca.crt" and "auth-user-pass ../provider1/pass.txt" and another ovpn file with "ca .../provider2/ca.crt", etc.

    If you use the import wizard to import just one provider, you should see the resulting files, which can then be duplicated/modifed. There are some words on the github wiki about this too.