Would love to see this implemented. There have been questions about whether a RPI would be up to the task - I can’t comment as I’ve not tried it and don’t have one
Would love to see this implemented. There have been questions about whether a RPI would be up to the task - I can't comment as I've not tried it and don't have one
Sent from my Nexus 5 using Tapatalk
I don't see why the RPI should not handle it?
It's like joining a ordinary network.
I did find under Rasplex settings, VPN - I'll play around with it and see if I can join my VPN connection.
Okej guys!
I'm currently on the right track, what I have done is that I have downloaded the client.ovpn file and transferred it to the Downloads folder with Samba on my Rasplex.
Then in terminal I did write: openvpn --config client.ovpn
And it do work, now I only need to make sure that it do "write" that when I boot the rasplex as this do disappear when I reboot the rasplex.
Ofc, I did allow the user to auto-login to the openvpn server.
Okej, Now I got everything working!
After upgrading the Rasplex I think that you need to do this all over again, but only maybe don't know as the have not rlsed RC4 yet.
1. Install OpenVPN connect. ( on your server! )
2. Create a user in OpenVPN that you allow auto-login.
3. Download the client.opvn file from the server.
4. Move the client.opvn file to the Rasplex, I did use Samba but I guess that it should work with SSH also. I did move it to the download directory in the home folder. ( You need to activate Samba on your Rasplex )
5. Login with SSH to the Rasplex, username root and password rasplex .
6. Create a script-file that activate the OpenVPN profile when Rasplex start's. You do that with the command:
nano ~/vpn.sh
Write the following in the script-file, when your done press ctrl+x then Y to save the file.
Okay I'm biting... I'll be placing an order for a RPi this afternoon!! Thanks for working out how to accomplish this and sharing with the community :-)
Sent from my Nexus 5 using Tapatalk
No problem, if you have any kind of issues just write here and I'll help you.
I have my plexserver now running only inside the VPN and to get access to it my clients need to connect trough the VPN.
Got there in the end with a bit of trial and error!
Needed to put all the key and cert files in the same directory as the vpn.sh (I put everything in '~/downloads/' )
I then had to add the following to autostart.sh
'#! /bin/bash
cd /storage/downloads
bash vpn.sh &'
For some reason it seemed to error out if I did it exactly as you mentioned above - no idea why, but hey... It works!
Thanks for giving me the starting point and proving this configuration works..! Hopefully this will be helpful to others too :-D
Sent from my Nexus 5 using Tapatalk
Hi,
Sorry for the late answer, I don't know have are you running RC3 or RC4?
For me, the auto-start works on RC3.
I have not updated to RC4 yet, 'll do that next week if I have the time.