Dude, I admire the production quality of your content! Given VPNs are a pretty beaten theme, you still take time to present the guide in a most easy to follow and easy to reference way. Big respecc, as always, Wolfgang
13:00 NOTE (applied to me and might apply to others) you need to change the line "use=if, if=eth0" the eth0 needs to be your ethernet adaptor (get it with "ip add" command". ex. mine was enp3s0, so had to change it to "use=if, if=enp3s0". Of course if yours is already eth0 then no need to change. Other than that everything worked! Thanks for the great and comprehensive tutorial!
Had a bit of a hard time getting it to work. Oddly enough, the thing that finally made mine work was to turn off IPv6 on the raspberry. Worked immediately after I did that. Just FYI for everyone else out there.
You can also integrate pihole into the system. That way you have an ad blocker at the router level. You can adapt pihole to be recursive DNS so that your DNS queries disappear.
Hi Jonas, can you expand on that more please? I'm currently running a RPi Pihole on my network as my DNS server, and am also looking to install a VPN on the RPi so I can safely connect to public wifi networks. If I follow this tutorial to get the VPN up, is there anything I need to change on the Pihole? Thanks.
@@TRD_Mike Hi Mike, I haven't setup the VPN but in a part of the video you are given the option to set a DNS server. I recon you can from there set a IP address of your PI hole
@@thegoldenmoss7756 actually yes, plus at least in the phone in wireguard you must insert the ip of ur pi hole as dns server in the vpn settings. For the phone works, i think u should do the same with the pc
That is if your router even allows you to change your DNS settings. Unfortunately for me, my router has its DNS settings hardcoded for 'security purposes'. Thanks a lot, comcast.
I remember making my own VPN with help of a friend in Canada by sending him a RPI2 that i had laying around. It still works even though she moved out about a year ago.
I've had a wireguard setup for my home for a couple years now. Rather than a raspberry pi or dedicated computer I used our router. We're using an Ubiquiti EdgeRouterX. Its a small but decently pretty full featured $60 router and Wireguard has been ported to it for quite some time now. Once installed the configuration of each device profile can be done through the webGUI. Obviously only really an option if you're okay with your router and wireless access point being separate devices, but that's generally a good idea to begin with.
Yes!!! On the second attempt it worked flawlessly. So good using Powershell instead of Putty. There is a confusing part where setting ddclient true/false. I just had to ignore your narration and set it as you had it on screen. I use my VPN to wake on LAN my PC from being completely turned off then remote access it with teamviewer and then shut it down. Access or start my plex server for friends when travelling for work using motels protected wifi which wont allow it. Hopefully my dynamic dns works rock solid and I wont even need to access the rp3 for ages. Love an elegant solution. Ethernet and power. So good
Thanks for this, Wolfgang. Used a RPi 3B+ running RPi OS Lite (64-bit). Works perfectly. Noted that Nyr's install script seems to be updated from the time you made this video; it differs slightly, but straightforward nevertheless. Cheers!
Amazing how we live in a world where a great number of advanced features have to be taken from citizens bc the bulk of individuals using said advanced features are shitty criminals abusing their privileges...
well getting the DDClient configured ended up being something of a nightmare but as soon as I cracked that my new vpn is running perfectly, thank you for the very useful tutorial
Nice project. One of the coolest aspect of studying network engineering and Network Security. Really blessed but you should expect your audience are pretty linux-ish at this point. So why not use Bash?
Hello, i have a raspberry pi 5, and i did everything as exactly said, when i enable wiregaurd on my iphone with data connected, nothing loads as if i have no internet, ive also set up port forwarding correctly to my knowledge, is there any way to contact you through social to help me out please?
When I subscribed I didn't expect to find THAT much useful stuff here and I already loved your channel, imagine how much I love it now! Not in my wildest dreams could I imagine that I found essentially a one stop shop for a beginner/pre-DevOps stuff. Love you, bro❤
Great Stuff Wolfgang. Ended up noticing my router had an inbuilt VPN server option for wireguard, while trying to setup portforwarding. My kind advice to folks is to check if your router has an inbuilt VPN server option, before you try to re-invent the wheel.
Thanks for the video. Now I know why my Raspberry Pi didn't work with solar power. I put it on my roof now instead of the window ledge, hope it works 🤞👌
I think it's great that german telekom now has wireguard built in on their latest speedport routers. You just need a dynamic-dns service and with literally a click of a button you have a vpn. The only problem i could think of, is that it is single-user only.
Man, I wish this homegrown solution could be used for sharing all of my favorite Linux distros. But I do not live in Holland. Maybe I'll give the self hosting via VPS provider a shot! Thanks for your understandable and accessible videos!
Hello Wolfgang, thank you for trhe Tutorial. Sadly i got stuck at the Dynamic DNS. 13:39 - I get no warning when checking the status of the ddclient and in the file default ddclient there is no entry for run daemon. I truied with out it and also with the same as you showed in the video. both ways the ip at freedns wont change from 0.0.0.0 to mine. Can you help me? Thank you.
Hi I tried your method of checking the dynamic IP assignment using the dummy address 0.0.0.0., and it doesn't work upon refreshing the webpage after I followed your instructions did the whole editing of ddclient.conf file and did a systemctl restart ddlcient
I got it - so what you do is first 1. just unplug the ethernet cable that connects to your Raspberry Pi 2. then do the sudo nano/etc/ddclient.conf then make sure you change the "use=if, if=eth0" to "use=if, if=wlan0" 3. also make sure all of your login credentials and website credentials are correct 4. now do the sudo nano/etc/default/ddclient 5. add run_daemon="true" at the end of the command line (if it isn;t there which was the case for me) set the daemon time to "300" instead of "5m", and make sure everything is false other than the run_daemon time 6. it should work now, this is why I did I hope it helps!
Thanks for showing the how to test. I followed another tutorial and at the end was just, "alright its done" without more explanation. As simple as it is never thought to use my phone to test.
Awesome video, I'm gonna get this setup on my RBP4 very soon. Quick question though, I've gained interest in the adblock service that can be setup on a RBP too, is it possible to have both installed and fully functioning at the same time?
Yo man you did an outstanding job on making this video. It really help me understand the basics of VPN's and I will continue furthering my knowledge on it. Keep up the great content.
hey, thank you for this detailed tutorial and east to follow tutorial. I will definitely try at first chance I get and I believe it will work in first try. But before I try I was wondering will the port-forwarding cause a security breech in my home network and what can I do to secure it ? thank you in advance.
13:17 Looks like they updated the ddclient config file, it no longer has the "run_daemon" option (the others appear to be identical). Can it be simply added, or is the daemon controlled elsewhere now?
@@technics1911 sadly, no. I went ahead and added it, but the setup did not wind up working properly in the end. I'd appreciate an update if you wind up figuring it out 💪🏼
i almost spat out my coffee when I saw that you had made 1.3M euro on one video, I was abut to ask how on earth you got a $100 CPM. it took me a good 30 seconds to realize lol.
Just discovered your channel, amazing stuff and very well explained. I'm unsure if requests are accepted, but could it be possible to extend this video, and also explain how to add a secure mail server with email encrypting? Is that something feasible in the Pi?
Thanks for a very informative video! Would very much like to know the reason you didn't just use PiVPN as a server, which would seem to be much less work.
@@WolfgangsChannel Also the part where the dynamic DNS is managed on the RPi is cool, because I've always tried to get the router to do that. Sadly, many routers don't have a DynDNS service or only support a specific provider. Then again, You probably already had a number of services running in your home network with an open port to the internet. Do you have each of them managing their own dynDNS? Surely not all of them have the OS that allows that?
I didn't know what VPN meant, so its usefulness went right over my head. Forgive me if I still don't get it right. I think a VPN allows you to access your own network from anywhere outside it. Furthermore, besides being able to access the devices in your home, you can have members and share your work between each other. And most importantly, you can keep everyone else out; it's all encrypted.
Hey Wolfgang. Love your channel, best content on niche projects by far. Would you be open to making a video on turning a Pi into a VPN enabled wifi access point? The use case is compelling- American netflix on devices like Chromecast that don't support VPN apps installed locally. There are a handful out there on YT but they're mostly trash
I followed the tutorial exactly and made it all the way through without issues until the end. I added the wireguard tunnel on my iphone and it connects but then I have no internet connection to do anything at all. The second I turn off the VPN I am able to use internet again. Any idea why it is doing this?
@@WolfgangsChannel I am more than grateful for the uploads that you put up on this platform and for the time and effort you put into making them. Many thanks for all that you do Wolfgang and keep up the awesome work! :)
I came here right after listening to some sea shanties and you are suggesting sea shanties to me. Wtf. It was the first time in my life I listened to that type of thing.
When I connect to my vpn on my phone I don't have any internet acces, what did I do wrong? I have enabled port forwarding and I am using a ASUS RT-AC87U router.
Great video, thanks. My main intention in watching this was to see if it would change my IP. You see I was banned from twitch for some comment about a game character ( not the twitcher ) and a moderator banned me for 30 days.This VPN thing obviously would not work. So looks like I change ISP's and create a new account on twitch or just wait the 30 days. Ya I challenged the ban with twitch but they did not respond. I bet no one reads this but at least I get to practice my typing.
At 13:39 i am getting a 'Warning: file /var/cache/ddclient/ddclient.cache, line 3:invalid value for keyword 'ip'=' ' error how can i solve that? trying to modify directly the cache file? (i have to change permissions for that)
After trying aeverthing for almost one week, I am giving up on the project. I simply do not get the ddns updated after a restart. I did the tutorial step by step - does not work. :-(
Can you please comment on this @WolfgangsChannel? I just saw your video with Ansible playbook and in that it seems you are hosting a vps service and that looks really secure.
Wolfgang so with pfsense I can setup all my internet to go through it and would that not allow ISP to see my traffic? Ive setup pfsense before even Wireguard with mulvad so just wondering if I can bypass vpn provider and leak of data
So, just to be clear: if I self-host something like a cloud at home, making it accessible via VPN like shown in this video is safer than just making that same cloud itself accessible to the internet directly, did I get this right?
Did you find a solution? It happens to me also, I can connect to the VPN and have internet access through outside my home, but if I try to connect to the VPN connected to my home network I cant. Thanks men
this video still works and was very easy. the only thing is that my IP did not get updated automatically, so I had to change it to my real IP and it worked
Hey quick question: Did you write the site for your selfhosted services yourself, or is there some sort of easy solution out there? My plan for now is to host a simple python flask site from the raspberry and controll my home network that way. But if there is a better / simpler option please let me know ^^
One of my main reasons to use a VPN is that my work's WIFI blocks access to most things, It seems they have a whitelist and I cannot access my own websites/servers or even my custom email.
I have an old netbook with Peppermint OS which have not used in a while so can change to Raspbian and give it a try. Sounds like a good weekend project. Also want to try that pi hole thing. Great video, thumb up for you my friend.
Helicopter that's for the reply, but mind if I ask one more question. I'm really thinking about this VPN stuff since I will be running a webserver from my main PC computer (VM), and since I heard that VPN's take alot of cpu power, as I'm sure just running the VPN the pi could handle that, but a multi webserver I don't think so, as I even have model 4 pi. So would this work to protect my webserver: the WAN cable coming into a switch (unmanned), with one line going to my pi then wifi my main computer to that? Or just use the router listed below and using VLAN ?
Wait….. in the dynamic dns section (starts at 10:47), I don’t understand, why do you have to install and run ddclient? Since you are using the ddns service through “afraid” shouldn’t they be the ones updating the ip address for the domain name? Or am i understanding this all wrong? Can someone please answer?…….
@@WolfgangsChannel Thanks for replying. That’s quite interesting. I was confused because I am currently using a ddns service through tp link router and all I had to do was initially just sign up for it and it updates the ip address automatically.
If your IP address does not update:
13:01 Replace `use=if, if=eth0` with `use=web, web=dynamicdns.park-your-domain.com/getip`
whats a selhofsted vpn
How do I have to set it up if I have a static public ip and I want to skip the dns part?
@@francescoatria1086 Skip the DDNS part and when asked about your public hostname in the script, enter your IP address.
@@WolfgangsChannel i have to skip the dd client istallation as well?
@@francescoatria1086 yes you would since ddclient is only used for updating your IP for use with "forwarding".
Dude, I admire the production quality of your content! Given VPNs are a pretty beaten theme, you still take time to present the guide in a most easy to follow and easy to reference way. Big respecc, as always, Wolfgang
It's no need for a pogchang.
yeah, he even edit JoJo in it
13:00 NOTE (applied to me and might apply to others) you need to change the line "use=if, if=eth0" the eth0 needs to be your ethernet adaptor (get it with "ip add" command". ex. mine was enp3s0, so had to change it to "use=if, if=enp3s0". Of course if yours is already eth0 then no need to change. Other than that everything worked! Thanks for the great and comprehensive tutorial!
Which line was this on?
@@vietsmiley 15
or "use=if, if=wlan0" if using wifi instead of ethernet
Thanks that worked!
This helped a lot. Thank you!
Had a bit of a hard time getting it to work. Oddly enough, the thing that finally made mine work was to turn off IPv6 on the raspberry. Worked immediately after I did that. Just FYI for everyone else out there.
How to do it pls
Also, turning off IPv6 worked for me too!
Did you disable IPv6 on the pi? Then it works immediately?
@@ddaland Might need to sudo reboot.
@@PerfectorZY I actually rebooted, but it still doesn't work :(, it's like I can connect to the VPN, but it has no internet connection
9:32
Not “Command/Control+Shift+C”, but rather “Cmd/Ctrl+Shift+V”. For the folks, who are using Terminal for the first time :)
Yep 😁 Not sure how I missed that. Thanks
Doesn't shift thing is specific to Gnome terminal?
Every terminal that I've used on Linux (apart from xterm derivatives) uses Ctrl+Shift+C/V
@@marknefedov такая же штука в st и Konsole, на моей памяти
or Shift+Insert =)
You can also integrate pihole into the system. That way you have an ad blocker at the router level. You can adapt pihole to be recursive DNS so that your DNS queries disappear.
Hi Jonas, can you expand on that more please? I'm currently running a RPi Pihole on my network as my DNS server, and am also looking to install a VPN on the RPi so I can safely connect to public wifi networks. If I follow this tutorial to get the VPN up, is there anything I need to change on the Pihole? Thanks.
@@TRD_Mike
Hi Mike,
I haven't setup the VPN but in a part of the video you are given the option to set a DNS server. I recon you can from there set a IP address of your PI hole
@@thegoldenmoss7756 actually yes, plus at least in the phone in wireguard you must insert the ip of ur pi hole as dns server in the vpn settings. For the phone works, i think u should do the same with the pc
That is if your router even allows you to change your DNS settings. Unfortunately for me, my router has its DNS settings hardcoded for 'security purposes'. Thanks a lot, comcast.
@@adriatical9016 security purposes = bro I have to track every move you do so I can send you relevant ADs and make money
Works like a dream 2 years later Thank you so much for this
If you hate vaccines so much, why don't you enjoy getting the polio antiease?
Why do you hate vaccines?
I remember making my own VPN with help of a friend in Canada by sending him a RPI2 that i had laying around. It still works even though she moved out about a year ago.
This was the only tutorial in the world that actually worked for me! :O
I like the way you breakdown these topics and go over the process so thoroughly while keeping it perfectly concise enough to understand.
I've had a wireguard setup for my home for a couple years now.
Rather than a raspberry pi or dedicated computer I used our router. We're using an Ubiquiti EdgeRouterX. Its a small but decently pretty full featured $60 router and Wireguard has been ported to it for quite some time now. Once installed the configuration of each device profile can be done through the webGUI.
Obviously only really an option if you're okay with your router and wireless access point being separate devices, but that's generally a good idea to begin with.
Agree! I use my ASUS router as an OpenVPN server. Works fine when I am away from home and want to access stuff on my home network.
mikrotik router works fine as a vpn server to home network as well )
who cares man
@@vivarantx 13 people and your mom.
accessing my home network remotely is what I use ssh tunnels for, but your solution is way more streamlined. Thanks for sharing
Howwww
Yes!!! On the second attempt it worked flawlessly. So good using Powershell instead of Putty. There is a confusing part where setting ddclient true/false. I just had to ignore your narration and set it as you had it on screen. I use my VPN to wake on LAN my PC from being completely turned off then remote access it with teamviewer and then shut it down. Access or start my plex server for friends when travelling for work using motels protected wifi which wont allow it. Hopefully my dynamic dns works rock solid and I wont even need to access the rp3 for ages.
Love an elegant solution. Ethernet and power.
So good
Thanks for this, Wolfgang. Used a RPi 3B+ running RPi OS Lite (64-bit). Works perfectly. Noted that Nyr's install script seems to be updated from the time you made this video; it differs slightly, but straightforward nevertheless. Cheers!
To answer your question about residential ISP blocking mail servers on their network it's to prevent people from hosting spam email servers.
Yeah, that actually makes sense
@@WolfgangsChannel Indeed, but still annoys the heck out of me... ;)
Amazing how we live in a world where a great number of advanced features have to be taken from citizens bc the bulk of individuals using said advanced features are shitty criminals abusing their privileges...
@Craig Whitley no we just need to have fewer laws all together. we need less government interference
well getting the DDClient configured ended up being something of a nightmare but as soon as I cracked that my new vpn is running perfectly, thank you for the very useful tutorial
The self-hosted dashboard is called Homer: github.com/bastienwirtz/homer
Nice project. One of the coolest aspect of studying network engineering and Network Security. Really blessed but you should expect your audience are pretty linux-ish at this point. So why not use Bash?
@@codenoob9325 what do you mean? I'm already using bash to configure stuff on the raspberry pi
Hello, i have a raspberry pi 5, and i did everything as exactly said, when i enable wiregaurd on my iphone with data connected, nothing loads as if i have no internet, ive also set up port forwarding correctly to my knowledge, is there any way to contact you through social to help me out please?
When I subscribed I didn't expect to find THAT much useful stuff here and I already loved your channel, imagine how much I love it now! Not in my wildest dreams could I imagine that I found essentially a one stop shop for a beginner/pre-DevOps stuff. Love you, bro❤
A can't wait for the PlayStation 1 version of the video!
Still waiting for version for my Amiga 1500
Great Stuff Wolfgang.
Ended up noticing my router had an inbuilt VPN server option for wireguard, while trying to setup portforwarding.
My kind advice to folks is to check if your router has an inbuilt VPN server option, before you try to re-invent the wheel.
Thanks for the video. Now I know why my Raspberry Pi didn't work with solar power. I put it on my roof now instead of the window ledge, hope it works 🤞👌
HHKB with the space bar flipped is absolutely and utterly based
I think it's great that german telekom now has wireguard built in on their latest speedport routers. You just need a dynamic-dns service and with literally a click of a button you have a vpn.
The only problem i could think of, is that it is single-user only.
Hands down, one of the best video on Pi VPN on the internet.
Man, I wish this homegrown solution could be used for sharing all of my favorite Linux distros. But I do not live in Holland. Maybe I'll give the self hosting via VPS provider a shot! Thanks for your understandable and accessible videos!
After 2 days of following this guide, I finally got it. Thank u
Hello Wolfgang, thank you for trhe Tutorial. Sadly i got stuck at the Dynamic DNS. 13:39 - I get no warning when checking the status of the ddclient and in the file default ddclient there is no entry for run daemon. I truied with out it and also with the same as you showed in the video. both ways the ip at freedns wont change from 0.0.0.0 to mine. Can you help me? Thank you.
same goes for me.
Same here, any chance someone found an answer?
Same issue here. The only thing I could find online was something about HTTP needing an update to 1.1 but have no clue what that means yet.
found a way?
@@Rahul166 anything?
Great video bud. I was actually looking for a video to give me the steps but also explains why are we doing what we are doing.
When you connect to your self-hosted network services (the Secret 5G Corona test site), what kind of dashboard is it? it looks very neat.
It's called Homer
@@WolfgangsChannel Thanks man. Your videos are great, very interesting and well explained. Keep up the good work!
Wolfgang's Channel how to even google it?
@@ioritzpaulis or if you really want to look on github, Google - site:github.com homer
You have a gift as a teacher. Detailed and in order.
After literally months of putting this off, I finally was able to get it to work.
Thanks so much for the detailed video!
how did it work. My VPN connects but as i turn my mobile data on i cant connect to the internet:/
@@Wolf_Of_Wallstreet Hey did you ever find a fix for this? I am running into the same issue
Did you find the fix for this??
Thank you so much! I hadbeen trying to get wire guard on a pi for so long without success, yours is the first detail explanation.
Hi I tried your method of checking the dynamic IP assignment using the dummy address 0.0.0.0., and it doesn't work upon refreshing the webpage after I followed your instructions did the whole editing of ddclient.conf file and did a systemctl restart ddlcient
Have you solved the problem? Im on the same boat.
@@ashureg1354 try stopping it
Same, don’t know how to figure it. Debug shows get-ip: using if, eth0 reports “local IP address”
Same here. Did you solve it?
I got it - so what you do is first
1. just unplug the ethernet cable that connects to your Raspberry Pi
2. then do the sudo nano/etc/ddclient.conf
then make sure you change the "use=if, if=eth0" to "use=if, if=wlan0"
3. also make sure all of your login credentials and website credentials are correct
4. now do the sudo nano/etc/default/ddclient
5. add run_daemon="true" at the end of the command line (if it isn;t there which was the case for me)
set the daemon time to "300" instead of "5m", and make sure everything is false other than the run_daemon time
6. it should work now, this is why I did I hope it helps!
Thanks for showing the how to test. I followed another tutorial and at the end was just, "alright its done" without more explanation. As simple as it is never thought to use my phone to test.
0:14 love your estimated revenue 😂
Excellent. Thank you. This semi-retired inorganic chemist needed a noobs vpn.
Hello sir, how do i set this up on my smart fridge??
Or you could not use a smart fridge. Don't you know they run botnets? Just watch Silicon Valley. ;-)
This is explained so precisely... It could have saved me hours of sarching google, if all raspi projects were covered like that...
Лучший Линукс-мальчик снова выпустил прекрасный ролик
Время заварить чайку и начать строить -калмуни- домашний ВПН
**is unable to read message**
"Ah yes, agreed good sir. Take my like"
**sips tea**
@@godspoon I highly appreciate you, sir!
@boy lasagna LMAO what's funny is, I didn't look up the translation whatsoever but yet we both mention drinking tea
Actually one of the most useful videos that I've seen on youtube in a long time!
*video starts
Me: Interesting
Me: Interesting
Me: Interesting
*You need port forwarding
Me: sh*t !
Thanks alot for showing wireguard-install script! FInally it worked as expected :D
Awesome video, I'm gonna get this setup on my RBP4 very soon. Quick question though, I've gained interest in the adblock service that can be setup on a RBP too, is it possible to have both installed and fully functioning at the same time?
Yep, you could install both Wireguard and Pihole in your RP4. Later just configure the DNS primary address to point to your RP4's IP address.
Yo man you did an outstanding job on making this video. It really help me understand the basics of VPN's and I will continue furthering my knowledge on it. Keep up the great content.
hey, thank you for this detailed tutorial and east to follow tutorial. I will definitely try at first chance I get and I believe it will work in first try. But before I try I was wondering will the port-forwarding cause a security breech in my home network and what can I do to secure it ? thank you in advance.
13:17 Looks like they updated the ddclient config file, it no longer has the "run_daemon" option (the others appear to be identical). Can it be simply added, or is the daemon controlled elsewhere now?
Noticed the same. Do you have any solution meanwhile? It's not working for me. The DNS stays at 0.0.0.0
@@technics1911 sadly, no. I went ahead and added it, but the setup did not wind up working properly in the end. I'd appreciate an update if you wind up figuring it out 💪🏼
i almost spat out my coffee when I saw that you had made 1.3M euro on one video, I was abut to ask how on earth you got a $100 CPM.
it took me a good 30 seconds to realize lol.
I still didn't get it!
@@scriptkiddie6151 He edited the website so it says 1337 then 420 and 69, it's a meme number
I have a Pi at home that runs my UMS media server, this will be a great way to make it accessible when I'm away from home!
Just discovered your channel, amazing stuff and very well explained. I'm unsure if requests are accepted, but could it be possible to extend this video, and also explain how to add a secure mail server with email encrypting? Is that something feasible in the Pi?
worked like a charm, now I have home vpn on all my devices 😎 very useful to access my cctv and other local only devices!
Thanks for a very informative video! Would very much like to know the reason you didn't just use PiVPN as a server, which would seem to be much less work.
You would still have to set up port forwarding, flash the image to the SD card and set up dynamic DNS, and that’s what takes the most time
@@WolfgangsChannel Also the part where the dynamic DNS is managed on the RPi is cool, because I've always tried to get the router to do that. Sadly, many routers don't have a DynDNS service or only support a specific provider.
Then again, You probably already had a number of services running in your home network with an open port to the internet. Do you have each of them managing their own dynDNS? Surely not all of them have the OS that allows that?
I only have one home server which runs ddclient
@@WolfgangsChannel does that mean your home Server also runs the DHCP Server? And is it the Raspberry Pi or a different Machine?
@@bennypr0fane No, I have a FritzBox router for that. I use an Intel J4105 machine for all of my home server needs.
This is an original content Wolfgang!! THANKS !! DANKE !!
I didn't know what VPN meant, so its usefulness went right over my head.
Forgive me if I still don't get it right.
I think a VPN allows you to access your own network from anywhere outside it.
Furthermore, besides being able to access the devices in your home, you can have members and share your work between each other.
And most importantly, you can keep everyone else out; it's all encrypted.
I already had everything setup except for the actual tunnel so i just watched the last 2 minutes and that was really quick and easy :) great tutorial
Hey Wolfgang. Love your channel, best content on niche projects by far. Would you be open to making a video on turning a Pi into a VPN enabled wifi access point? The use case is compelling- American netflix on devices like Chromecast that don't support VPN apps installed locally. There are a handful out there on YT but they're mostly trash
Is not posible to connect a device to the VPN created on the video and access to American Netflix?
easier than conventional modes. Thanks mate!
Just one question, WHAT?
I followed the tutorial exactly and made it all the way through without issues until the end. I added the wireguard tunnel on my iphone and it connects but then I have no internet connection to do anything at all. The second I turn off the VPN I am able to use internet again. Any idea why it is doing this?
You should consider uploading to Odysee too!
I LOVE the videos you upload and I definitely look forward to any and all new videos you upload. I just wish you would upload MORE lol!
This channel is a one-man show and I upload as often as the time allows 🙃
@@WolfgangsChannel I am more than grateful for the uploads that you put up on this platform and for the time and effort you put into making them. Many thanks for all that you do Wolfgang and keep up the awesome work! :)
1.4M views 88.8 h watch time
I see what you did there
Oh no, that one was actually an accident
I'm not *that* kind of a Linux youtuber
@@WolfgangsChannel Great to hear, it was pretty unexpected from you
@@WolfgangsChannel Thank god. We don't need more cryptofascist linux youtubers.
I came here right after listening to some sea shanties and you are suggesting sea shanties to me. Wtf. It was the first time in my life I listened to that type of thing.
Lol 1337 420 69
Revenue and IP. What a lucky guy
When I connect to my vpn on my phone I don't have any internet acces, what did I do wrong? I have enabled port forwarding and I am using a ASUS RT-AC87U router.
hey did you find a fix for this? i'm facing the same issue
@@fakeaccount2438 two of us
The quality of your video is great!
Great guide and easy to follow. Thank you.
Works great. Thank you for the simple easy to follow guide.
so, when I try to edit the ´/etc/default/ddclient´file, there is no option for ´run_daemon`? what did I do wrong?
Add the line yourself at the end of the file
Cool vid! Is there any way I can use this with my TV? And also, how do I use the feature where I can change my location?
What differs if I use pihole with unbound already?
Any idea mate ? I have unbound set as a recursive server with PiHole on mine and was thinking the same thing ?
Thank you for an amazing video and very detailed step by step description. Am going to try it out. Thank you for putting this up.
Great video, thanks. My main intention in watching this was to see if it would change my IP. You see I was banned from twitch for some comment about a game character ( not the twitcher ) and a moderator banned me for 30 days.This VPN thing obviously would not work. So looks like I change ISP's and create a new account on twitch or just wait the 30 days. Ya I challenged the ban with twitch but they did not respond. I bet no one reads this but at least I get to practice my typing.
At 13:39 i am getting a 'Warning: file /var/cache/ddclient/ddclient.cache, line 3:invalid value for keyword 'ip'=' ' error how can i solve that? trying to modify directly the cache file? (i have to change permissions for that)
After trying aeverthing for almost one week, I am giving up on the project. I simply do not get the ddns updated after a restart. I did the tutorial step by step - does not work. :-(
same
I solved the Problem by using Tailscale. Really good. Simple, reliable and free.
password dont work @9:43
@Wolfgang I get this message when checking the status Starting LSB: Update dynamic domain name service entries...
please help
This is Gold! Instant like, instant subscribe after watching this!
How secure is this?
Should one be using failban/ufw or anything else for making this more secure?
Can you please comment on this @WolfgangsChannel? I just saw your video with Ansible playbook and in that it seems you are hosting a vps service and that looks really secure.
Wolfgang so with pfsense I can setup all my internet to go through it and would that not allow ISP to see my traffic? Ive setup pfsense before even Wireguard with mulvad so just wondering if I can bypass vpn provider and leak of data
At 02:50 there is a screen with all the applications listed. What is that? How do I create one for my setup?
This tutorial worked perfectly, thank you for the great video!!!
Hi, first of all thank you for this beautiful video.
I have a question: how do i add a tunnel config? i want one for my phone and one for my laptop.
So, just to be clear: if I self-host something like a cloud at home, making it accessible via VPN like shown in this video is safer than just making that same cloud itself accessible to the internet directly, did I get this right?
definitely doing this after my move so I can watch Rugby from California.
Im having issues with not being able to browse the internet or connect to local machines even though the tunnel is "successfully connected"
Did you find a solution? It happens to me also, I can connect to the VPN and have internet access through outside my home, but if I try to connect to the VPN connected to my home network I cant. Thanks men
Bro ur contents are really awesome 😍
this video still works and was very easy. the only thing is that my IP did not get updated automatically, so I had to change it to my real IP and it worked
thanks for the tutorial. We'll see who's now the smarter guy mr netflix
MINUTE 12:31 what IP are you putting there? the home wifi or which one? thanks in advance :)
Hey quick question: Did you write the site for your selfhosted services yourself, or is there some sort of easy solution out there?
My plan for now is to host a simple python flask site from the raspberry and controll my home network that way. But if there is a better / simpler option please let me know ^^
I'm using Homer: github.com/bastienwirtz/homer
massive thanks, I myself went with a cron job running on my Pi - but other than that, went perfectly!
One of my main reasons to use a VPN is that my work's WIFI blocks access to most things, It seems they have a whitelist and I cannot access my own websites/servers or even my custom email.
Hey folks, what do you think of installing this on an older Raspberry Pi? At what version do you draw the line?
I have an old netbook with Peppermint OS which have not used in a while so can change to Raspbian and give it a try. Sounds like a good weekend project. Also want to try that pi hole thing. Great video, thumb up for you my friend.
Yep, they have it for x86 systems as well, it's very easy to use
Amazing! Thank you so much, Wolfgang!
Helicopter that's for the reply, but mind if I ask one more question. I'm really thinking about this VPN stuff since I will be running a webserver from my main PC computer (VM), and since I heard that VPN's take alot of cpu power, as I'm sure just running the VPN the pi could handle that, but a multi webserver I don't think so, as I even have model 4 pi. So would this work to protect my webserver: the WAN cable coming into a switch (unmanned), with one line going to my pi then wifi my main computer to that? Or just use the router listed below and using VLAN ?
Very slick. I like it! Thanks for this tutorial.
Wait….. in the dynamic dns section (starts at 10:47), I don’t understand, why do you have to install and run ddclient? Since you are using the ddns service through “afraid” shouldn’t they be the ones updating the ip address for the domain name? Or am i understanding this all wrong? Can someone please answer?…….
Yes, but they need to know what IP your currently have. ddclient basically sends that to them
@@WolfgangsChannel Thanks for replying. That’s quite interesting. I was confused because I am currently using a ddns service through tp link router and all I had to do was initially just sign up for it and it updates the ip address automatically.
thanks for the video. do I have to secure my Pi with firewall/fail2ban etc because of the open port?
How would you adjust the instructions in order to have 2 vpns own the same network specifically the port forwarding?