Having tried to setup a VPN on my Pi some years ago, I gave up trying because each time I updated/re-imaged the Pi the setup for a VPN was different. Using this method I had a VPN setup and running in less than half the time it took to watch the video. Thank you for finding this, it has made my very happy.
Best of all the VPN videos . Took me just 35 mins to be on my OWN VPN after watching your video. Out of these 35 mins 20 mins is what it takes to complete the " KEY " step after using 2048 bit .
Did you ever try to compare bandwith of VPN with long and short key? Is it not too slow with your choice? I will use Pi version 2 or one (have both in unused stuff box)...
But Lon - you didn't mask your DDNS and it still resolves! Yes it's resolving but not to my IP. I changed it before I posted the video. IMPORTANT: PiVPN has changed their domain - this is the new command for installation: curl -L install.pivpn.dev | bash
Those bastards. I tried everything... Why did they do this? Even now in their website they have their own download link wrong... Wow now i know how they do their work - simply not... Thoose idiots...
I really appreciate your video showing all the process from installing the server to configuring the client.this is the most useful video I've seen so far on the topic. Thank you
This tutorial was super detail and to the perfect required depth and detail for a novice to pick up and deploy. Excellen. Keep the good the work coming through.
I really don't often comment on youtube videos, but I had to comment this one. This is literraly what I was searching for, for a very long time. Thank you sir, you made my workflow so much better when I'm on the road. This is perfect!
I watched your video and I have to say: it was brilliant. Some things I need to have another look at , but the video is one of the best I've watched. Well done and keep it up!
This video was fantastic. I know it's 3 years old now but man this was detailed and insightful, and you were crystal clear and detailed when describing everything. Thank you for this!
Lon, you sure fit a plethora of information into a half hour video! I did thoroughly enjoy it though, as I am thinking of doing that for myself. I also have a spare computer that I might just do a Linux install on, and go in that direction. A lot to think about, to be sure, but certainly do-able. Thanks for the video and information.
Well, there goes my idea to use PiVPN to replace the subbed VPN service I've been using the past few years to bypass domain restrictions on my video streaming services. Just my luck that none of my US relatives are computer savvy enough to keep a Pi online 24/7, and thanks to Covid, I can't visit them often enough to do this myself. But for safely accessing a home network from off-network sites this is the best tutorial I've seen on the subject. Lon takes a complicated subject and walks you through the steps making it seem as easy as Pi.
This guy is great. Long video but it was thorough and didn't feel like it had any filler. All valid and useful information. And he is so wholesome and happy. Keep it up man.
Great video! I will use this, as I was looking to use it for a long time. Tried doing it with my QNAP NAS, but I think this solution is better. Different things, require separate devices. Cheers.
Thank you Lon for this video. I had a raspberry pi lying around and followed your instructions and setup piVPN and pi hole. I feel so "clean" now. This is probably one of the best privacy oriented practices you can do on your home devices.
Thank you this works a treat. I have a raspbx install at home (asterisk pbx for raspberry pi), in fact I’ve put pivpn on this same device, and if I’m away from home with an OpenVPN client I can use a VoIP phone adapter to connect to the home pbx. Works much better than trying to forward sip ports, which is a nightmare.
@1badhorsie about 5 Mb/s download (upstream from my house) which is about what my ISP gives me. It works great to check ip cameras and stuff like that! If I do a speed test, the pi's cpu would go to 100% but for small tasks it works just fine. I imagine a Pi 2 would be miles better.
Excellent. You explained what Andres Spiers eluded to in his IOT stack video. Now I can VPN in Node Red Dashboard and manage my Power consumption. ESP32 WROOM, 4 current transformer ADC channels --> MQTTT --> Node Red -- Lovely gauges and charts .. WINNER
If you have a windows server you can also setup up PiVPN inside a virtual box. I did that a year ago and It's been working great. Did it that way because PiVPN was dirt simple to setup. I think Lon skipped over the part where it sits there for a while and generates the keys.
As soon as we can leave our houses again, I’m going to set one of these up. There are only a couple things which need an update. 1. With iOS 13/iPadOS, you can connect your device to external storage and/or connect to a NAS, so it’s a lot easier to eat your profile onto those devices. The Raspberry Pi 4 has a dedicated Ethernet controller, so that speed limitation is no longer a problem.
Thanks! Just got my first VPN going. For securely installing the profile on an iDevice, use the USB to drag to a Mac computer desktop. Then install the OpenVPN app on the iDevice. Then AirDrop the config file to your iDevice. OpenVPN will recognize and install the appropriate profile. Don't use Settings to establish your VPN. Use the OpenVPN app. Enjoy!
If you have a Netgear router, then you can use the free Netgear DDNS which does not require a renewal email confirmation every month. While many routers will also have a built in server, it is good to always have a backup VPN server for cases when one of the VPN ports might be blocked.
You did very well with this Lon...I follow another channel that is heavy with pi content and he has done the same thing but in a six minute video. Nice that you took your time with it so others can follow in real time.
Lon! Great video. I would love to hear how this content resonates with your subscribers. I try to explain procedures like this and wonder if my message is lost because of the technical nature. Again, great job. I enjoyed it!
Thank you for the clear instruction. I always hesitate to set up a vpn server due to its complexity, but your video making this task painless. Thanks again!
@@MyTechGuyTim Then simply do not use your router to update your dynamic DNS service. When you have a Raspberry Pi running 24/7 you might just use that one for this job
Very good video, with every step explanation. I've tried to use some other manuals, but on the end I've uninstall all and start from scratch following this video. Everything works like a charm till laptop and mobile client run. Thanks a lot.
When setting the DNS provider; choose custom and enter your router IP address, that way any hostnames on your network can be resolved and you don't have to use their IP address to access them.
14.00: As of my install on October 12th 2020; working with my Raspberry Pi 3 (running Raspberry Pi OS - All updates), at the point of inputting the User info, I had to make use of the following command, "pivpn ovpn -a" instead of "pivpn -a" Great tutorial! TY for the intro and help! :D
But, as of just now on the RPi4 with all current updates as of this writing, using "pivpn -a" works, with "pivpn ovpn -a" only listing the switch options list. :)
Hi Lon great vid as always. Have you looked at installing wireguard on a pi to use in the same way as pivpn. If so a video on that would be great. Many thanks from the UK
WOW, very well done, from A-Z, setup to expected connection speeds from the outside. You covered it all with excellent explanations, descriptions, and examples. GOT IT!!!
Can you do this exact same video tutorial for the Raspberry pi 4, because now the Raspberry Pi 4 has a better CPU, more ram, and the Wifi is no longer bottlenecked to the USB bus! Very Educational! :D
Great video. But if all you need is encryption when using public WiFi, it's much easier to just set up SSH Dynamic Port Forwarding. Just run the included ssh server (sshd) on your pi, then on your computer, run "ssh -D 9001 myhomeaddress" or whatever. This creates a local SOCKS proxy listening on port 9001. Then you configure your browser or internet connection to use the SOCKS proxy on port 9001 at localhost. I've done this at hotels and coffee shops, works great. You still need to configure your router with port forwarding and dynamic DNS, though.
You can use VNC Viewer to file transfer the OPN file onto your laptop, if you don't have an SD. If you have Microsoft Onedrive on your phone you can then download onto your internal storage on your phone. Great video really easy to setup.
Yes. I have this setup myself. And it blocks ads away from the home network. Perfect setup. Just setup PiHole first and during the installation process of PiVPN it’ll ask if u want to use the PiHole for DNS.
Asus routers can run open vpn, it’s built into them. And Asus has a free DNS server. Have it setup but ‘everyone’ can tell I’m on a vpn like spectrum. They tell me either we detect a vpn and you’re not allowed to use our service or we can tell your not at home. Haven’t figured out what I’ve got set wrong. Nice video. Great Job.
Not exactly sure what your describing but it seems your ISP expects to see an endpoint and an IP where they installed the equipment when you use the VPN, ISP sees an unexpected endpoint or IP.
You could use Python os module to run terminal commands periodically and email yourself based on that output. You can also, dependending on your internet mobile provider, send text messages for free to create custom alerts. Btw, thank you for the idea!
I must say that was wonderful and only PiVPN video which clears everything. Looks like a official setup and demo video like you made own made product. Good work.
Lon, I didn't know that Synology made their own Router? Can you or did you do a review of it? How does these compare to Linksys/Netgear, or the ISP cable modem/routers?
Hello Lon Excellent video and detailed explanation. I got my working after fixing a couple mistakes I made in the process... from another hand, is it possible to have the pi connected to the router via Ethernet port instead of wifi?
Another good video that adds up to better understanding of networks and router functionality. Its becoming more and more important to know about this these days ... 👍
Wait, wasn't the PiVPN project no longer supported? We should be looking for other alternatives, not installing PiVPN. (edit : someone pointed the project is supported again, and GitHubs confirms it as true)
@@kcarmical You're right, I'm actually surprised as they mentioned they couldn't transfer ownership of the project. It's all for the best as I love to use PiVPN and dreaded to have to change to another VPN client.
If you are going to send it to a friend, it's best to set up the ddns update in a cron job on the pi. The friend would still need to set up port forwarding (and assigned dhcp by its MAC address) in their own router.
This is very good content! I am surprised of all the details. I also like the fact that Lon does not check "remember me" checkbox like 99% of the users.
hey can you setup your raspberry pie itself as the dns server in raspberry-openvpn if it lets say; is running dnsmasq and you have added the vpn interface to the dnsmasq conf file?
Don't know if it's said in previous comments, but transfer the certificates (~@15:00), when you only have shell command is a real pain in the ... . There is an elegant mean to do so, is to use any SFTP client (like fileZilla) on another LAN computer and grab all the file you need, no need to mount/unmount any media. Hope that helps.
stab244 Yes. If you want your VPN traffic to go through the PiHole too then you will need to put it that DNS server on the setup page for DNS networks.
Great video! For transferring the certificate... another option is SFTP or another network file transfer protocol. The user is likely on the same network anyway.
Noobie here. What would be the advantage of doing this versus just running a cheap VPN service like IPVanish other than being able to remote into your own server?
This is actually better if you are running an ubuntu 17.04 installation It is faster since the raspberry does not have fast processing capacity to read encrypted traffic. It functions the same, but with a faster machine and more smoother.
The only point I see to setup vpn server on RPi is if your router doesn’t have a vpn server built-in and you already own RPi. I wouldn’t run out and buy RPi just for vpn purposes. For 35 bucks you can get a router that has ovpn or l2tp server built-in like MikroTik Routers. L2TP protocol doesn’t require any client apps to be installed on end devices since L2TP support is built-in to all platforms mentioned in this video. MikroTik Routers even have built-in DDNS name so you don’t need to obtain your own DDNS name
Indeed some mikrotik routers have even hardware acceleration for l2tp, but ovpn is tcp only as i know, and no acceleration. And setup process just does not justify effort to learn detailed how to. While here it is simplified as much as possible, much more reasonable for non-pro network person
Not sure about iPhone, but with iOS 13+ (or iPadOS 13+ I guess), you can connect a thumb drive. Also, if you are coming from a Mac, you could use AirDrop to move the profile to the iPhone.
Why not ? SSH is just a remote terminal on your Pi. You will have to restart the SSH session after a reboot of the Pi. It migh be easier to run the regular "remote desktop" from your Windows10, as then you get the Pi desktop up and running on your Windows 10. The its just like having the Pi started with its own display desktop.
Hey Lon, great video. Got a quick note on the speeds, if you connect to your local network externally (via VPN) it will always be limited to your home UPLOAD speed. So in your case this was ~10 mbit.
I love how articulately he speaks. Clear and straight to the point too.
When I'm on public Wi-Fi with my tablet, I'm happy knowing that a Raspberry Pi is at home keeping me safe.
@1Bit Yeah, just for when I'm out on public wifi.
So through public wifi you connect to the pi to connect to the internet through your home connection? Or am I misunderstanding?
correct.
Do i need a public ip to do this?
@@chrisparussin5359 Watch the video 8:00
Having tried to setup a VPN on my Pi some years ago, I gave up trying because each time I updated/re-imaged the Pi the setup for a VPN was different. Using this method I had a VPN setup and running in less than half the time it took to watch the video. Thank you for finding this, it has made my very happy.
Heres what happened to me:
1. Stumbled upon this channel.
2. Watched the amazing vpn walk through.
3. Subscribed instantly.
Tanx Lon 👍
Best of all the VPN videos . Took me just 35 mins to be on my OWN VPN after watching your video. Out of these 35 mins 20 mins is what it takes to complete the " KEY " step after using 2048 bit .
Did you ever try to compare bandwith of VPN with long and short key? Is it not too slow with your choice? I will use Pi version 2 or one (have both in unused stuff box)...
@@AK-yn4br I am not using the VPN for media so I am ok with the BW and 2038bit strong key.
How did you do the install? curl doesnt works for me...
@@TobiasDettinger Try installing curl. You can just do "sudo apt install curl"
But Lon - you didn't mask your DDNS and it still resolves! Yes it's resolving but not to my IP. I changed it before I posted the video. IMPORTANT: PiVPN has changed their domain - this is the new command for installation: curl -L install.pivpn.dev | bash
and this means what? any separate stuff we need to do?
CryonicCore Gaming no just don’t publish your DDNS address on a popular UA-cam channel :)
Those bastards. I tried everything... Why did they do this? Even now in their website they have their own download link wrong... Wow now i know how they do their work - simply not... Thoose idiots...
help!
I really appreciate your video showing all the process from installing the server to configuring the client.this is the most useful video I've seen so far on the topic. Thank you
This tutorial was super detail and to the perfect required depth and detail for a novice to pick up and deploy. Excellen. Keep the good the work coming through.
Best home VPN walkthrough I've seen. Thank you!
I've switched from PiVPN (OpenVPN) to Wireguard recently (Raspberry Pi 3 server too). That was a pretty good decision
I really don't often comment on youtube videos, but I had to comment this one. This is literraly what I was searching for, for a very long time. Thank you sir, you made my workflow so much better when I'm on the road. This is perfect!
Internet provider spying on you whatewer you made :)
Very nice and clear video with good explanation! Thanks Lon!
I watched your video and I have to say: it was brilliant. Some things I need to have another look at , but the video is one of the best I've watched. Well done and keep it up!
Great production values, great teacher, great content, yeah, top notch video!
Just got my pi4 and set up a vpn, your video made it so easy. Tested it on all my devices, works great. Thank you so much.
Excellent job. I appreciate the hard work you put into this. One of the best tutorials I have watched. I was easily able to set this up.
This video was fantastic. I know it's 3 years old now but man this was detailed and insightful, and you were crystal clear and detailed when describing everything. Thank you for this!
Lon, you sure fit a plethora of information into a half hour video! I did thoroughly enjoy it though, as I am thinking of doing that for myself. I also have a spare computer that I might just do a Linux install on, and go in that direction. A lot to think about, to be sure, but certainly do-able. Thanks for the video and information.
Well, there goes my idea to use PiVPN to replace the subbed VPN service I've been using the past few years to bypass domain restrictions on my video streaming services. Just my luck that none of my US relatives are computer savvy enough to keep a Pi online 24/7, and thanks to Covid, I can't visit them often enough to do this myself. But for safely accessing a home network from off-network sites this is the best tutorial I've seen on the subject. Lon takes a complicated subject and walks you through the steps making it seem as easy as Pi.
I've also noticed that with Openvpn Compression turned on that wifi on public networks is significantly faster.
This guy is great. Long video but it was thorough and didn't feel like it had any filler. All valid and useful information. And he is so wholesome and happy. Keep it up man.
Great video!
I will use this, as I was looking to use it for a long time.
Tried doing it with my QNAP NAS, but I think this solution is better.
Different things, require separate devices.
Cheers.
AMAHI HAS VPN
Thank you Lon for this video. I had a raspberry pi lying around and followed your instructions and setup piVPN and pi hole. I feel so "clean" now. This is probably one of the best privacy oriented practices you can do on your home devices.
Did you run both on one device?
Love a "step by step" video.. Good job Lon
That show went off the air in the 90's. Lol 😂
I did it! Awesome feeling when you hit that refresh and your router config screen pops up.
Always great when it feels like magic!
Lon - appreciate lots of your posts, this one is outstanding!!
Thank you this works a treat. I have a raspbx install at home (asterisk pbx for raspberry pi), in fact I’ve put pivpn on this same device, and if I’m away from home with an OpenVPN client I can use a VoIP phone adapter to connect to the home pbx. Works much better than trying to forward sip ports, which is a nightmare.
So fantastic, this helped establish the core of my server project, very clear & concise for a newbie like me.
I decided to do this with an old Model B+ I had laying around, and went straight to this video. Thanks, Lon. Everything went great!
@1badhorsie about 5 Mb/s download (upstream from my house) which is about what my ISP gives me. It works great to check ip cameras and stuff like that! If I do a speed test, the pi's cpu would go to 100% but for small tasks it works just fine. I imagine a Pi 2 would be miles better.
Lon, this gave me the info and confidence to finally get mine running! Works great and I owe that to you! Thanks!
Excellent. You explained what Andres Spiers eluded to in his IOT stack video. Now I can VPN in Node Red Dashboard and manage my Power consumption. ESP32 WROOM, 4 current transformer ADC channels --> MQTTT --> Node Red -- Lovely gauges and charts .. WINNER
I wanna say thanks for sharing with us the VPN server setup on Pi !! I love it.
If you have a windows server you can also setup up PiVPN inside a virtual box. I did that a year ago and It's been working great. Did it that way because PiVPN was dirt simple to setup. I think Lon skipped over the part where it sits there for a while and generates the keys.
The 256 bit key generation is super quick (at least it was for me), the larger keys take longer.
Lon, another fantastic tutorial! Thank you for showing this. This is exactly what I was looking for!
As soon as we can leave our houses again, I’m going to set one of these up.
There are only a couple things which need an update. 1. With iOS 13/iPadOS, you can connect your device to external storage and/or connect to a NAS, so it’s a lot easier to eat your profile onto those devices.
The Raspberry Pi 4 has a dedicated Ethernet controller, so that speed limitation is no longer a problem.
I run headless raspbian strech on my Pi3 B, thanks for the video, helped me a lot
Thanks! Just got my first VPN going. For securely installing the profile on an iDevice, use the USB to drag to a Mac computer desktop. Then install the OpenVPN app on the iDevice. Then AirDrop the config file to your iDevice. OpenVPN will recognize and install the appropriate profile. Don't use Settings to establish your VPN. Use the OpenVPN app. Enjoy!
Nice setup man, I’ll set this up with my nas soon. ❤️
If you have a Netgear router, then you can use the free Netgear DDNS which does not require a renewal email confirmation every month. While many routers will also have a built in server, it is good to always have a backup VPN server for cases when one of the VPN ports might be blocked.
Brilliant video, so easy to follow. Thank you Lon. Subscribed.
You did very well with this Lon...I follow another channel that is heavy with pi content and he has done the same thing but in a six minute video. Nice that you took your time with it so others can follow in real time.
Which is that channel?
Lon! Great video. I would love to hear how this content resonates with your subscribers. I try to explain procedures like this and wonder if my message is lost because of the technical nature. Again, great job. I enjoyed it!
Thank you for the clear instruction. I always hesitate to set up a vpn server due to its complexity, but your video making this task painless. Thanks again!
I've been using PiVPN for a few years now. It's great!!!
Funny you make this video right after I setup PiHole and openVPN. I use the VPN aspect to block ads on the go for my phone, it works great.
No-ip is great, I get an email once a month to renew and that’s it. All free! Use this daily.
really? I could have sworn the last email i got them a few months ago saying they are no longer doing this for free.
Phuoc Tong I don’t recall getting any email, and I can confirm firm it’s still working for me and never am even added a cc to my account.
They require you to confirm every month. Use duckdns instead.
vd853 my Verizon router doesn’t have duckdns so I had to go with the options they supported. No-ip was the best in the list
@@MyTechGuyTim Then simply do not use your router to update your dynamic DNS service. When you have a Raspberry Pi running 24/7 you might just use that one for this job
Very good video, with every step explanation. I've tried to use some other manuals, but on the end I've uninstall all and start from scratch following this video. Everything works like a charm till laptop and mobile client run. Thanks a lot.
Hey Lon, great video as always.
i can reccomend wireguard instead of openvpn for a raspberry pi. its alot faster and pretty easy to setup :)
RISCV NEW PLATFORM OTHER THAN X86,ARM,
When setting the DNS provider; choose custom and enter your router IP address, that way any hostnames on your network can be resolved and you don't have to use their IP address to access them.
I have been using raspberry pi 3 as NAS and plex media server for a really long time. I think its time now to must have this vpn set up
Theres a RISCV. THAT LOOKS PROMISING .. GIVE IT A TRY $59
Awesome tutorial. Could I setup the same Pi to be a NAS too?
Mate! you just solved just about every question or thought I had about VPN. thanks very much and all this information for free.
14.00: As of my install on October 12th 2020; working with my Raspberry Pi 3 (running Raspberry Pi OS - All updates), at the point of inputting the User info, I had to make use of the following command, "pivpn ovpn -a" instead of "pivpn -a" Great tutorial! TY for the intro and help! :D
But, as of just now on the RPi4 with all current updates as of this writing, using "pivpn -a" works, with "pivpn ovpn -a" only listing the switch options list. :)
Hi Lon great vid as always. Have you looked at installing wireguard on a pi to use in the same way as pivpn. If so a video on that would be great. Many thanks from the UK
The latest incarnation of PiVPN has a wireguard option as default in addition to the openVPN solution.
WOW, very well done, from A-Z, setup to expected connection speeds from the outside. You covered it all with excellent explanations, descriptions, and examples. GOT IT!!!
Can you do this exact same video tutorial for the Raspberry pi 4, because now the Raspberry Pi 4 has a better CPU, more ram, and the Wifi is no longer bottlenecked to the USB bus!
Very Educational! :D
The commands are the same :)
This is the best explanation of OpenVPN I've seen yet. Thanks so much for posting this!
This is amazingly detailed. Well done!
Great video. But if all you need is encryption when using public WiFi, it's much easier to just set up SSH Dynamic Port Forwarding. Just run the included ssh server (sshd) on your pi, then on your computer, run "ssh -D 9001 myhomeaddress" or whatever. This creates a local SOCKS proxy listening on port 9001. Then you configure your browser or internet connection to use the SOCKS proxy on port 9001 at localhost. I've done this at hotels and coffee shops, works great. You still need to configure your router with port forwarding and dynamic DNS, though.
absolutely great guide, worked perfect, I salute you sir
You can use VNC Viewer to file transfer the OPN file onto your laptop, if you don't have an SD. If you have Microsoft Onedrive on your phone you can then download onto your internal storage on your phone. Great video really easy to setup.
Can you run your own VPN Server and Pi-Hole at the same time from a single Raspberry Pi 4B?
Yes. I have this setup myself. And it blocks ads away from the home network. Perfect setup. Just setup PiHole first and during the installation process of PiVPN it’ll ask if u want to use the PiHole for DNS.
@@AlmightyEye That's awsome definitely setting this up
Asus routers can run open vpn, it’s built into them. And Asus has a free DNS server. Have it setup but ‘everyone’ can tell I’m on a vpn like spectrum. They tell me either we detect a vpn and you’re not allowed to use our service or we can tell your not at home. Haven’t figured out what I’ve got set wrong. Nice video. Great Job.
Not exactly sure what your describing but it seems your ISP expects to see an endpoint and an IP where they installed the equipment when you use the VPN, ISP sees an unexpected endpoint or IP.
Is there a way to have an email sent to you when a user connects? Just as a security measure
You could use Python os module to run terminal commands periodically and email yourself based on that output. You can also, dependending on your internet mobile provider, send text messages for free to create custom alerts.
Btw, thank you for the idea!
I just finished configuring my server it worked!!! nice job , this will come in handy when not at home.
Thank you
Sorry, noob questions here: Does choosing higher encryption slow your internet down? Does this protect you from hackers?
Yeah the higher encryption will take more time to encrypt but will be safer yes.
Thanks!
Thank you Keith!
Hi LON, could you please also make a video on using Pihole AND PiVPN together.
I like your thinking. No ads at home OR away then! 👌
I must say that was wonderful and only PiVPN video which clears everything. Looks like a official setup and demo video like you made own made product. Good work.
Lon, I didn't know that Synology made their own Router? Can you or did you do a review of it? How does these compare to Linksys/Netgear, or the ISP cable modem/routers?
Check it out here! ua-cam.com/video/tfEZU115e98/v-deo.html
What an awesome and extremely detailed tutorial ! We need more of you on UA-cam , Sir.
After this set up , can you make a nas server with the same raspberry for your external hard disk if you don’t have NAS servers ?
Excellent detailed walkthrough. P.S. Love the ZX81! Your bookcase is a history of computing !
Boss with a Mac and a PC in the background ;)
and a Sinclair ZX81 ?
Love your delivery and although you repeat some information and make clarifications, you don't insult people's intelligence.
Hello Lon
Excellent video and detailed explanation. I got my working after fixing a couple mistakes I made in the process... from another hand, is it possible to have the pi connected to the router via Ethernet port instead of wifi?
Another good video that adds up to better understanding of networks and router functionality.
Its becoming more and more important to know about this these days ... 👍
Wait, wasn't the PiVPN project no longer supported? We should be looking for other alternatives, not installing PiVPN. (edit : someone pointed the project is supported again, and GitHubs confirms it as true)
Someone else picked up support for the project.
@@kcarmical You're right, I'm actually surprised as they mentioned they couldn't transfer ownership of the project. It's all for the best as I love to use PiVPN and dreaded to have to change to another VPN client.
I really hope you see this. I want to thank you for this easy guide! I did it and it works perfect!
I see a apple II GS behind you.
NICE!!!!
And a zx81
Well that's old history!!
I keep the motherboard
If you are going to send it to a friend, it's best to set up the ddns update in a cron job on the pi. The friend would still need to set up port forwarding (and assigned dhcp by its MAC address) in their own router.
Good stuff in every way shape and form!
This is very good content! I am surprised of all the details. I also like the fact that Lon does not check "remember me" checkbox like 99% of the users.
Does this block ads too? The main reason I want to get my own vpn
You can install Pi-Hole instead. There are several other videos on UA-cam on how to install and configure Pi-Hole.
He can install PiHole and PiVPN. I have this setup myself. PiVPN will route all DNS queries through PiHole and block ads away from home network.
hey can you setup your raspberry pie itself as the dns server in raspberry-openvpn if it lets say; is running dnsmasq and you have added the vpn interface to the dnsmasq conf file?
But you're located in a "5 Eyes" country, so the "security" holds very little to others than civilian...
Best explanation I’ve seen on VPN. Inspired me to use my mothballed PI3 and put to good use..
Don't know if it's said in previous comments, but transfer the certificates (~@15:00), when you only have shell command is a real pain in the ... . There is an elegant mean to do so, is to use any SFTP client (like fileZilla) on another LAN computer and grab all the file you need, no need to mount/unmount any media. Hope that helps.
Would the pi be able to run pivpn and pihole at the same time?
stab244 Yes. If you want your VPN traffic to go through the PiHole too then you will need to put it that DNS server on the setup page for DNS networks.
Great video! For transferring the certificate... another option is SFTP or another network file transfer protocol. The user is likely on the same network anyway.
ROMS folder eh? 🧐🤔
Sshhhhhhhhh!
these are his games. he is playing a lot with emulators and old games
Noobie here. What would be the advantage of doing this versus just running a cheap VPN service like IPVanish other than being able to remote into your own server?
Your basically giving your data too a third party vpn, in this the data stays in your rasberry pi
I THANK YOU IMMENSELY !!! Greetings from Colombia
This is actually better if you are running an ubuntu 17.04 installation
It is faster since the raspberry does not have fast processing capacity to read encrypted traffic.
It functions the same, but with a faster machine and more smoother.
The only point I see to setup vpn server on RPi is if your router doesn’t have a vpn server built-in and you already own RPi. I wouldn’t run out and buy RPi just for vpn purposes. For 35 bucks you can get a router that has ovpn or l2tp server built-in like MikroTik Routers. L2TP protocol doesn’t require any client apps to be installed on end devices since L2TP support is built-in to all platforms mentioned in this video. MikroTik Routers even have built-in DDNS name so you don’t need to obtain your own DDNS name
rPI is great for PiHole, which blocks ads across the network. I also used OpenVPN on the Pi to get adblocking over cellular.
Indeed some mikrotik routers have even hardware acceleration for l2tp, but ovpn is tcp only as i know, and no acceleration. And setup process just does not justify effort to learn detailed how to. While here it is simplified as much as possible, much more reasonable for non-pro network person
very good education on how to setup your own VPN - even goes beyond the Pi!
I got a VPN add prior to this video. I waited the 15 seconds and skipped it.
I also got a VPN ad prior to this video. I waited 15 seconds skipped it and closed the video and checked my ad blocker.
Not sure about iPhone, but with iOS 13+ (or iPadOS 13+ I guess), you can connect a thumb drive. Also, if you are coming from a Mac, you could use AirDrop to move the profile to the iPhone.
Hey just wanted to know if i can run the commands through SSH from my computer ...
Why not ?
SSH is just a remote terminal on your Pi. You will have to restart the SSH session after a reboot of the Pi.
It migh be easier to run the regular "remote desktop" from your Windows10, as then you get the Pi desktop up and running on your Windows 10.
The its just like having the Pi started with its own display desktop.
u can
Hey Lon, great video.
Got a quick note on the speeds, if you connect to your local network externally (via VPN) it will always be limited to your home UPLOAD speed. So in your case this was ~10 mbit.
"I'm going to start up the GUI, so that I can start up a terminal" Seems legit.
We do that when starting windows