Access Your Local Servers From Anywhere // Self Hosted VPN (Wireguard + Docker)

preview_player
Показать описание
This is how you set up your own vpn server to access servers and services running in your local network. The setup process is easier than ever! All you do is change a couple of options then you can start up the server! You can access the vpn server from your computer and phone!

Subscribe to see more tech content!

Discord Server:

My links:

 iOS Shortcut videos:

Contact me:
@MadhuKraft on Instagram and Twitter

Timestamps:
0:00 Intro
1:22 Copying the Docker Compose File
2:01 Creating the Docker Compose File
2:29 Changing Timezone
2:37 Server URL
2:44 Server Port
3:02 Peers (Users/Clients)
3:17 Peer DNS
3:37 Internal Subnet
4:27 Allowed IP Addresses
5:11 Volumes
5:43 Mapping the Port
6:24 Restart Rule
6:40 Saving the File
6:46 Starting the Docker Container
7:27 Adding More Users
7:45 Recreating the Docker Container
8:26 Locating the Client Configuration File
8:51 Transferring the Config File to Another Device
10:48 Outro
Рекомендации по теме
Комментарии
Автор

appreciate your walkthrough. i wanted to mention that all open ports on a network can be scanned very easily. obfuscating which port your vpn is running on isn't a bad idea, but it doesn't prevent someone from seeing what ports you have open on your network (i.e. nmap <ip> -p-). authentication procedures and firewalls must be considered when opening up your network to the outside world. just wanted to throw that out there, not trying to be a jerk

dylanhaugen
Автор

I love this video it’s not overwhelming with details just instructions on how to meet each checkpoint…..I have plans on using this same method except Im going to apply it to my external hard drive 2Tb and use kubernetes to help me manage the container then connect the vpn to my wsl……from this scenario I gave do you think I’ll run into any issues and do you feel I should include anything extra in my strategy to make sure the connection is consistently successful

therealbrilove
Автор

Thanks for a such video.How can i view connection logs and permit users only certain local subnets?

zamilmastaliyev
Автор

Could you show how to set up tailescale with Docker? I do not want to portforward

andrewshade
Автор

I have followed your steps and when i using wireguard client to connect this shows up "One or more endpoint domains could not be resolved." Any idea why?

kenxu
Автор

Extremely useful tutorial, got the server running and connected to it with my phone. question: can I use this VPN to shield my activity from my ISP?

KrazyKaiser
Автор

I tested wireguard in several scenarios, because of the docker network you will have a significant performance drop. The ideal setup is to have a docker setup for controlling the native wireguard install with a web application where from you can create and delete peers and also to have a sort of monitoring.

salapolivalenta
Автор

didn't quite understand if I need a particular OS for doing all of this. Can I have ubuntu server on my machine?

THESteveITA
Автор

Hi, I did everything like the video, no errors, everything is fine.
I add the config file in Wireguard, connections are there, but no internet, what to do ?

daniilzybailo
Автор

My client can establish a connection to my wireguard server but I can't access any devices on my home network. Don't you need to make a post up script with some iptables so the traffic can get out of the docker container and into the home network? Help please?

teddyruxpin
Автор

Tried installing this on a VPS i can connect to the wg server successfully but i can't browse the internet?

ignbrawn
Автор

Hi, with this method can i also access my pi with ssh or vnc outside my home network?

weathermanx
Автор

Hi do we need a DDNS service or it is working without the ddns ?

supernoob
Автор

I’m so lost on this vpn discussion so wireguard gives you an option to remote access your devices outside the network correct? But does it hide my IP like NordVPN I’m just trying to find a way to have NordVPN hide my IP and have a remote access vpn so I can use my jellyfin sever

InsaiyanTech
Автор

does I need to do port forwading from router too.

crazyforcomputers
Автор

Showing the apps for connecting like on android would have been nice.

matthewgaming
Автор

Is there any way to get the internet working while doing this? We are on a local network with no internet.

forfun
Автор

no configuration file provided: not found
what is the problem here

ksya
Автор

VPN is useful for bypassing local regulations

acg
Автор

Can you show us how to connect between different devices connected to the same VPN server?

sudoalex