How to Roll Your Own VPN for FREE (30 min or less) - Mac Tutorial

Sdílet
Vložit
  • čas přidán 27. 07. 2024
  • An easy, step-by-step tutorial showing you how you can roll your own VPN on a Mac...for free! Follow along as Josh provides detailed instruction on the process and smash that like button if this was a helpful tutorial!
    Resources and Websites used in this Tutorial:
    ▶ Digital Ocean: www.digitalocean.com
    ▶ Algo VPN files on Github: github.com/trailofbits/algo
    ▶ How to Install Python 3 on Mac: osxdaily.com/2018/06/13/how-i...
    ▶ How to Install Homebrew on Mac: osxdaily.com/2018/03/07/how-i...
    ▶ Algo Troubleshooting page: github.com/trailofbits/algo/b...
    If you care about your personal security and privacy online, download my free security checklist here:
    ✅ Security Checklist: www.allthingssecured.com/secu...
    🔹🔹🔹What You Should Watch Next🔹🔹🔹
    We've got a lot of great privacy- and security-related content here on the All Things Secured CZcams channel (although we admit we're a bit biased). If you're wanting to increase your online cybersecurity, here's what's next:
    ✅ Change these 7 Facebook Privacy Settings NOW! • How to Change Your Fac...
    ✅ STOP Using VPNs! (here's why): • Don't Use a VPN...it's...
    ✅ Are spy apps safe? • DON'T USE MOBILE SPY A...
    🔹🔹🔹Help Support All Things Secured (Recommended Services)🔹🔹🔹
    If you enjoy this kind of practical security and privacy content, one of the best ways you can help support this channel is by using these affiliate links to our favorite products and services. When purchasing through these links, you not only get the best available deal, the companies will also pay us a small commission. Thank you for your support!
    ✅ Recommended Password Manager: www.allthingssecured.com/yt/1...
    ✅ Recommended Identity Monitoring: www.allthingssecured.com/try/...
    ✅ Recommended 2FA Security Key: www.allthingssecured.com/yt/y...
    ✅ Recommended Secure Email: www.allthingssecured.com/try/...
    ✅ Recommended VPN: www.allthingssecured.com/try/...
    *********************
    Video Timestamps
    *********************
    0:00 - Introduction to Setting up Your Own VPN
    1:09 - Step 1: Setting up an Account with DigitalOcean
    3:21 - Step 2: Download all Algo VPN files
    5:01 - Downloading Python Version 3
    5:57 - Using Homebrew to Install Python
    7:22 - Step 3: Installing Algo Core Dependencies
    8:05 - Step 4: Set Configuration Options
    8:50 - Step 5: Start the VPN Deployment
    11:46 - Setup Wireguard on Your Device
    13:37 - Troubleshooting Your VPN Setup
    *********************
    Learn how to setup your own VPN server that is more private and secure than a traditional VPN. Josh walks through the entire process, step-by-step, on his Mac computer, using Digital Ocean as his cloud service provider.
    Read more on the website: www.allthingssecured.com/vpn/...
    #vpn #tutorial #cybersecurity
  • Věda a technologie

Komentáře • 93

  • @AllThingsSecured
    @AllThingsSecured  Před 2 lety +8

    Remember that you'll find links to all the resources and websites I mentioned in the description. Was this helpful? Then give it a like! Did you have any issues? Feel free to leave comments here, but understand that I am not able to troubleshoot all problems and it's best to follow the Algo troubleshooting page here: github.com/trailofbits/algo/blob/master/docs/troubleshooting.md

    • @shellz831
      @shellz831 Před rokem +1

      How is this PRIVATE when the IP address and when its from is easily available.

  • @josmith2062
    @josmith2062 Před rokem

    Thanks so much! That was a fun little project thanks to your great explanation!
    Now what to do with it? LOL!

  • @Ros-ys8nq
    @Ros-ys8nq Před 11 měsíci

    Cool! I wish the second part of this video, with more detail or upgrade some settings for more security.

  • @guilhermebahia8749
    @guilhermebahia8749 Před 2 lety

    Thanks a lot, Sir. God bless you and yours!

  • @mngunisea
    @mngunisea Před 2 lety

    Great tutorial and thanks for explaining why it's different to commercial VPN's my question is: On android I am using a firewall app that uses built in android VPN and need to know how reliable the native android VPN is concerning safety. I understand it doesn't conceal my identity but concerning my activity though. Link to a tutorial if you have..

  • @arthurmarek8418
    @arthurmarek8418 Před 2 lety +2

    Well explsined, I am capable of doing this but would rather not! I was just interested in following the process. Always enjoy your channel...thanks.

  • @komrad40
    @komrad40 Před rokem

    Thank you Sir

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

    I love your step by step clear explanations. Thanks very much

  • @homercavazos
    @homercavazos Před rokem

    Does Digital Ocean eventually charge for connecting the API to Algo like having a Droplet?

  • @elisapandelica
    @elisapandelica Před rokem

    Is it available for Norway too? Or it doesn't matter the location

  • @KS-bg6qs
    @KS-bg6qs Před 2 lety +16

    Hi Josh, thanks for taking us through the process. Question as a non-IT person: what advantage does having one's own VPN server provide vs, say, a Windscribe VPN server?

    • @AllThingsSecured
      @AllThingsSecured  Před 2 lety +17

      Great question. The primary concern here is both trust and how you plan to use the VPN.
      If you want to unblock different Netflix libraries, evade censorship or bypass some sort of geoblocking, a commercial VPN like Windscribe is best. It’s easier to setup/use and there are numerous server options around the world.
      For more sensitive data, though, there are serious questions about the privacy policies of these commercial VPNs. Who are they? How can we be sure they’re handling our data correctly?
      So for those who want more control of their data and want to use a VPN for more privacy instead of geoblocking, setting up your own server is one way to go.

  • @chuckhortler2814
    @chuckhortler2814 Před 6 měsíci +2

    This is a couple of years since you posted. Did you continue to use it? If so, what costs did you end up incurring per month (round numbers) in traffic fees?
    How long did your $100 credit last you (it seemed you signed up with DO and they gave you a $100 credit early in the video?) - i realize that's a totally subjective question based on what you were doing but perhaps you can characterize your usage pattern?

  • @ThatOneAsianEating
    @ThatOneAsianEating Před 8 měsíci

    do we need to get digital ocean? id there any more alternatives? Is it necessary?

  • @rupamede2022
    @rupamede2022 Před rokem

    How fast is this vpn? I could create one but if I’m not going to use it afterwards because it’s slow what’s the point

  • @phillo1818
    @phillo1818 Před 2 lety

    Love this video, very easy VPN setup. This is a great way to repurpose an old PC case using a 256GB SSD. Can this work using a bootable data key?

  • @coreys9584
    @coreys9584 Před 2 lety +4

    Hi Josh, do you know what the Digital Ocean charges/fees will be? (On the sign up screen in your vid, it looked like you clicked at introductory free $100 / 60 days / offer.) Thank you!

    • @AllThingsSecured
      @AllThingsSecured  Před 2 lety +2

      Yea, great question. I received an introductory amount and then I would have to pay by the bandwidth I use. So it really depends on what you’re using it for (streaming vs email?)

  • @timpace5625
    @timpace5625 Před 2 lety

    Is there a way to install this vpn on a router.

  • @BatteryAddicted
    @BatteryAddicted Před rokem

    HAH got it to work. So cool. Of course, I had to complicate the process by using a folder with a space in the name that it didn't like and a few other things, but once I got past that, it worked. Took my computer north of 10 mins to do the configuration (had to do it several times). But now that it is working, very cool! Thanks for the video.
    Only comment I have is that it looks like DigitalOcean set me up for $6/mo or $.009/hr a server. Looks like they got rid of the $100 free trial credit in this video. And of course with my 3 failed attempts I had 4 total active droplets(servers) after I set it all up. Heh :D (I caught it right away so all good).
    Got 150MBPS on the New York 3 server. :D
    Thanks again.

  • @john749
    @john749 Před rokem +2

    Hi Josh. Thank you for this video. Have you made a video for a Windows device?

  • @mr.chindo8570
    @mr.chindo8570 Před 2 lety

    Thank you so much...

  • @k.o.t.o.f.e.y
    @k.o.t.o.f.e.y Před rokem

    what is this extension in your browser with the face of a fox?)

  • @53goforit
    @53goforit Před 2 lety

    Thanks Jason for the lead in, I’m not a computer guru this is too much thanks nx video

  • @happypotential
    @happypotential Před 2 lety

    Valuable video! Thank you!

  • @benoit.gerin-lajoie
    @benoit.gerin-lajoie Před 10 měsíci +1

    The procedure for *Windows 10* PLEASE ?
    BTW: how fast is your custom built VPN ?

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

    Your the best.

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

    If this is the Mac tutorial, do you have one for PC? Also once you have set up your own VPN, is there much housekeeping required to maintain is security and keep it 'current'? Forgive if it's a silly question, very much an IT noob.

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

      I don't have one for PC yet, although it is very similar. I don't believe there's much maintenance, since most of the heavy lifting is done by the cloud service.

  • @calebmccool
    @calebmccool Před 2 lety

    Hi @All Things Secured. Not sure if you often comment on this video (since it’s 7 months old). But which is more secure? Making my own VPN, or paying for the service?
    Thank you

    • @AllThingsSecured
      @AllThingsSecured  Před 2 lety +2

      It depends on your threat model. Do you trust VPN companies? If not, then creating your own VPN server might be better.

  • @ricardocosta4152
    @ricardocosta4152 Před rokem

    Is this works on win10?

  • @LC-hd5dc
    @LC-hd5dc Před 2 lety +1

    wouldn't all the data going through digitalocean get logged by them? at the end of the day this still requires trust that the third party is following their privacy claims, and their own privacy page indicates they do provide logs to govt agencies (as i would assume they would), which means they have to be taking logs to provide in the first place

  • @agoesmh
    @agoesmh Před 2 lety

    Very helpful bro many thanks🙏

  • @da2967
    @da2967 Před rokem

    Great video! I'm a VPN server noob and this taught me a lot.

  • @Ottomanmint
    @Ottomanmint Před 9 měsíci +1

    Why not use the VPN Server, that is nowdays built in most high end Internet modem routers & connect home when you're out, using a VPN tunel using OPEN VPN installed from Playstore? Access your own LAN as if you were home etc.? Note, you will need to set up a DDNS (no-ip is free) to keep track of your home IP.

  • @kojam1
    @kojam1 Před 7 měsíci +1

    Dont know if that service is still free. Its my experience that nobody collects your cc info for a truly free service. They started charging u yet?
    Did any tests like DNS leak for example? How fortified is this really? How can one test the true reliability?

  • @riaanpretorius2858
    @riaanpretorius2858 Před 2 lety

    How would I go about setting this up on windows as I don't have a Mac.

    • @AllThingsSecured
      @AllThingsSecured  Před 2 lety

      It’s pretty much the same process. The link in the description for the Algo setup page has alternate instructions for other operating systems.

  • @TheDennisgrass
    @TheDennisgrass Před 2 lety +5

    Sheesh.... the title made me go, " *YES, YES, YES, YES* "
    Your first minute made me go, "I gotta find out when my Python programming friend is going to be in the area, and buy him a six pack"
    OK.... Now, I'm going to watch the rest of your video.

    • @AllThingsSecured
      @AllThingsSecured  Před 2 lety +2

      Ha! Yea, it wasn't as simple as I was hoping. There's a reason the commercial VPN is so attractive - it's simple to download and use.

  • @CheapMobileGeek
    @CheapMobileGeek Před 2 lety +2

    are you planning on doing a similar video for Windows users?

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

      I could, but it would essentially be the same thing. Where are you getting tripped up?

    • @poetrydlove
      @poetrydlove Před 2 lety

      @@AllThingsSecured The things that you did with shell, are to be done on cmd on windows?

    • @rushi7312
      @rushi7312 Před 2 lety

      if anything, Python is much easier to install on Windows according to my experience.

  • @artemjetman
    @artemjetman Před rokem +1

    2 problems. 1 is I’m pretty sure ur now giving all ur info to digital ocean which probably keeps logs (someone said they specifically say they do in their privacy policy but can’t confirm this myself as I did not read it)
    2. U still paying for digital ocean which does not make this free (and I do not know how much they charge but if it’s like a vpn then it’s basically a more time consuming and worse process to setting up a vpn)

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

    Thank you ....... you are awesome

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

    please really eager here, how do i use this vpn on my macbook?? A really important question that should be answered.

    • @AllThingsSecured
      @AllThingsSecured  Před 2 lety

      You saw me set it up on my MacBook, so how else can I help here?

  • @SF-jf3xv
    @SF-jf3xv Před 2 lety

    How is this done on Windows machine? Is this ran on powershell? I see you have used the SSH on Mac terminal but not sure how this works on Windows.

    • @AllThingsSecured
      @AllThingsSecured  Před 2 lety

      I wish I could help, but I'm not sure as well.

    • @artemjetman
      @artemjetman Před rokem

      With windows I believe it might be quite difficult (if even possible) honestly using a VM Linux machine id say is much easier for these sort of things.
      I did not watch the video entirely so can’t help u totally. The one I do know is that this is not run on power shell but rather a bash terminal. (Which are by default used on most Linux OSes)

    • @chuckhortler2814
      @chuckhortler2814 Před 6 měsíci

      I'm not a Mac guy but didn't you (ATS) have to install a virtualization app (aka "hypervisor") like Parallels or Virtual Box on your Mac and then create a Linux virtual machine running under that hypervisor? Linux doesn't run natively on Mac (or?)
      On windows, you have two options: install a hypervisor (VMWare or Virtual box to name a couple; there are many options) and then create a VM and install Linux in that VM -- or -- you can activate the Windows Subsystem for Linux (WSL). To me, WSL is complete PITA to get up and running with a current install of Linux but.. it is an option as some employers might only let you use an installed hypervisor if you can use any Linux at all (because WSL is turned on by adding it as a feature in Windows configuration whereas the hypervisor would need admin rights for installing software on your laptop so you may be able to do one but not the other depending on how locked down your system is.
      Once you have Linux up and running on your Windows box, you jump into that VM with a linux prompt and start from there from the point where ATS showed in the instructions.
      There are places on the internet where you can get VMs which are already pre-configured (e.g. install the hypervisor, download a virtual machine "image" (a large, compressed file with the installation of Linux already completed) and then unpack that download and load it on the hypervisor software), but I don't know how reliable they are in terms of not having something fishy going on.
      Maybe that latter point is not a big deal as you're basically only building the Algo server locally with current installs and then deploying it (Algo's deploy is effectively copying everything which was configured on your local Linux box) to DigitalOcean. I think once the algo install is running on DO, you'd update it there periodically and never have to get into your local Linux install again (correct?)

  • @davepickering5037
    @davepickering5037 Před 2 lety

    Same for windows or android please

    • @AllThingsSecured
      @AllThingsSecured  Před 2 lety

      I’ll see what I can do, Dave. The instructions from the Algo GitHub website also talk about Windows and Android.

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

    Anything for Android mobile?

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

      It's the exact same process. Instead of downloading the Wireguard app on iOS, simply download it on Android. It looks exactly the same.

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

    Have some questions :
    Can someone (not a hacker , like a normal VPN company) see my internet history ?
    How safe is it for hacking?

    • @AllThingsSecured
      @AllThingsSecured  Před 2 lety

      Theoretically, yes. Although they pinky-promise that they won't, so there's that you can fall back on.

  • @Alan_Gor_Forester
    @Alan_Gor_Forester Před 2 lety

    I just started using Linux Mint, and I can't tune this VPN =(

  • @macexpert7247
    @macexpert7247 Před 2 lety

    What kind of processing power, memory and storage do I need to subscribe to?

  • @user-jj1zy1kv6g
    @user-jj1zy1kv6g Před 2 lety

    Please make Windows tutorial

    • @AllThingsSecured
      @AllThingsSecured  Před 2 lety

      There isn’t too much difference between the two, honestly.

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

    I really need a android tutorial please asap

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

    Rofl, the metamask plugin. Hope you're at least using a hardware wallet to sign your transactions, I personally know people who got hacked using the browser plugin setup.

    • @AllThingsSecured
      @AllThingsSecured  Před 2 lety +2

      Your concern for me is touching in its lack of any kind of sincerity. Yes, I’m using a hardware wallet.

  • @Ralphie_Boy
    @Ralphie_Boy Před 2 lety

    🌴👍

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

    Sorry, NO, I don't want to write a VPN, or have to buy a Mac just to use this.....

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

      Say huh? You don’t “write” a VPN and you don’t have to have a Mac to use it.

    • @chuckhortler2814
      @chuckhortler2814 Před 6 měsíci +1

      @@AllThingsSecuredLOL on this one.

  • @roywx2013
    @roywx2013 Před 2 lety

    2:10 "In order to identify my identity, I have to give them a credit card..."
    Don't bother with the video, goodbye.

    • @AllThingsSecured
      @AllThingsSecured  Před 2 lety +4

      I understand your reticence, Roy. In the end, you have to trust someone/some company. That could be a cloud services provider, a hardware manufacturer, your ISP, a commercial VPN company...someone.
      So I don't think that what I said discredits the entire video as much as it just illuminates where your threat model is. And that's ok.

  • @stevejefferson3250
    @stevejefferson3250 Před rokem

    BS

  • @TontosVotanPaSocialistas

    Not free. You lied. 👎👎👎👎

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

      Which part wasn’t free? I haven’t paid a dime.

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

      @@AllThingsSecured internet that we use through our server will not cost us?

    • @AllThingsSecured
      @AllThingsSecured  Před 2 lety +4

      It will eventually, I’m sure. But I’ve been using it lightly for a month now without any issues. I set up and use the VPN and I haven’t paid any money…explain how I’m lying again?

    • @SK-bw9ff
      @SK-bw9ff Před 7 měsíci

      Hi@@AllThingsSecured, Thank you for your video! I wanted to ask about the average monthly bill with DigitalOcean for regular use (social media, streaming, etc.). Thanks!