Raspberry Pi VPN Server - PiVPN using Wireguard
Ғылым және технология
In this video I go through step by step on how to create a VPN server that you can setup at home using a Raspberry Pi. I also give you some use cases and scenarios on why you would want to setup your own VPN server. In this example, I am installing the Wireguard VPN server. This solution also allows you to use OpenVPN if you're more familiar with it.
Thanks to KKSB (kksb-cases.com/) for sending me the Raspberry Pi case shown in this video.
Setting up a Raspberry Pi
• Raspberry Pi Imager So...
PiVPN
www.pivpn.io
KKSB Raspberry Pi 4 Aluminum Case - Tall Case
kksb-cases.com/products/kksb-...
KKSB Raspberry Pi 4 High Performance Cooler with PWM Fan
kksb-cases.com/products/kksb-...
👉 You can support this channel here: www.buymeacoffee.com/everyday...
Gear I use:
everydaytech.notion.site/Stud...
0:00 Intro
0.44 KKSB Raspberry Pi Case
1:21 Installing and setting up and updating the Raspberry Pi
3:34 Installing PiVPN and Wireguard
5:57 Network / Port Forwarding Explained
8:29 Setting up Port Forwarding on my network
10:06 Potential Networking Issues
11:01 Adding Client / Profile to VPN server
12:11 Setting up Client (devices)
13:28 Use cases for a VPN server
15:45 Ending
Пікірлер: 33
Thanks for putting this together! I have had issues with deploying Wireguard in docker ever since I got into HomeLabbing. I setup a Proxmox LXC and ran the script to install pi-vpn and it worked the first time without a lot of fuss. Glad to have this going now. I may be able to get rid of Tailscale once I get time to test this outside my network later on. Thanks again!
Can we use pi hole + unbound + fake vpn location (even if there is not really a vpn) ? I just need the vpn part to be fakely located to us to unlock netflix content
Finally I can play cool math games unblocked to school.
Thank you! great video.
Why do you need to use udp protocol and not tcp? Are we prioritizing speed versus quality?
Can this be used to make a travel router or would it be better to use Rasp ap
Hi Thank you for this clear explanation of PIVPN. I have a PI 3 and want to install WireGuard VPN on it as explained in your video. The problem is that I am using a 5G Huawei router and despite configuring open port, no ports get open. I think my ISP isn’t allowing this feature through. Is there a workaround to this restriction? I need to have sone sort of workaround so I can get to my home cameras remotely. I am using Blue IRIS NVR on Windows. Blue IRIS comes with built in public IP on its Web Server part, but it requires a port be opened.
Thank you sir
Great content! Thank you! Q: Is this the same type of VPN as the one we would get from NordVPN, Avast VPN or any other VPN software? What is the difference? Thanks.
@EverydayTechTV
5 ай бұрын
Similar concept. With those paid services, there are a few features that you get such as being able to appear in many different locations. With this VPN, you are connecting to your home network, or whatever network you set this up in.
Thanks very much. How does Wireguard compare to NordVPN which I have now on the house computers? And on our phones and tablets too. Other than the cost of course. Like say I want to spoof a UK ip address to watch ITV videos. How would I do that with Wireguard? Cheers!
@EverydayTechTV
Жыл бұрын
The main thing to know is that this solution requires you to have your own hardware and network. This doesn't allow you to spoof a UK IP. You can have a UK IP if you know someone in the UK that can put the Raspberry Pi in their house with the VPN software installed. NordVPN is a cloud based solution. All their hardware is in different parts of the world, which allow you to make it look like you are in a different location. If you're looking to mainly to make it look like you're in a different location, then don't use this solution. This solution is if you're not at home (or the location you put the RaspberryPi) and you want to connect to your home network.
@CliveDrone
Жыл бұрын
@@EverydayTechTV Gotcha. Thanks. 73
What can I do if I have a trigger port?
Can I run this on the same pi as pi hole?
Hello sir can you help me. I will create vpn server for internet using my home internet in outside can I use internet of home in outside ? Plz help me
You should just complete the setup of the Raspberry Pi Router video Part 2. There was a VPN install which you skipped.
What if I can’t download wiregaurd onto my work laptop? Is there an alternative?
@EverydayTechTV
Жыл бұрын
You’ll probably have to use openVPN.
is it possible to install this way in a Pi already running Adguard?
@EverydayTechTV
Жыл бұрын
Yup. You just have to make sure they are not running on the same port. If they are then you’ll just have to adjust the port of one of the services.
I cannot use iPhone traffic thru WireGuard VPN ! Port forwarded is working and I can access home network but unable to use WireGuard in my iPhone.Any idea ?
@EverydayTechTV
2 ай бұрын
In your WireGuard configuration… make sure to allow all internet traffic. Make sure the “Allowed IPs” is set to “0.0.0.0/0, ::/0”.
Did not work. No internet on RPI after installing VPN.
So this does not mask your IP ? You still be using your home ip adress ?
Use this command for updating: sudo apt update && sudo apt upgrade - y
@EverydayTechTV
10 ай бұрын
Agreed. And I just learned recently that the -y means that will say yes to any prompts automatically. Hehe. Learning things everyday.
didn't care much for this video. rushed through some of the main setup parts.