It seems like you just installed duck DNS in a directory named "wireguard" then you deleted that directory, then created it again to install the wireguard docker-compose.yml? Am I missing something?
i re-recorded this a video a few times and got brain fart. the duckdns container should have gone in its own "duckdns" directory at home. the last take i ended up putting everything in a wireguard directory. i caught my mistake too late and to keep the video short i edited it out. no harm in putting everything in the wireguard directory. but that is why i removed it
Thank you, after struggling to get Wireguard working for the 5th time in 3 years :) I figured that the port on my router was incorrect (new ISP and router) !
Could not proceed further. I did google and everything but no luck. I am always getting this error. "ERROR: The Compose file './docker-compose.yml' is invalid because: Unsupported config option for services: 'duckdns'. Can anyone help me, what is this issue ?
Its hard to tell without looking at the configuration. You should double check the docker compose file with the docker compose file linked in the description for duckdns. .yml files are a pain because indentimg has to be perfect or it will be invalid too
Sir, have you even encountered the issue like: "WARNING: The requested image's platform (linux/arm64) does not match the detected host platform (linux/arm/v8) and no specific platform was requested", My Raspberry Pi 4 is "aarch64" but when I pulled the image, it says "pi4# docker pull linuxserver/duckdns Using default tag: latest latest: Pulling from linuxserver/duckdns no matching manifest for linux/arm/v8 in the manifest list entries" When I pull with option --platform=linux/arm64, this images is downloaded, but can not run. because the warning above. I am really curious that we have the same device(Raspberry Pi 4), but in your video I have not seen any slice of these issues.
sorry for the late reply, that is weird🤔🤔🤔, is the operating system installed on the Pi 64 bits? i know the Pi 4 has a 64 bit processor but there is a 32bit version of Raspberry pi os that will run fine on it, vould you check?
hi. i did everything in this video but sadly i get this error after command "docker-compose up -d" ERROR: -bash: docker-compose: command not found any idea?
This error message states that your system doesnt have docker-compose installed. You will need to install docker and docker-compose on your system to follow along. I did a video on installing
Stupid question. Now that I have all of this setup how would I access my mysql docker container from a remote network? I've been using BeaverDB but can't seem to access mysql outside of my network
Interesting and odd, so just to clarify, if you are outside of your home and you are trying to ssh into any machine in your local network, does it work? But if you try accessing a SQl database container with a sql client like dbeaver it fails?
@@codefallacy First of all, thank you so much for replying! Great videos! Currently I'm unsure, just got home but when I did try to access my pi from my laptop in school I was able to. However when I tried to put up the connection on DBeaver it didn't seem to work. However, I might be the issue to be fair. MySQL is in a docker container on the pi with all other running containers, might be relevant
@@lime90 ok, ill have to look into this, i switched to using wg-easy which manages alot of things and this isnt happening. Ill have to run a container like i did in this video and report back
Hi, I did everything in this video and I have one problem. When I use wireguard vpn I have no internet connection. Even when I set port forwarding or set dynamic dns on duckdns, I have a message that it is connected, but that didn't fix it, I don't know what I can do. Any tutorial can't solve this problem. I have a tp link Archer C80 router
Hey, im not too sure what the issue could be. Lets try a few debug steps. When connected to wireguard even though you dont have internet can you connect to local networks? For example, while connected to wireguard, are you able to access your routers login screen? Also double check to see if your router has a firewall enabled, if it does check that it isnt blocking wireguard
I followed this tutorial perfectly, no errors. But when I connect to the iPhone's mobile network it lets me access the local network, while if I connect to WiFi nothing works.
so, something I wanted to ask for clarification, when you did the speed test how much of an impact does the pi's hardware affect the speed? What's the speed difference between being connected locally vs using the vpn while still in the same location?
hey, it all depends on the network UPLOAD speed of the pi hosting the vpn. for the most part, if the connection is under 1gbps the pi hardware isnt the limiting factor but rather your upload speeds. i did a test while writing this comment on 4g network. without VPN i got 50mbps download a 10gbps download. once i activated the VPN i got 44mbps download and 9 upload. this is because my home network upload speed is now around 300mbps. i used to have gigabit speeds but im broke so i had to downgrade😂😂😂
following up on this, if i connect to my work network which is 500mbps i wouldnt be able to reach those speeds because my home network will only go up to 300mbps
which ip did you put in the port forwarding? the pi's / pi hole's / or something completely different? I'm lost as to why my wireguard connects but my ip doesn't change so I'm clutching at straws here :/
hey, sorry for the delay. nhis appears to be docker specific. but it could be many things. to help diagnose, how long does it take when you run the docker compose up command? what device are you using to set this up? how fast is your internet speed?
Very clear steps. Great instructor. I'm currently using tailscale and sometimes can't connect to my other local rpi. Is wireguard better in your opinion?
yes! i belive wireguard is better than tailscale. you arent using anyone else's server, just your own. if you dont want to do wireguard you could try cloudflare tunnels instead, it is similar to tailscale qnd doesnt require port forwarding but more secure
Port forwarding on my router is really complex I’m enable to access internet over the vpn, I’ve successfully setup the entire WireGuard vpn without any errors the only thing left is port forwarding so if u can help me with that I’ll be really happy and go ahead do my projects, thank you
if you have a static ip, you dont need to make the duckdns container. i would still do it jist in case, unless you are paying for a business connection, your ip may change after a few months
great video, so happy to be using docker on my raspberry pi, one problem when I set this up I can connect to the VPN on my phone and I can access stuff on my LAN but I can't access the internet, any idea what could be happening? edit: after doing some more testing it doesn't seem to be able to make DNS requests
It seems like you just installed duck DNS in a directory named "wireguard" then you deleted that directory, then created it again to install the wireguard docker-compose.yml? Am I missing something?
i re-recorded this a video a few times and got brain fart. the duckdns container should have gone in its own "duckdns" directory at home. the last take i ended up putting everything in a wireguard directory. i caught my mistake too late and to keep the video short i edited it out. no harm in putting everything in the wireguard directory. but that is why i removed it
I've seen a couple of your videos, it is really good to understand when you do a visual presentation of how things work, keep it up
Thank you, after struggling to get Wireguard working for the 5th time in 3 years :) I figured that the port on my router was incorrect (new ISP and router) !
your videos are solid and at the right level for beginners and those with some basic knowledge. kudos to your channel growth. 🎉
Thanks a lot, just bought a Raspberry Pi 5 and you helped me a lot setting everything up the right way! Thumbs up (y).
And another great video! Just subscribed :)
Could not proceed further. I did google and everything but no luck. I am always getting this error. "ERROR: The Compose file './docker-compose.yml' is invalid because:
Unsupported config option for services: 'duckdns'. Can anyone help me, what is this issue ?
Its hard to tell without looking at the configuration. You should double check the docker compose file with the docker compose file linked in the description for duckdns. .yml files are a pain because indentimg has to be perfect or it will be invalid too
Sir, have you even encountered the issue like: "WARNING: The requested image's platform (linux/arm64) does not match the detected host platform (linux/arm/v8) and no specific platform was requested", My Raspberry Pi 4 is "aarch64" but when I pulled the image, it says "pi4# docker pull linuxserver/duckdns
Using default tag: latest
latest: Pulling from linuxserver/duckdns
no matching manifest for linux/arm/v8 in the manifest list entries"
When I pull with option --platform=linux/arm64, this images is downloaded, but can not run. because the warning above.
I am really curious that we have the same device(Raspberry Pi 4), but in your video I have not seen any slice of these issues.
sorry for the late reply, that is weird🤔🤔🤔, is the operating system installed on the Pi 64 bits? i know the Pi 4 has a 64 bit processor but there is a 32bit version of Raspberry pi os that will run fine on it, vould you check?
hi. i did everything in this video but sadly i get this error after command "docker-compose up -d"
ERROR:
-bash: docker-compose: command not found
any idea?
This error message states that your system doesnt have docker-compose installed. You will need to install docker and docker-compose on your system to follow along. I did a video on installing
Stupid question. Now that I have all of this setup how would I access my mysql docker container from a remote network? I've been using BeaverDB but can't seem to access mysql outside of my network
Interesting and odd, so just to clarify, if you are outside of your home and you are trying to ssh into any machine in your local network, does it work? But if you try accessing a SQl database container with a sql client like dbeaver it fails?
@@codefallacy First of all, thank you so much for replying! Great videos! Currently I'm unsure, just got home but when I did try to access my pi from my laptop in school I was able to. However when I tried to put up the connection on DBeaver it didn't seem to work. However, I might be the issue to be fair. MySQL is in a docker container on the pi with all other running containers, might be relevant
@@lime90 ok, ill have to look into this, i switched to using wg-easy which manages alot of things and this isnt happening. Ill have to run a container like i did in this video and report back
@@codefallacy You really don't have to, haha. I think I am the issue since I'm very new to this. Thank you
@@codefallacy I did get it to work! Thank you so much, your videos are so helpful!
Hi, I did everything in this video and I have one problem. When I use wireguard vpn I have no internet connection. Even when I set port forwarding or set dynamic dns on duckdns, I have a message that it is connected, but that didn't fix it, I don't know what I can do. Any tutorial can't solve this problem. I have a tp link Archer C80 router
Hey, im not too sure what the issue could be. Lets try a few debug steps. When connected to wireguard even though you dont have internet can you connect to local networks? For example, while connected to wireguard, are you able to access your routers login screen? Also double check to see if your router has a firewall enabled, if it does check that it isnt blocking wireguard
I followed this tutorial perfectly, no errors. But when I connect to the iPhone's mobile network it lets me access the local network, while if I connect to WiFi nothing works.
this is weird. you should try to set pihole as the dns in the LAN i stead of WAN and see if that helps. let me know to further debug
so, something I wanted to ask for clarification, when you did the speed test how much of an impact does the pi's hardware affect the speed?
What's the speed difference between being connected locally vs using the vpn while still in the same location?
hey, it all depends on the network UPLOAD speed of the pi hosting the vpn. for the most part, if the connection is under 1gbps the pi hardware isnt the limiting factor but rather your upload speeds. i did a test while writing this comment on 4g network. without VPN i got 50mbps download a 10gbps download. once i activated the VPN i got 44mbps download and 9 upload. this is because my home network upload speed is now around 300mbps. i used to have gigabit speeds but im broke so i had to downgrade😂😂😂
following up on this, if i connect to my work network which is 500mbps i wouldnt be able to reach those speeds because my home network will only go up to 300mbps
which ip did you put in the port forwarding? the pi's / pi hole's / or something completely different? I'm lost as to why my wireguard connects but my ip doesn't change so I'm clutching at straws here :/
the local ip address of the raspberry pi
@@codefallacy thanks!
Great video 🎉
Bro How can I extract it as a file instead of a QR code. For example to use in laptop, Gi inet routers.
the QR code is just one option. you can copy over the peer.conf file instead which has the interface information to import it into a pc or router.
Great videos ! I got "context deadline exceeded" error while pulling duckdns, any idea how to proceed ?
hey, sorry for the delay. nhis appears to be docker specific. but it could be many things. to help diagnose, how long does it take when you run the docker compose up command? what device are you using to set this up? how fast is your internet speed?
Informative and to the point. thank you.
Thank youuuuuuuu I was setting this on portainer and couldn´t access to internet due to my port protocol was set TCP rather than UDP, thanks!!!!
Very clear steps. Great instructor. I'm currently using tailscale and sometimes can't connect to my other local rpi. Is wireguard better in your opinion?
yes! i belive wireguard is better than tailscale. you arent using anyone else's server, just your own. if you dont want to do wireguard you could try cloudflare tunnels instead, it is similar to tailscale qnd doesnt require port forwarding but more secure
Hi! Very dumb question sorry but before all of these steps did you have to install Docker on the raspberry pi?
Yes, this will rquire docker to be installed, but there are install guides without docker. I just used docker to make it simple
Port forwarding on my router is really complex I’m enable to access internet over the vpn, I’ve successfully setup the entire WireGuard vpn without any errors the only thing left is port forwarding so if u can help me with that I’ll be really happy and go ahead do my projects, thank you
what router do you have and what os the internet company you have? give me as mamy details as possible to help determine what the issue is
superb video brother
What if you have a static IP?
if you have a static ip, you dont need to make the duckdns container. i would still do it jist in case, unless you are paying for a business connection, your ip may change after a few months
Why not use `~/` instead of `/home/user_name`? because I don't know :shrug:
You can do whichever. These videos are tailored towards beginners. Absolute paths make it very clear where things are happening 🤷
great video, so happy to be using docker on my raspberry pi, one problem when I set this up I can connect to the VPN on my phone and I can access stuff on my LAN but I can't access the internet, any idea what could be happening? edit: after doing some more testing it doesn't seem to be able to make DNS requests
is your router properly port forwarding. if so check that the traffic type is UDP not not TCP. let me know if these help
Keep it up!
I think that tou don't have to make DuckDNS instead you just set this option to "auto" and wireguard will be checking public ip himself
Awesome, i didnt know thisn thank you for the feedback!
Nice!!!! Thanks
Nice!!
gracias amigo