Raspberry Pi issues [Solved]
Hello community,
After using this very forum to try and gain some help (albeit from looking in at topics) i have registered to see if anyone can help me at all.
I have set up my Raspberry Pi as a remote torrent client and installed everything i need to get it up and working. Now i need to change my ip to my PIA VPN subscription.
So far i have installed OpenVPN on my Pi and had a go at configuring it. This is where the problems start. I am more used to windows OpenVPN installations with a GUI. I am a bit of a noob at Linux command line but am learning quickly. I began to use this guide here:
http://bobhood.wordpress.com/2013/07/28/raspberry-pi-creating-a-secure-torrent-client/ but it seems to skip over the main meat of what is needed.
I also tried the 'turn your Pi into a VPN' but found it only uses your home network, which i really don't need.
What i need is someone to point me in the right direction of an indepth tutorial, i.e writing the pia.conf file, setting up keys etc.
If anyone can help i would be very grateful.
After using this very forum to try and gain some help (albeit from looking in at topics) i have registered to see if anyone can help me at all.
I have set up my Raspberry Pi as a remote torrent client and installed everything i need to get it up and working. Now i need to change my ip to my PIA VPN subscription.
So far i have installed OpenVPN on my Pi and had a go at configuring it. This is where the problems start. I am more used to windows OpenVPN installations with a GUI. I am a bit of a noob at Linux command line but am learning quickly. I began to use this guide here:
http://bobhood.wordpress.com/2013/07/28/raspberry-pi-creating-a-secure-torrent-client/ but it seems to skip over the main meat of what is needed.
I also tried the 'turn your Pi into a VPN' but found it only uses your home network, which i really don't need.
What i need is someone to point me in the right direction of an indepth tutorial, i.e writing the pia.conf file, setting up keys etc.
If anyone can help i would be very grateful.
Comments
I like the article you linked in, but the URL is incorrect. You can put a normal link in here without it getting nuked by moderators.
http://bobhood.wordpress.com/2013/07/28/raspberry-pi-creating-a-secure-torrent-client/
It looks like you typed it in fully into the link button, but missed the colon. In reality, you do not have to do that manual work on these forums. Just putting a link in works fine without using the link button. (That is what I did in this post, and you can see it works.)
I hope someone can help you. And welcome aboard.
Any thoughts on how to correct this?
Nice nice tutorial! Is up and running.
Dude do you know how to incorporate this with rc local/crontab?
Cheers.
@noheroe2014cr
It will save to your start up here
What kind of connection speed do you currently get as is?
What do you mean the Pi works its butt off, are you trying to browse on the Pi?
I'm stuck in the same situation that Chris was. sudo /etc/init.d/openvpn start will result in a successful connection... but at that point, I lose connectivity to all my networks, both local (over wlan0) and remote (over tun0). The ca.crt and crl.pem files are both in the /etc/openvpn directory
My thought is that the routes are getting fouled up... has anybody worked through this already?
Thu Oct 30 20:48:01 2014 OpenVPN 2.2.1 arm-linux-gnueabihf [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Oct 12 2013
Thu Oct 30 20:48:01 2014 WARNING: file 'login.conf' is group or others accessible
Thu Oct 30 20:48:01 2014 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Thu Oct 30 20:48:01 2014 LZO compression initialized
Thu Oct 30 20:48:01 2014 RESOLVE: NOTE: nl.privateinternetaccess.com resolves to 4 addresses
Thu Oct 30 20:48:01 2014 UDPv4 link local: [undef]
Thu Oct 30 20:48:01 2014 UDPv4 link remote: [AF_INET]109.201.154.162:1194
Thu Oct 30 20:48:01 2014 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Thu Oct 30 20:48:02 2014 [Private_Internet_Access] Peer Connection Initiated with [AF_INET]109.201.154.162:1194
Thu Oct 30 20:48:05 2014 TUN/TAP device tun0 opened
Thu Oct 30 20:48:05 2014 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Thu Oct 30 20:48:05 2014 /sbin/ifconfig tun0 10.192.1.6 pointopoint 10.192.1.5 mtu 1500
Thu Oct 30 20:48:05 2014 Initialization Sequence Completed
etc/openvpn $ sudo service openvpn start
Gave it a few seconds and then:
wget -qO- http://ipecho.net/plain ; echo
Output was:
109.201.154.162
The perfect outcome.
Here is the Netherlands.conf file i used, i am not saying use it as Netherlands but use it as your template.
Also delete the link to the files you upped, it contains your PIA log in details for anyone to have.
As ever, if it doesn't work, come back and tell me
Regards