How To Build Your Own Wireguard VPN Server in The Cloud

Sdílet
Vložit
  • čas přidán 7. 07. 2024
  • Forum post with instructions
    forums.lawrencesystems.com/t/...
    Connecting With Us
    ---------------------------------------------------
    + Hire Us For A Project: lawrencesystems.com/hire-us/
    + Tom Twitter 🐦 / tomlawrencetech
    + Our Web Site www.lawrencesystems.com/
    + Our Forums forums.lawrencesystems.com/
    + Instagram / lawrencesystems
    + Facebook / lawrencesystems
    + GitHub github.com/lawrencesystems/
    + Discord / discord
    Lawrence Systems Shirts and Swag
    ---------------------------------------------------
    ►👕 lawrence.video/swag
    AFFILIATES & REFERRAL LINKS
    ---------------------------------------------------
    Amazon Affiliate Store
    🛒 www.amazon.com/shop/lawrences...
    UniFi Affiliate Link
    🛒 store.ui.com?a_aid=LTS
    All Of Our Affiliates that help us out and can get you discounts!
    🛒 lawrencesystems.com/partners-...
    Gear we use on Kit
    🛒 kit.co/lawrencesystems
    Use OfferCode LTSERVICES to get 5% off your order at
    🛒 lawrence.video/techsupplydirect
    Digital Ocean Offer Code
    🛒 m.do.co/c/85de8d181725
    HostiFi UniFi Cloud Hosting Service
    🛒 hostifi.net/?via=lawrencesystems
    Protect you privacy with a VPN from Private Internet Access
    🛒 www.privateinternetaccess.com...
    Patreon
    💰 / lawrencesystems
    ⏱️ Timestamps ⏱️
    0:00 Wireguard Intro
    1:24 What is Wireguard
    1:42 Wireguard Formal Cryptography Verification
    2:08 Known Limitations of The Wireguard VPN
    4:09 Tailscale Commercial Wireguard VPN Solution
    4:48 Wireguard Deep Packet Inspection and Obfuscation
    6:00 Wireguard & Hardware Crypto
    6:48 Creating the Digital Ocean Wireguard Droplet
    8:30 Preparing the Ubuntu 20.10 Wiregaurd Server
    8:54 Enable IP Forwarding
    9:48 Installing Wireguard
    10:10 Creating the Public & Private Keys
    11:12 Creating the Wiregaurd interface wg0 on the Server
    14:06 Configure Clients & Peer Settings
    16:36 Wireguard full routing VS Split Tunnel settings
    17:48 How to Configure Wireguard to start on Bootup
    18:50 Persistent Wireguard Keep Alive Settings
    20:50 How Wireguard Creates Interfaces
    23:00 Testing wireguard and full tunneling
    27:00 Configuring Windows Wireguard Clients
    32:30 Wireguard Inter client Communication
    34:07 My Final Thoughts on Wireguard
  • Věda a technologie

