User defined OpenVPN

Hi there,
am new to this forum, but not OpenElec. Ive been trying to configure OpenVPN for some time to use a complimentary VPN from my seedbox provider but had been frustrated thus far. I turned to this forum where I finally pieced enough info together to understand how to configure it, so I thought I’d give something back now I have been successful and I hope it can help the community in some small way.

I was trying to use the OpenVPN Manager and its import wizard but it was failing. I think this is due to it not being compatible with OpenElec and there are perhaps directory structures that are different.

The thing that work for me was after using the import wizard SSH into CoreElect and navigating to the UserDefined folder
/storage/.kodi/addons/service.vpn.manager/UserDefined

here edit the VPN profile (e.g. myVPN.opvn) and ensure that all references to the VPN certs/keys etc have absolute URL and point to the files in the same directory e.g.

tls-auth /storage/.kodi/addons/service.vpn.manager/UserDefined/ta.key 1
ca /storage/.kodi/addons/service.vpn.manager/UserDefined/ca.crt
cert /storage/.kodi/addons/service.vpn.manager/UserDefined/myVPN.crt
key /storage/.kodi/addons/service.vpn.manager/UserDefined/myVPN.key

Once this was in place the VPN worked without issue.

Hope this helps.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.