Loading...

Raspberry Pi - OpenVPN Setup via PiVPN

40,221 views

Loading...

Loading...

Transcript

The interactive transcript could not be loaded.

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Aug 28, 2016

Hello again everybody, today I decided to replace my old method of remoting into my machine with TeamViewer to a new approach: OpenVPN on a Raspberry Pi! Here are the details of the setup:

NOTE: I had to enable port forwarding for port 1194 on my router; this varies for each router so I left it out of the video but you can find guides online. Remember, this VPN uses UDP 1194 so make sure you choose "UDP" and not "TCP" when enabling port forwarding on your router!

Raspberry Pi 2 Model B:

https://www.amazon.com/Raspberry-Pi-M...

Raspbian Jessie:

https://www.raspberrypi.org/downloads...

8GB Micro SD Card:

https://www.amazon.com/SanDisk-microS...

I used my SD card reader and Win32DiskImager to put Raspbian Jessie on the SD card. You can find Win32DiskImager here:

https://sourceforge.net/projects/win3...

I then connected the Pi to my router and gave it power via USB charger. I scanned my network to find the IP using nmap (Zenmap is the GUI):

https://nmap.org/download.html

I then followed this guide to set a static IP on my Pi:

https://www.modmypi.com/blog/tutorial...

I followed this guide to setup my no-ip account - this is used so I can connect via DNS name rather than my IP which changes from time to time:

https://www.raspberrypi.org/forums/vi... (Note that I stopped before the OpenVPN setup as I chose a different route)

I then ran the PiVPN.io script which you can find at the PiVPN website:

http://www.pivpn.io/

Once the setup was complete, I downloaded the OpenVPN client for Windows here:

https://openvpn.net/index.php/open-so...

I used PSCP to transfer the Home.ovpn file from my Pi to my Windows PC. You can download PSCP here:

http://www.chiark.greenend.org.uk/~sg...

And that's pretty much the jist of it! Feel free to ask any questions and leave any comments as this was my first time setting up a home VPN. Cheers!

Loading...

When autoplay is enabled, a suggested video will automatically play next.

Up next


to add this to Watch Later

Add to

Loading playlists...