Komentáře • 177

  • @LAWRENCESYSTEMS
    @LAWRENCESYSTEMS  Před 2 lety

    Forum post with instructions
    forums.lawrencesystems.com/t/getting-started-building-your-own-wireguard-vpn-server/7425
    ⏱ Timestamps ⏱
    0:00 Wireguard Intro
    1:24 What is Wireguard
    1:42 Wireguard Formal Cryptography Verification
    2:08 Known Limitations of The Wireguard VPN
    4:09 Tailscale Commercial Wireguard VPN Solution
    4:48 Wireguard Deep Packet Inspection and Obfuscation
    6:00 Wireguard & Hardware Crypto
    6:48 Creating the Digital Ocean Wireguard Droplet
    8:30 Preparing the Ubuntu 20.10 Wiregaurd Server
    8:54 Enable IP Forwarding
    9:48 Installing Wireguard
    10:10 Creating the Public & Private Keys
    11:12 Creating the Wiregaurd interface wg0 on the Server
    14:06 Configure Clients & Peer Settings
    16:36 Wireguard full routing VS Split Tunnel settings
    17:48 How to Configure Wireguard to start on Bootup
    18:50 Persistent Wireguard Keep Alive Settings
    20:50 How Wireguard Creates Interfaces
    23:00 Testing wireguard and full tunneling
    27:00 Configuring Windows Wireguard Clients
    32:30 Wireguard Inter client Communication
    34:07 My Final Thoughts on Wireguard

  • @joebrocxfreeman
    @joebrocxfreeman Před 2 lety +3

    I learned a lot from this single video. Finally I was able to setup my VPS to connect to my home network behind a 4G router. Thank you so much and keep up the good work!

  • @janigerud
    @janigerud Před 3 lety +30

    The best wireguard tutorial I've seen, shows you everything you need to know, really great work

  • @ThomasDilts
    @ThomasDilts Před rokem +1

    Thanks so much for this. I've spent many hours trying to get wireguard working using several different tutorials and never really succeeded because none of the tutorials had a practical and useful example. Now my VPN is up and fully functional doing exactly what I wanted.

  • @SeanLeach
    @SeanLeach Před rokem +1

    I have been playing with WireGuard for a while and like it a lot. Setting it up was a bit confusing, and I really wish I found this video first. You did an excellent job laying out how it works. Thank you!

  • @JuanLopez-db4cc
    @JuanLopez-db4cc Před 3 lety

    Loving the Forums. Thanks for the Guides.

  • @Soda88
    @Soda88 Před 3 lety +2

    Mikrotik implemented WireGuard in ROS 7.1b2.
    Finally I was able to set up a secure VPN at home without faffing with IPsec NAT-T issues or having a dedicated appliance running OVPN server.

  • @lukaszbe5674
    @lukaszbe5674 Před 3 měsíci

    old but gold!
    first I have "hardened" server, set up ufw, fail2ban, suricata, and much more,
    set up some services ane left server alone,
    now 2nd day lost because I can not set up WG connection,
    only this guide mentioned about need to enable ipv4 forwarding AND ufw.... -,-'
    WORKS!!!
    thanks man :)

  • @GeoffreyPapin
    @GeoffreyPapin Před 3 lety

    Every time I'm starting to look into a new tech you seems to cover it strait away, I literally installed wireguard the day before that video came (yesterday at the time of writing) up and that's the second time this happens! We are in sync that's awesome haha - keep up the great work :)

  • @SimowLabrim
    @SimowLabrim Před rokem +1

    This tutorial just saved me lot of time. Thank you so much

  • @MrGhost.
    @MrGhost. Před 3 lety +6

    Good tutorial! If i could make some wishes i would like a tutorial on how it could be used with docker networking. And also how to build and manage some more complex network structures.

  • @skrueger0
    @skrueger0 Před 3 lety

    Bless you, Tom! Thank you!

  • @osoliman
    @osoliman Před 2 lety

    speaking of automation. PiVPN is a good solution that allows you to install and manage Wireguard config and users with simplicity. Thanks for the video 🙌

  • @jeytis72
    @jeytis72 Před 3 lety

    Very helpful and clear. Thanks

  • @blender_wiki
    @blender_wiki Před 3 lety

    Very good video, advanced and precise information

  • @Joshv918
    @Joshv918 Před 3 lety

    THANK YOU SO MUCH FOR THIS VIDEO!!!

  • @nathankora
    @nathankora Před 2 lety

    Thank you for this very well explained video.

  • @raul230285
    @raul230285 Před 3 lety +1

    Amazing...!!! Good.. Saludos desde Perú..!!!

  • @AdarshMadrecha
    @AdarshMadrecha Před 3 lety +1

    Very good explanation

  • @MisterOA
    @MisterOA Před 3 lety

    This is a great video. Thank you!

  • @gezb99
    @gezb99 Před 3 lety +1

    Second time watching still very cool - love it - Cheers ;O)

  • @the_terrorizer
    @the_terrorizer Před 3 lety

    Kickass video! Thanks man!

  • @iaincampbell4422
    @iaincampbell4422 Před 3 lety

    Great video, many thanks - although I was watching it to figure out how to get my existing wireguard setup to work with IPv6 as my ISP has gone to the dreaded carrier grade nat.

  • @Steffen_H
    @Steffen_H Před 3 lety +3

    First thanks for the good tutorial.
    two questions:
    - Is there an easy way to exclude individual IPs or IP ranges (e.g. 10.x.x.x/8) in order to have a full tunnel with the possibility of accessing something like a local NAS (in school or at the university), without calculating all the allowed IPs ranges?
    -
    What is with IPv6 and Wireguard?

  • @albinosan4744
    @albinosan4744 Před 3 lety

    Thanks for the review

  • @heiaheiaheiahei
    @heiaheiaheiahei Před 3 lety +6

    high quality tutorial, great job!!

  • @elzbietapoawska1535
    @elzbietapoawska1535 Před 3 lety

    Nice as if there was an instruction on how to get to the LAN when I have a VPN wireguard client on the router placed on the VPS server .

  • @T313COmun1s7
    @T313COmun1s7 Před 3 lety +2

    Is that a Sangoma S705 on top of the open cabinet behind you?

  • @xs314
    @xs314 Před 2 lety

    Your video was so good.But I had found a little problem in the post that was "cd /etc/wiregaurd".The correct is"cd /etc/wireguard"

  • @dhmacher
    @dhmacher Před 3 lety

    Thank you!

  • @ankurdholakiya
    @ankurdholakiya Před 2 lety +1

    Very good tutorial. But I have an query,
    After following your instructions I was successfully able to deploy the WireGuard VPN server. But I do not want to route all traffic over Wireguard. I just want to create a secure tunnel to connect to my VPS hosted on private subnet with AWS but my internal traffic should still be routed through my internal network.
    I tried multiple blogs like adding entry "Table=off" or only allow access using "AllowedIP" but that didn't work. Can you please confirm is that possible with WireGuard or not ?

  • @Photogabi
    @Photogabi Před 3 lety

    Thanks much for this in-depth tutorial! For some reason, I keep getting an "Object already exists" error. I found this in the log: 2021-05-22 08:00:41.351: [TUN] [Test] Unable to set interface addresses, routes, dns, and/or interface settings: The object already exists.
    Do you have an idea what could be wrong? I triple-checked my addresses. Thanks!!

  • @Enggmanagement
    @Enggmanagement Před 3 lety

    I have some basic questions as I'm learning. Can I reinstall my VPS with a control panel (lets say Plesk) and then install wireguard and other services like FreePBX on the same server the easy way ?

  • @xcvc777
    @xcvc777 Před 3 lety

    well done sir

  • @lpfigue
    @lpfigue Před rokem

    Great video. Super usefull. What needs to be done in the client side so the youtubevpn activate automaticaly on boot?

  • @DazProductionsOnPC
    @DazProductionsOnPC Před 3 lety

    Wireguard combined with Linux namespaces is just so pleasant to use.

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  Před 3 lety

      yes it is. :)

    • @DazProductionsOnPC
      @DazProductionsOnPC Před 3 lety +2

      @@LAWRENCESYSTEMS Also worth noting Jason (WG creator) wrote a new tun driver called Wintun for windows due to OpenVPNs tun driver being garbage. This benefited openvpn in the end though which is good as they now use WinTun too :)

  • @actng
    @actng Před 3 lety

    i got lost at the windows public key... the wg client had a public key at the top but you just ignore it and paste a different public key of the vpn server in the settings below? then what's the public key at the top for? thx

  • @mjbates
    @mjbates Před 3 lety +1

    Really great vid, thanks! Would you use UFW on your digital ocean droplet to separate different clients?

    • @killer2600
      @killer2600 Před 3 lety

      Would you use the firewall on a home router to separate the computers and devices connected to the same switch on the same subnet?

    • @MikeTrieu
      @MikeTrieu Před 2 lety

      @@killer2600 Isn't that exactly how most guest Wi-Fi networks are set up? They're given addresses on the same subnet, but guests can only connect to the WAN, not each other?

  • @nikenwadkar
    @nikenwadkar Před 3 lety

    It is great video, complete understanding of wireguard, but I have few queries
    I wanted to configure Only Allowed IP can go through VPN rest of things like CZcams, Google, Facebook, Should work through my local internet connection
    is it possible in this case? I tried but not able to do
    can you please help me in that ?

  • @umiseaz
    @umiseaz Před 2 lety

    Good teacher

  • @sinancetinkaya
    @sinancetinkaya Před rokem

    What am I going put to "AllowedIPs" of the "[Peer]" section in the server if client has dynamic IP?

  • @miped0707
    @miped0707 Před 2 lety

    Wow - thanks a lot for this great tutorial. I really enjoy your content. Thanks a lot for sharing

  • @brcisna
    @brcisna Před 2 lety

    Thank You Lawrence Systems for this nice video,,as well as the written form of this videol. Got this setup,pretty easily on a Debian Linux Bullseye, locally to a Debian Linux Bullseye running in Google Compute Engine. Reason for doing this is actually to try and get a new Helium Miner to a public ip address were it is not in relayed mode. Still haven't got that working,,,yet! I am now behind a cgnat setup via a cellular provider,,so this is whole new thing.
    Question, I am experiencing seems very much latency, about 145 ms just from the client machine to the Google Cloud VM Debian instance. Is this to be expected. Am still actually getting very good download/upload speed same as before,,just very delayed,,,much like dns is not setting up correctly. Thanks again

  • @kerwinferrer2385
    @kerwinferrer2385 Před 3 lety +1

    Hi Lawrence, can you please make a tutorial of Wireguard VPN server in the cloud (VPS) and Pfsense firewall server connecting to it as a client and at the same time Wireguard sharing internet to PfSense firewall.
    I hope you can entertain this request.

  • @jasonperry6046
    @jasonperry6046 Před 3 lety +3

    Is this cheaper than something like pia or express VPN for accessing regional content if I pause the droplet when I am knot using it>

    • @supernenechi
      @supernenechi Před 3 lety +2

      Digitalocean's droplets are still billed even when stopped. This is because the system resources are still reserved for you. If you want to not be billed when the vpn is not in use, you need to destroy the droplet entirely. You can keep a snapshot, but the IP address will change once you make a new one. It would be a bit of an involved process to keep doing that.
      If you choose to pay upfront for years for PIA you'd come out cheaper, but if you want to pay per month, Digitalocean is cheaper. Another thing is the bandwidth limit digitalocean puts on you. The droplet he chose only has 1TB of outbound traffic per month (that's from the droplet to the internet) with 0.01 dollars per extra GB. This is fine for surfing, but don't download on this. If you want unlimited bandwidth, don't go with Digitalocean, but other VPS providers. Personally I use Scaleway dedibox and they're great!

  • @erisdiscordia5547
    @erisdiscordia5547 Před 3 lety +2

    Shouldn't you also enable some sort of firewall on the system? Since the machine is multihomed (public IP and wireguard) and you enable ip forwarding, I can now use your public interface to route traffic to that wireguard network if you don't filter it, or am I missing something?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  Před 3 lety +2

      I forgot to cover that in the video, but it is in the write up forums.lawrencesystems.com/t/getting-started-building-your-own-wireguard-vpn-server/7425

  • @kittysreview9055
    @kittysreview9055 Před 3 lety +10

    It’s amazing how CZcamsrs can take a 3 minute process of creating a Wireguard tunnel and turn it into a year-long video 😂

  • @ScottAlexander68
    @ScottAlexander68 Před 2 lety

    Just stumbled across this video. Is there a way to instead of using a wireguard client, make pfSense the client instead? I have installed wireguard inside of pfSense, but now I am kind of stuck.

  • @wihandebeer1755
    @wihandebeer1755 Před 3 lety

    Hi man, did the same as you did, but my windows 10 seems to connect to the server. But have no internet. Please HELP

  • @pranavchaudhary7538
    @pranavchaudhary7538 Před 3 lety

    Is it possible to do Port Forwarding in WireGuard Server?

  • @ElectroGamesYT
    @ElectroGamesYT Před 2 lety

    We need an updated video!

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  Před 2 lety

      Why?

    • @ElectroGamesYT
      @ElectroGamesYT Před 2 lety

      @@LAWRENCESYSTEMS I followed the video exactly and I didn't get an internet connection with the VPN on.

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  Před 2 lety

      The video is accurate , not sure what step you missed

  • @TheOlderIget
    @TheOlderIget Před 2 lety

    Hi, really great video. I have a question: Once I've set up wireguard how do I ensure that incoming traffic is only one way? Meaning when a network accesses my vpn they are not able to see or access another connected network. Is it one way by default or do I need to enforce this with some iptable command?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  Před 2 lety +1

      By default it behave as a NAT and does not allow traffic back.

    • @TheOlderIget
      @TheOlderIget Před 2 lety

      @@LAWRENCESYSTEMS awesome, thanks!

  • @vicentiubucingeni
    @vicentiubucingeni Před 3 lety +2

    Nice tutorial, I do have some questions, I want to achieve a tunneling for a game server, the game server is on my home connection and I want to buy a VPS with a public IP which I want to use so people can connect to it without knowing my home IP. I'm gonna connect the server running the gameserver with the VPS through wireguard, then on the server I'm gonna use DNAT to "redirect" the packets to my home connection (through the wireguard interface). However, for the game server to be able to respond to those packets or to send other packets to the gameclients, I think I'll also have to modify the SNAT, however that would hide the player's IP address from the gameserver which I don't want. If I do a full tunnel from the home connection through wireguard, and only do DNAT on the VPS, would that work?

    • @psycl0ptic
      @psycl0ptic Před 3 lety

      Keep it simple - Just run the game server in the VPS.

    • @vicentiubucingeni
      @vicentiubucingeni Před 3 lety

      @@psycl0ptic the VPS is not powerful enough. I can get a VPS for less than 5 EUR a month. The game server I run is very cpu intensive and single-threaded, most VPS on the market has oversold vCPUs, I need a dedicated core. A vps with a dedicated core sells for over 30-40$/month. Why not use my home server if I already have one and instead of paying 30$ more per month, pay just 5$? I'd rather not keep it simple if it means I have to spend 5-6 times more to keep it simple.

    • @psycl0ptic
      @psycl0ptic Před 3 lety +1

      @@vicentiubucingeni sounds hard core: www.delimiter.com/dedicated-core-vps/

    • @vicentiubucingeni
      @vicentiubucingeni Před 3 lety

      @@psycl0ptic Thanks for the link, but unfortunately they do not have any datacenter in my country, which I would need to make sure everyone here has a good ping (

    • @lyingcat9022
      @lyingcat9022 Před 3 lety

      Did you find a working solution???

  • @taranagnew436
    @taranagnew436 Před 2 lety

    what's the main website of your form website?

  • @bmcdermott6282
    @bmcdermott6282 Před rokem

    I'm able to connect to my Wireguard VPN, however, I'm not able to load hostnames (websites), but I can access my local devices via an IP address. Any idea what the issue is? TIA

  • @cvx10
    @cvx10 Před 3 lety

    Nice explanations as always... Dumb question how do you know 192.168.69.0 is the default route when looking at the routing table 25:07 ?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  Před 3 lety +1

      Because It was defined in the Wireguard server config.

  • @JamesMcCabe703
    @JamesMcCabe703 Před rokem

    @Lawrence Systems What ssh client is that you're using in your demos?

  • @gollenda7852
    @gollenda7852 Před rokem

    Can you setup a wireguard server on a cloud, and set a single peer on pfsense to route everything down stream of the router over wireguard?

  • @zubairahmed3783
    @zubairahmed3783 Před 2 lety

    Thanks Tom, a very informative video. can you make a small video for IOS CONFIGURATION setup please. I held at the point where you configure iOS application in Xcode. I have already add teamID of developer account as well as NetworkExtension also but not configure successfully. please help me .

  • @robertoguerra5375
    @robertoguerra5375 Před 3 lety +1

    Thank you for your video :) I tried with Debian buster but failed in Google cloud :( I am going to try with Ubuntu, and if that doesn't work, I will try with another VM service

    • @jacobmiller38
      @jacobmiller38 Před 2 lety

      Any luck?

    • @robertoguerra5375
      @robertoguerra5375 Před 2 lety

      @@jacobmiller38 yes. It worked with the latest Debian in digital ocean. Google cloud has that NAT-as-default feature that made everything difficult

  • @iamrage4753
    @iamrage4753 Před rokem

    How would you pass netflix through it?

  • @veerkovvuru4384
    @veerkovvuru4384 Před 3 lety

    Trying to run keepalived over Wireguard interface and failing miserably. Has anyone tried this? If you're successful please share your experience.

  • @ailton.duarte
    @ailton.duarte Před 8 měsíci

    i try wireguard but, is not working well, the issue is that i can ping devices on my network but i can't access it, i have a trueNAS chared folder and i can ping it but i can't access it, even the network sectionisn't working, it's like that the pc don't recognise the wireguard network adptor, how do i fix this?

  • @jcw232000
    @jcw232000 Před 3 lety

    if i i leave my house and, i don't have constant keep alive can i still conect

  • @markomus1
    @markomus1 Před 3 lety

    By way of me learning something new everyday, at 22:30, wouldn't that create an IP address conflict?

  • @hawks5196
    @hawks5196 Před 3 lety

    Could you check out and review Tailscale? It’s basically ZeroTier but is much more user friendly, more configurable and also uses WireGuard!

    • @hawks5196
      @hawks5196 Před 3 lety

      I know you say you get lots of requests to test and review something but since it’s a combination of ZeroTier and WireGuard I thought you might even like to try it for yourself

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  Před 3 lety

      It's a paid commercial product that I am sure works fine. I don't see any reason for you not to use it but I don't really have an interest in reviewing it. They have a marketing team that keeps it popular.

  • @psycl0ptic
    @psycl0ptic Před 3 lety

    why do the MTU's keep getting smaller as you add interfaces? is it just auto shrinking the MUT as more are added?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  Před 3 lety +1

      Wireguard has a smaller MTU

    • @psycl0ptic
      @psycl0ptic Před 3 lety +1

      @@LAWRENCESYSTEMS yes, I expect it would be, but what is not clear, does it get smaller with each new interface added? Note @ 22:25: "tom" has a MTU of 1420, then "youtubevpn" is added with an MTU of 1340... So if you add a third interface, does it drop the MTU on that client session/interface by 80 to 1260, and on a 4th to 1180; and on a 5th to 1100, etc...

    • @Ziogref
      @Ziogref Před 3 lety +1

      ​@@psycl0ptic You want the MTU to be as big as possible but not exceeding the the smallest MTU of your Client/Server
      For example, my home internet connection has an MTU of 1500 and my 4G mobile has an MTU of 1480. Now I could have an MTU as big as I want (Over 9000 if I wanted) but this would hurt performance and also going the other way would also hurt performance. Wireguards MTU of 1420 is below the lowest MTU device I have (1480) but not so slow to cause performance issues.
      MTU is for the server config, not a per client config

    • @psycl0ptic
      @psycl0ptic Před 3 lety

      @@Ziogref re-watch the video - each new connection to the server shows a lower MTU - which is again why I asked the connection. Usually you set/see a static MTU for a connection type. But if you watch as he adds additional client, the 2nd one gets a 1320 MTU (using the same config) while the first is 1420 MTU: seen here - TomVPN at 1420 MTU and youtubeVPN at 1320 MTU: czcams.com/video/7yC-gJtl9mQ/video.html

    • @psycl0ptic
      @psycl0ptic Před 3 lety

      @@Ziogref It's probably per interface in this case, with each new peer ("client") getting it's own interface. But does it drop the MTU per interface by 80 each time a new interface is added?

  • @ralmslb
    @ralmslb Před 3 lety

    Would like to hear your opinion on OpenConnect VPN server.

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  Před 3 lety

      Never used it nor do I have a compelling reason to.

    • @ralmslb
      @ralmslb Před 3 lety

      @@LAWRENCESYSTEMS The compelling reason I see is the ability to use Cisco AnyConnect clients on Mobile. You essentially get a high validated and tested client and a free server.

  • @DarkNightSonata
    @DarkNightSonata Před 3 lety

    Very interesting, how does wireguard work with freepbx ? Like will it be easy to setup wireguard on freepbx server (using cent os) and enable clients connect to it ?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  Před 3 lety +1

      I never tested, but should work

    • @rhc287
      @rhc287 Před 3 lety

      @@LAWRENCESYSTEMS Ive tested it and WireGuard doesnt install easilyq on FreePBX due to Python dependencies so you need to run 2 droplet 1 for freepbx and another for a WireGuard concentrator and install static routes to let them back chatter over a digital ocean VPC

    • @DarkNightSonata
      @DarkNightSonata Před 3 lety

      @@LAWRENCESYSTEMS I'm facing problems installing wireguard in FreePBX Centos, can you please try it and make a tutorial post on it if possible ? would be much appreciated.

    • @DarkNightSonata
      @DarkNightSonata Před 3 lety +1

      @@rhc287 yes, I tried and having the same problems.

  • @hamza-325
    @hamza-325 Před 3 lety +1

    I stopped right after reading the known limitation! No passwords! No obfuscation! How can they call it a VPN!

  • @user-my6yf1st8z
    @user-my6yf1st8z Před 3 lety

    one question: when i initialize wg0 (server) and youtube(client), for example. wg0 command line freezes, what can i do?

    • @IntoTheNothing1
      @IntoTheNothing1 Před 3 lety

      Are you using the wg-quick up wg0 command? That command will just bring up your wg0 interface on the server. It shouldnt freeze the command line.

  • @Karl3.142
    @Karl3.142 Před 3 lety +1

    What shell are you using, please?

  • @muxsinfx5798
    @muxsinfx5798 Před 3 lety

    I don't get it, do you need 2 vps, or can you use one interface and the other windows

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  Před 3 lety

      The server is in Digital Ocean on a public IP, the end point can be Windows, Linux, or really any device running Wireguard.

    • @muxsinfx5798
      @muxsinfx5798 Před 3 lety

      in the server when adding peer, how do I get public key for windows

    • @muxsinfx5798
      @muxsinfx5798 Před 3 lety

      @@LAWRENCESYSTEMS Also thanks for reply

  • @rie_55
    @rie_55 Před 3 lety

    Can you add captions?

  • @danielforrest3871
    @danielforrest3871 Před 3 lety

    Tom, I love you man, but... WTF does Obstication mean? I've heard of obfuscation ... I feel stupid.

  • @mahmoodmohammadi8171
    @mahmoodmohammadi8171 Před 2 lety

    when i install wirequard on all country worked but in turkmenistan not, and i need it in turkmenistan, how can i fix this problem ?

  • @aagm.
    @aagm. Před rokem

    i just locked myself out of my own vm by ufw enabling lol
    anyways is there anyway around cgnat for this method, cant ping 69.1, feel like its a portforwarding issue. win10 and oracle free cloud vm btw
    edit: running ubuntu

  • @lobotomizedamericans
    @lobotomizedamericans Před 3 lety

    Is it possible to set up a Wireguard server in windows, or must it be some sort of *nix?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  Před 3 lety

      Yes www.wireguard.com/install/

    • @lobotomizedamericans
      @lobotomizedamericans Před 3 lety

      @@LAWRENCESYSTEMS
      Thanks for replying... Do you think it would be possible to create a Wireguard link over TOR (given the issues with UDP) ?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  Před 3 lety

      @@lobotomizedamericans ¯\_(ツ)_/¯Never tried

  • @TamNguyen-nu9do
    @TamNguyen-nu9do Před rokem

    server wireguard error mes: client_loop: send disconnect: Connection reset by peer

  • @lolololowbx280
    @lolololowbx280 Před 3 lety

    How about pritunl or mistborn wireguard?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  Před 3 lety

      dunno ¯\_(ツ)_/¯ I have not tried them.

    • @lolololowbx280
      @lolololowbx280 Před 3 lety

      @@LAWRENCESYSTEMS i like their approach to webgui vpn server tho

  • @fbifido2
    @fbifido2 Před 3 lety

    Thanks, very simple how-to video, very nice :)
    1. Can you add a remote client without downing the wire guard interface ?
    2. Can you add a client using a /32 subnet ip? eg: @11:41 & @14:31
    - on server [Peer] # test debian client | AllowedIPs=192.168.69.2/32
    - on client [Interface] Address=192.168.69.2/32
    3. On the client side, using "AllowedIPs", do you have to put the wire guard ip, if just allowing your local network only? eg:
    - on client [Peer] # ubuntu D.O.S | AllowedIPs=192.168.69.2/32, 10.10.1.1/24, 192.168.0.1/24
    0. The AllowedIPs= is for network the clients wants to connect to? or connecting from ???????

  • @jacksonsystemslimited
    @jacksonsystemslimited Před 3 lety

    Has WIreGuard been security vetted yet?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  Před 3 lety +2

      The protocol and cryptography has, but the real question will be how will vendors integrate it?

  • @dannythomas7902
    @dannythomas7902 Před 2 lety

    where are the whitepages pls

  • @bansh3ee
    @bansh3ee Před 2 lety

    obfuscation, not obsucation

  • @eseseis7251
    @eseseis7251 Před 3 lety

    the reality is. i smell something fishy about WG, to good to be true, and free,
    i always wonder, who gives up time into working and makeing perfect software for free? not only wg.
    many ng firewalls come with open ports for secure tunels, and there are alot of tunnels used everyday in all os's that we have no idea about.
    some of are publicaly known, like wg, vpn, ipsec, bla bla bla,
    i mean you can create an ICMP tunnel and bypass any firewall, or dns tunnel,
    using open source software means nothing, who knows to audit it, also knows the business behind it, and proffit.

    • @psycl0ptic
      @psycl0ptic Před 3 lety

      ummm...

    • @IntoTheNothing1
      @IntoTheNothing1 Před 3 lety

      Lol no.. if it was closed source then i would probably agree with you. But its not

    • @eseseis7251
      @eseseis7251 Před 3 lety

      @@IntoTheNothing1 i know.. is short code and not big deal to audit. but still to good to be true.

  • @tenminutetokyo2643
    @tenminutetokyo2643 Před 3 lety

    Who made such a mess of IT.

  • @benoit.gerin-lajoie
    @benoit.gerin-lajoie Před 9 měsíci

    You talk to server (and Linux) "initiated" persons... and not to the common (Windows) user, even advanced like me meaning... your pedagogy is very bad ! And you talk too fast on top of that so... quite user unfriendly tuto : (

  • @sebbahbe
    @sebbahbe Před rokem

    Hi ,
    please correct the line "Go to to the Wireguard config cd /etc/wiregaurd " # cd /etc/wireguard

  • @claytontycksen9472
    @claytontycksen9472 Před rokem +1

    ob-fuh-SKAY-shun. Say it with me. ;) great video - helped answer tons of questions I have

  • @enredao_electronico2737

    There is a typo @ your forums.lawrencesystem getting-started-building-your-own-wireguard-vpn-server/7425 at WG client section : cd /etc/wiregaurd it . Nicely explainned and consised

    • @enredao_electronico2737
      @enredao_electronico2737 Před rokem

      also at Run wg-quick up youtubevpn In my opinion should be a space so command : Run wg-quick up youtubevpn . For copy and paste people like me is important 😅

  • @aashad-ue9tj
    @aashad-ue9tj Před 2 měsíci

    how to get public key for the Peer?