jahutchi you need to read the error messages you've helpfully shared. If your DNS is not being updated, then running a resolve script will fix this for you.
Posts by zomboided
-
-
I use PIA, you have all of the profiles available as of a couple weeks ago. I don't know how they work but likewise I suspect they load balance behind the scenes. I've never had an issue.
-
I don't use vpn for geo blocking. but I think there is a setting in zomboided's settings, to select a particular vpn server for a particular app.
This...this is how I use the addon (and why I wrote it). Use filtering in the settings.
-
Rebooting creates a new log. You can enable debug for just VPN Mgr in its settings/advanced tab
-
Thanks for spotting this...I've updated 4.9.9 with a fix (couldn't be bothered to do another new release...)
The downloads directory you mentioned contains all of the stuff that comes from GitHub...it's not used for any user data. You guessed right that the directory needed to exist at the level above. The fix will now create this if it doesn't exist, and then create a new APPEND.txt so everything should just work. Appreciate you testing it out, cheers.
-
4.9.9 in the repo.
It contains the potential DNS fix, but it's untested - I'd still like to know if this works for anyone.
I needed to put it out to change the Celo VPN support.
-
xsy77 Release 4.9.8 · Zomboided/service.vpn.manager · GitHub
Just install this over 4.9.7 and delete the alternative APPEND.txt and TEMPLATE.txt you have, then reset the provider. At this point an attempt to connect should not work for you. There's a new option in the Advanced tab called "Potential DNS fix" that when you click it and follow the instructions, should do the right thing. If it doesn't, get me the APPEND.txt and the a debug log.
-
xsy77, let me think about how to fix this. I'll PM you with a build in the next week or so.
-
4.9.7 has been posted on the repo
It's not overly interesting for existing users, but for new users it improves the debug of DNS problems, and offers up a way to fix those issues by appending openvpn commands to the end of a downloaded ovpn template file, rather than replacing the template file completely (allowing the template to be updated in the future).
It also has a small fix in to allow local streaming media to be identified. If you're using custom streaming media flags you may need to set them up again.
-
See the first post in this thread...it takes you to the wiki where all of the instructions live
-
Good news!
I'm not sure your update-resolv-conf is running cleanly based on the erorr messages. Does this fix work without the up and the down?
Do you actually just need dhcp-option DOMAIN-ROUTE . to fix this (as this forces all DNS requests through the openvpn DNS servers)
If so, I can build this into the add-on for others with the same issue. Would be great if you could try this for me. Cheers
-
Ok, view the ovpn files in the addon/service.vpn.manager/PIA directory and check that they contain what you're expecting. If they do, then let's see a log. If they don't, I'll do some tests myself.
-
Makes some sense. How are you adding them to the ovpn file? Are you modifying the template?
See this page to generally understand how to do this, specifically, this link 10. Updating VPNs · Zomboided/service.vpn.manager Wiki · GitHub
You should probably disable the options in the Advanced tab which talk to up/down scripts as that causes the template to get modified and it could overwrite your updates.
You can reset the VPN provider and everything should get regenerated when you connect. Check out the resulting ovpn files to see if they contain what you expect
-
4.9.5 is available on the repo
It's a pretty big overhaul, but it now has a lot of bug fixes, better debug and checking, a much better user wizard and a new reconnect only during streaming option.
It's been well tested on Windows and RPi LE, and less so on OSMC but post up any issues
-
I believe this is a DNS issue, but I don't know why it's happening on some installs vs others.
One path would be to download an ovpn file from PIA directly openvpn.zip
If Kodi is running, make sure the VPN Mgr add-on is disabled (otherwise it'll try and mess with your connection)
Then use the command line to invoke, eg openvpn Brazil.ovpn - it'll ask you for your user name and password, just like the add-on
Once it's connected, then use a different session (or run it as a background task) to try pinging and examining the DNS config - what you use for this will be dependent on what tools are installed on your distro.
Assuming that you still have the same problem (you will, the add-on is just calling the same ovpn files), then go ask PIA support what the problem is. Don't mention Kodi or add-ons - you're just running it via the command line (which is true).
I'd like to see their answer to determine if there's something better I can do to fix this in the add-on, or at least detect that this is the problem.
-
The problem I saw was that downloaded scripts need their permissions changed before they can run. This isn't a problem for user scripts as you'd set them as executable right
The only other issue might be that the script security parameter is not being written. You can check out one on of the ovpn files to see if it's in there
-
Reset the provider and try again. It's trying to load the certificate from the wrong place and not finding it...no idea why
-
If the openvpn log says 'AUTH_FAILED' or 'private key password verification failed' then you've supplied the wrong credentials. If it says something else, I'll look it a log.