brianhornsby / script.openvpn

A script that allows you to control OpenVPN from within Kodi.
http://brianhornsby.com/kodi_addons/openvpn
GNU General Public License v3.0
91 stars 30 forks source link

not working on rasperry pi #19

Closed nickshe89 closed 10 years ago

nickshe89 commented 10 years ago

hi

i download new openvpn and not working on openelec raspberry pi

http://xbmclogs.com/show.php?id=208482 and you got repo

thanks

brianhornsby commented 10 years ago

Hi,

Please check that you have set the correct location for the OpenVPN binary. This can be updated in the add-ons settings.

No I don't have a repository.

Regards

Brian

nickshe89 commented 10 years ago

thanks i done were i put my username and password for my openvpn im useing hidemyass

brianhornsby commented 10 years ago

My script does not take a username/password. It uses OpenVPN configuration files.

ghost commented 10 years ago

had this working fine on both openelec and raspbmc its a great little addition to xbmc.

for openelec all I did was create a txt document with username on first line and password on second save it as pass.txt

download ovpn files and your (certificate) ca.crt from your vpn provider

Dont know if this is necessary but if there is any spaces in the names of the *ovpn files remove them so for example rename UK London.ovpn to UKLondon.ovpn

edit the ovpn files using whatever you like (notepad++) below is an orignal:--

client dev tun proto udp remote france.privateinternetaccess.com 1194 resolv-retry infinite nobind persist-key persist-tun ca ca.crt tls-client remote-cert-tls server auth-user-pass comp-lzo verb 1 reneg-sec 0

This is an edited file;---------------------- (added the path of you pass.txt and the ca.crt)

client dev tun proto udp remote france.privateinternetaccess.com 1194 resolv-retry infinite nobind persist-key persist-tun ca /storage/.config/vpn-config/ca.crt tls-client remote-cert-tls server auth-user-pass /storage/.config/vpn-config/pass.txt comp-lzo verb 1 reneg-sec 0

put all the ovpn files ca.crt and your pass.txt in the folder on your openelec machine in the /storage/.config/vpn-config folder (as this is where i just edited my ovpn file to look for my ca.crt and my pass.txt iI created earlier)

goto the settings on the addon add the *ovpn files

Change the path in the addon settings to where the openvpn client is as in openelec it is in /usr/sbin/openvpn

then give it a go.

(for raspbmc its pretty much the same but you need to download the openvpn client using "apt-get" and you need run the script using the sudo command)