Jump to content

Hello, all!

I was just getting interesting in making a VPN. Would using a Raspberry Pi as a VPN be a good idea? Let me know, please!

Thanks!

I do not believe it would be powerful enough.

PC SPECS: Athlon 860k, MSI 380 4GB, 8GB memory, 1TB HDD, Fractal Design Core 1000

Link to comment
https://linustechtips.com/topic/507273-raspberry-pi-vpn/#findComment-6769989
Share on other sites

Link to post
Share on other sites

The raspberry pi serving as a VPN will always have more features than a paid service. I would recommend using openvpn as the vpn type. It is currently the most secure vpn. Some advantages of hosting your own vpn are that you can remotely (and securely) access your home network from anywhere. Heres how to install openvpn:

 

Log in to your Pi using SSH using software such as PuTTy.
Use the script. The script has a GitHub page. Use these commands to download it, make it executable, and run it:
Code:
cd;wget http://git.io/vpn --no-check-certificate -O openvpn-install.sh;chmod +x openvpn-install.sh;./openvpn-install.sh;
 
The script will ask you a series of questions and walk you through setting up your Pi as a VPN server. Using the default answers for these should work on most basic configs.
The script generates a tar.gz file named something similar to ovpn-client.tar.gz. That file contains all the necessary config files and certificates for connecting to your VPN. Download it and set your VPN client to use these. 
 
Specifically, on Windows, you can set up your client by:
 
Downloading and installing the OpenVPN software (you only need the client component of this).
Downloading the .tar.gz file to your desktop through a software such as WinSCP.
Extracting the files from this archive using software such as 7-zip and changing the extension of the .conf file to .ovpn.
Right-clicking the .ovpn file and selecting "Start OpenVPN on this config file" to connect to your new VPN.
 
Open your preferred browser navigate to a site such as http://whatsmyip.org/. It should show that your IP now matches that of your pi.
This method may or may not work on the arm version of linux. Try it, if it wont work, no harm done.

My native language is C++

Link to comment
https://linustechtips.com/topic/507273-raspberry-pi-vpn/#findComment-6771102
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×