Cloudflare Zero Trust Tunnel Guide: Exposing Self-Hosted Services Safely

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ต.ค. 2024

ความคิดเห็น • 99

  • @goldenvoiceofnepal
    @goldenvoiceofnepal 5 หลายเดือนก่อน +17

    tunnel now live under Networks not Access in cloudflare if anyone is wondering

    • @Techdox
      @Techdox  5 หลายเดือนก่อน +3

      Thanks for that, yeah that’s tech for you. Always changing haha

    • @peejwilco1357
      @peejwilco1357 วันที่ผ่านมา

      They be changing stuff and where things live a lot. Makes more sense tbh but yeah, if you didn't know :(

  • @iidg
    @iidg 11 หลายเดือนก่อน +14

    Worked so hard didn't work, searched everywhere and didn't find the information i needed. But in this video i got everything i wanted! THANKKSSS!

    • @Techdox
      @Techdox  11 หลายเดือนก่อน +3

      Glad I could help! :)

  • @peejwilco1357
    @peejwilco1357 วันที่ผ่านมา

    Not re-loading in a private window was what I was missing. I did everything you covered in your video on my own, and was confused why it wasn't prompting for authentication... Found your vid, skimmed to find what I needed and bam! Private window haha. Cheers

  • @weholmes5315
    @weholmes5315 3 หลายเดือนก่อน

    Fantastic! Your Vaultwarden video and this one helped me get it running in Docker. I greatly appreciate your clear and concise explanations! 😊

  • @pradigmexplorer
    @pradigmexplorer หลายเดือนก่อน

    Amazing introductory video to Cloudflare Zero Trust. It really helped me out with my project. Thanks

  • @krishrong2560
    @krishrong2560 ปีที่แล้ว +3

    Easy to understand explanations. It works! Thank you.

    • @Techdox
      @Techdox  ปีที่แล้ว

      Glad I could help :)

  • @jpb2085
    @jpb2085 10 หลายเดือนก่อน +1

    Fantastic video, just what I was looking for. Subbed!

  • @vishvak8597
    @vishvak8597 8 หลายเดือนก่อน +1

    Hey! Just wanted to know how did you get those domain names? And where can I get them? If yes, where are the paid ones and few ones? How can we map it with cloudflare!?

    • @Techdox
      @Techdox  8 หลายเดือนก่อน +1

      I bought most of these via Cloudflare itself and doing that it shows up in Cloudflare as an option to use them

  • @nathandtanner
    @nathandtanner 6 หลายเดือนก่อน

    Thanks for explaining so clearly. You are very helpful

    • @Techdox
      @Techdox  6 หลายเดือนก่อน

      You're very welcome!

  • @samg1205
    @samg1205 6 หลายเดือนก่อน +1

    What if you want Zero trust working with apps like Audiobookshelf to connect to Audiobookshelf server? The web login via authentication is fine for web based services but not apps. Is there a way to have a cloudflare app or service running on device trying to connect that will authenticate the device with Cloudflare and then allow connection for apps?

  • @NandorKatai
    @NandorKatai 6 หลายเดือนก่อน +1

    Thanks for this overview; it is very helpful.

  • @stephen83453
    @stephen83453 ปีที่แล้ว +2

    Excellent video, loving the channel👍. How would it work with VaultWarden or similar app which can't log in with the IDP web portal? Do you just expose it without that IDP part, while using the other Zero Trust settings like whitelisting country IPs?

    • @Techdox
      @Techdox  ปีที่แล้ว +1

      In your application setting you can setup a new policy with a bypass rules based off location, IP etc which will completely skip the cloudflare auth.
      For example my Nextcloud app on my phone would get stuck trying to reach my service because of the Clouflare Auth page, having the bypass fixes that.
      I hope that was your question haha

    • @techcodenet
      @techcodenet 10 หลายเดือนก่อน +1

      @@Techdox related to other top comment/question ...
      Assuming you don't care about option to allow someone to access your Nextcloud install without setting up "VPN" (say for your parents that have gmail/facebook and can login through that) - it seems like TailScale on your phone and server with nextcloud instance would work for games/apps/etc.

  • @rben828
    @rben828 4 หลายเดือนก่อน

    Thanks for the video! It works and adds an extra layer of protection. However, it can be challenging for applications with mobile and desktop apps. For example, my self-hosted password manager couldn't sync or save new credentials. There might be additional settings needed, but I couldn't figure them out yet, so I had to remove the application protection. I'm hoping to find a way to make it work without breaking the desktop/mobile app features.

    • @Techdox
      @Techdox  4 หลายเดือนก่อน

      I had the exact same issue with Nextcloud. Providing you have a static IP or you will need to adjust it when it changed.
      You can add a bypass rule to your Application Policy in Cloudflare, for your Public IP, so anything coming in via that IP bypasses the rules and this will allow your apps to reach the service

    • @rben828
      @rben828 4 หลายเดือนก่อน

      ​@@Techdox Thank you! The bypass rule is working flawlessly! Hopefully, they update the rules to add support for DDNS for users with dynamic IP addresses. Also, is there a way for users with a shared link to bypass the rules and retrieve a file from the application?

  • @BabHoLee
    @BabHoLee 11 หลายเดือนก่อน

    Thank you for your nice works.
    I have some questions.
    1. How much cloudflare turnel's network traffic price? (ex. AWS EC2 is '0.117$ per 1TB)
    2. Can we use this as IP also? (Not domain)
    I hardly have found this, but I can't find it)

    • @Techdox
      @Techdox  11 หลายเดือนก่อน +1

      I could be wrong but Cloudflare tunnels are 100% free and there is no cap on traffic going through.
      You could use Cloudflare WARP which is a VPN to your services if you wanna connect via IP and not a domain name

  • @ksoonsoon
    @ksoonsoon ปีที่แล้ว +1

    Well done. From the Duke of Dockers!! 😊

    • @Techdox
      @Techdox  ปีที่แล้ว

      Thank you!

  • @jackiedo7370
    @jackiedo7370 3 หลายเดือนก่อน

    Your content is so good. Just cmt to send a thank, already subscribed

    • @Techdox
      @Techdox  3 หลายเดือนก่อน +1

      Appreciate you :)

  • @grebnevrl2826
    @grebnevrl2826 3 หลายเดือนก่อน

    which flag should I use if I want to use not a docker but Mac for tunnel in detach mode? same as -d for docker

  • @danarj5713
    @danarj5713 10 หลายเดือนก่อน

    this cloudflare feature is amazing

  • @ImranRaja-xz5wm
    @ImranRaja-xz5wm 7 หลายเดือนก่อน

    doing tunnel will it have any effect on bandwidth let see my home has 200mb up/down limited tunneling to do on Cf do it originally getting more bandwidth now from cloudflare or tunneling is just to mask and secure
    ur home ip

  • @timsavory9718
    @timsavory9718 9 หลายเดือนก่อน

    Thanks again, i also host a mail server on my NAS, will cloudfare block it?

    • @Techdox
      @Techdox  9 หลายเดือนก่อน +1

      Cloudflare only has access to what you give it access to, any existing services won't be touched by Cloudflare

  • @bosse1478
    @bosse1478 7 หลายเดือนก่อน

    What ports need or not need to be open in the fierwall for the tunnel? Today I have 80 and 443 open and pointing to my pihole and from pihole are some directed to npm.

    • @Techdox
      @Techdox  7 หลายเดือนก่อน +1

      You shouldn’t need to open any ports, it will run via 443 I believe which should be a standard port that’s open

  • @bassam.2023
    @bassam.2023 3 หลายเดือนก่อน

    This was useful. Thanks! 🎉

  • @Pasukaru0
    @Pasukaru0 4 หลายเดือนก่อน

    How do I get this working for UDP?

  • @virgiliod.deleonr.3168
    @virgiliod.deleonr.3168 3 หลายเดือนก่อน

    Is necessary to use Cloudflare WAF Rules with Zero Trust to expose services?

    • @Techdox
      @Techdox  3 หลายเดือนก่อน +1

      No, only if you wish to add rules on who can access it

    • @virgiliod.deleonr.3168
      @virgiliod.deleonr.3168 3 หลายเดือนก่อน

      @@Techdox only the zero trust rules.

  • @conqourerx1
    @conqourerx1 5 หลายเดือนก่อน

    Hi please help me I am not understanding what is the zero trust plan for if I choose free plan does it limit my website user limit

    • @Techdox
      @Techdox  5 หลายเดือนก่อน

      Hi, no the free tier does not limit website users. Your zero trust users within Cloudflare is limited to 5 I believe

    • @conqourerx1
      @conqourerx1 5 หลายเดือนก่อน

      @@Techdox Oki thanks 🙏

  • @timsavory9718
    @timsavory9718 9 หลายเดือนก่อน

    Thanks for the video. If i expose qbittorrent using cloufare then presumably i still need to froward the TCP port (eg 6881) on my router?

    • @Techdox
      @Techdox  9 หลายเดือนก่อน

      That's the great thing about Cloudflare, not port forwarding needed. Just expose the UI port to access it via Cloudflare and that's it

    • @timsavory9718
      @timsavory9718 9 หลายเดือนก่อน

      ​@Techdox the TCP port (eg 6881) is used for incoming connections (for seeding) on qbittorrent. If not part forwarded some how then will it ever seed? Thanks

    • @Techdox
      @Techdox  9 หลายเดือนก่อน +1

      Interesting, I have not needed to open any ports for my container to seed etc, give it a go and see without port forwarding and let me know how it works@@timsavory9718

  • @TheMrBazil
    @TheMrBazil 4 หลายเดือนก่อน

    You show to use tunnel with docker of nginx. And i have question i don't see any valid reason to use tunnel when you after that use nginx which is anyway proxy pass + use cloudflare in front to protect ddos etc. Can you or someone explain if it's worht to use tunnel if i use anyway nginx to pass forward request?

    • @Techdox
      @Techdox  4 หลายเดือนก่อน

      Totally up to you. I use it so I don’t need to expose my public IP address and you get the added protection from Cloudflare

  • @alagappank6813
    @alagappank6813 ปีที่แล้ว

    Hi Man, So after u install the tunnel command in docker , I need more information on this whats the next step do you have any documents fot this pls thanks

    • @Techdox
      @Techdox  ปีที่แล้ว

      You should be able to follow the steps I took on the video, once you have the tunnel running it should show as active in Cloudflare. Then you can setup your tunnel to expose your applications

  • @krews2
    @krews2 8 หลายเดือนก่อน

    Question I got everything to work, but on the padlock after I login it has a warning:
    Parts of this page are not secure (such as images).
    I see the error on Firefox, but not Google Chrome.

    • @Techdox
      @Techdox  8 หลายเดือนก่อน

      Interesting, I don’t use Firefox but worth looking into. Did you find any answers so far?

    • @krews2
      @krews2 8 หลายเดือนก่อน

      @@Techdox I am guessing it is because it used http for the ip address to connect to the local server and that is why there is a warning about mixed parts not secure. Anyway I am going to use proxmox and install a virtual machine for the Ubuntu server. I will see if the error still persists.

    • @SchoolforHackers
      @SchoolforHackers 8 หลายเดือนก่อน

      Your site is drawing resources from outside sources like Google fonts, but provided over http rather than https. W3 resources, for instance, often get hard coded as http. Find those references, make sure they can be accessed over https, and update your code. Fun, fun!

  • @ritikbansal137
    @ritikbansal137 6 หลายเดือนก่อน

    Can i use my synology nas.
    And can i use that nas’s nfs storage for recording my nvr outside my home network with or with a public ip.

    • @Techdox
      @Techdox  6 หลายเดือนก่อน

      Yeah, Synology NAS should be fine, just run the tunnel via Docker. Also, the NAS storage via Public IP I would need more details on the setup

  • @eric-ut9mi
    @eric-ut9mi 6 หลายเดือนก่อน

    hey man, why doen cloudflare keeps going down, it is not consistently connected, only last for less than one hour, but i need consistent nad permanent connection, what should i do my friend , thanks

    • @Techdox
      @Techdox  6 หลายเดือนก่อน

      Ii will stay up as long as the host stays up, where is it runnign and do you restart the host often?

    • @eric-ut9mi
      @eric-ut9mi 6 หลายเดือนก่อน

      @@Techdox the http serve runs on a linkstack docker, and my host server keeps running all the time, but the tunnel just keep going down, i don't know why

  • @ricgondo
    @ricgondo ปีที่แล้ว

    Wow, nicely done! I was able to expose my nginx as well! Can I do the same for my ssh server?

    • @Techdox
      @Techdox  ปีที่แล้ว +1

      Hey! Thanks for being a member! Yes you can also expose SSH as well :) just like you can select HTTPS etc there is an option for SSH :)

    • @ricgondo
      @ricgondo ปีที่แล้ว

      @@Techdox I don’t know why, but my SQL Server and SSH connections are not working, any tips 😝?

    • @Techdox
      @Techdox  ปีที่แล้ว +1

      @@ricgondo so you are trying to SSH into a server with Cloudflare and it’s not working? I might need some more context but there’s two things here.
      Cloudflare tunnel will allow SSH via their tunnel but if you want to be able to connect to your services like normal via ssh from your terminal etc, you can use Cloudflare WARP, it’s a client you download on your pc and acts as a VPN for all your services

    • @ricgondo
      @ricgondo ปีที่แล้ว

      @@Techdox I was able to expose the Nginx just like you did via docker... then I also installed a SQL Server docker, which can be accessed internally but after adding it to the Cloudflare tunnel Public Hostname like the Nginx in your video, I'm still not able to access it. The same goes to the SSH. Thanks!

    • @Techdox
      @Techdox  ปีที่แล้ว +1

      So focusing on the SQL server first, when you say access it you mean accesing it via it's public hostname via something like SQL management server? - I'm not sure if you have Discord but feel free to join it, it might make it easier to chat :) - discord.gg/m6ZMZkPBUG

  • @alessiodefilippo4177
    @alessiodefilippo4177 ปีที่แล้ว

    when I sweat "docker ps" it doesn't show me what you show in the video, it offers me to download two

    • @Techdox
      @Techdox  ปีที่แล้ว

      I know I am a bit late, but what is the actual message?

  • @Gina-t9y
    @Gina-t9y 8 หลายเดือนก่อน

    Hi can i use another programm besides docker a need a tunnel for my mac high sierra 10.13 and i cant install docker

    • @Techdox
      @Techdox  8 หลายเดือนก่อน

      Yeah in the zero trust screen where you see the steps for setting up the tunnel they have more options that just docker for a tunnel

    • @Gina-t9y
      @Gina-t9y 8 หลายเดือนก่อน

      @@Techdox thank you ,for you kindness

  • @Alcatraz2k
    @Alcatraz2k 11 หลายเดือนก่อน

    Can you use Authentik as an identity provider?

    • @Techdox
      @Techdox  11 หลายเดือนก่อน

      I just checked the list and could not see it there

    • @Alcatraz2k
      @Alcatraz2k 11 หลายเดือนก่อน

      @@Techdox I guess it would work with the Generic SAML 2.0 option?

    • @Techdox
      @Techdox  11 หลายเดือนก่อน

      Yeah, doesn’t hurt to find it a shot :)

  • @courtney727ray
    @courtney727ray 10 หลายเดือนก่อน

    Does this help to hide the IP address of the site?

    • @Techdox
      @Techdox  10 หลายเดือนก่อน +1

      Yeah, this will show up as Cloudflare IP addresses, not yours

    • @courtney727ray
      @courtney727ray 10 หลายเดือนก่อน

      So, perhaps this will help protect against DOS attacks such as hotlinking?@@Techdox

  • @TG09
    @TG09 ปีที่แล้ว +1

    Nice mate 👍

  • @-JesusM-
    @-JesusM- 6 หลายเดือนก่อน

    Don't forget to set it to autorun after the machine turns on

  • @ricgondo
    @ricgondo ปีที่แล้ว

    Thanks!

    • @Techdox
      @Techdox  ปีที่แล้ว

      You are very generous 😊 Thank you for your support

  • @whopua
    @whopua 11 หลายเดือนก่อน

    This worked for about 1 minute then I suddenly got a ""the plain http request was sent to https port"" error. I can't resolve it.

    • @Techdox
      @Techdox  11 หลายเดือนก่อน

      What are you trying to expose?

    • @whopua
      @whopua 11 หลายเดือนก่อน

      @@Techdox My Nextcloud docker on unraid. I tried the tunnel with http and https. One said the error above. If I changed it I got that cloudflare screen with server down.. I'm using nginx proxy manager if that makes a difference. It's fine if I just have is as a regular A name so I guess I'll leave it at that.

  • @OldPekar
    @OldPekar 2 หลายเดือนก่อน

    Pardon, what kind of English do u use? Where r u from?🤔

    • @Techdox
      @Techdox  2 หลายเดือนก่อน

      @@OldPekar standard English 😂 I’m from New Zealand

  • @abdshk313
    @abdshk313 ปีที่แล้ว +1

    make windows 10 Cloudflare Zero Trust Tunnel Guide

    • @Techdox
      @Techdox  ปีที่แล้ว

      The process is the same besides the tunnel setup which you can still do via Docker or you can install following their windows steps. The rest is still identical

  • @ksoonsoon
    @ksoonsoon ปีที่แล้ว

    Selfish show idea. Install every single bitcoin node software option available!!

    • @Techdox
      @Techdox  ปีที่แล้ว

      I think at some point they are all the same just a different UI haha

  • @NickHettinger
    @NickHettinger ปีที่แล้ว

    promo sm 😥

    • @Techdox
      @Techdox  ปีที่แล้ว

      Hey, what’s up?

  • @ricgondo
    @ricgondo ปีที่แล้ว

    Thanks!

    • @Techdox
      @Techdox  ปีที่แล้ว +1

      Thank you so much ❤