Not sure if this will help, but it is the how I have done my setup:
Download and install Raspbian Stretch (operating system - OS) on the SD card of you Raspberry pi. See https://howchoo.com/g/ndg2mtbmnmn/how-t ... spberry-pi
Nice software to burn the Rasbian OS onto the SD card, is Etcher (https://www.balena.io/etcher/
Insert the SD card in the Raspberry Pi and start the OS.
You have to use the “terminal” or “command prompt” to install many of these applications.
Install Vim editor: $ sudo apt-get install vim (or you preferred linux file editor)
Then install OpenVPN on Rasbian Stretch – see https://linuxconfig.org/how-to-setup-a- ... etch-linux
(follow all the steps. Note that some of the steps will indicate you don’t have permission. Try “sudo” first. If that still gives permission issues, use “sudo su” and then continue.)
Last you install Kodi – see https://www.raspberrypi.org/forums/view ... p?t=192499
Ensure you the changes as described (change GPU Memory to 256 etc).
Also change the swap file size to at least 2048 mb – see https://wpitchoune.net/tricks/raspberry ... _size.html
To test if it worked, in the terminal, type:
$ free -m
The output should look like:
total used free shared buffers cached
Mem: 435 56 379 0 3 16
-/+ buffers/cache: 35 399
Swap: 2048 0 1023
Then install Addons. Use Google to search for the best working addons. These change every 6 months or so.
Once your Kodi is working, install “gufw” from the command prompt:
$ sudo apt-get install gufw
Start the firewall Gui: $ gufw (You may have to use "$ sudo su" first)
Click on “rules” and you should see the rules that you have created when you set up the OpenVPN. Click on “Report”. It will give a couple of ports that were used. Make sure you “switch” the firewall on and set to “allow” for both incoming, outgoing and routed traffic.
Then click on each of the lines/ports in the report. Then click at the bottom on the “+” and create a new rule (allow) for each port.
If you click on “rules” the new rules that were created will be added to the list of rules.
Kodi should now run from behind your own free OpenVPN server.
Gert Kruger (firstname.lastname@example.org
) (PS. I was banned from Kodi TV forum for posting this solution. It must be good since they get sponsorships from the commercial VPN suppliers!