Access Your Self Hosted Services WITHOUT Port Forwarding

Поделиться
HTML-код
  • Опубликовано: 29 сен 2024
  • Today's video is sponsored by Linode!
    Sign up today and get a $100 60-day credit on your new Linode account, link is in the description.
    🔗 dbte.ch/linode
    /=========================================/
    For more than a year we've been talking about using a reverse proxy to access your self-hosted apps via a domain name.
    In this video we're going to take a look at setting up remote access to your self-hosted applications with CloudFlare Tunnels. Using CloudFlare Tunnels allows us to create an encrypted connection between our server(s) and CloudFlare without the need to forward any ports.
    Prerequisites
    We only need 2 things to get things set up (aside from our Docker server and self-hosted apps):
    1. A domain name from your favorite registrar
    2. A CloudFlare account
    Resource links:
    ✅ dash.teams.clo...
    ✅ hub.docker.com...
    ✅ dbt3ch.com/boo...
    Get early, ad-free access to new content by becoming a Patron or signing up for the members' only website!
    ✅ / dbtech
    ✅ dbtech.fans/
    ✨Ways to support DB Tech:
    ✅ / dbtech
    ✅ www.paypal.me/...
    ✅ ko-fi.com/dbtech
    ✅ Cashapp: cash.app/$dbte...
    ✅ Venmo: venmo.com/dbte...
    /=========================================/
    The hardware in my recording studio is:
    ✔ Lenovo ThinkPad T580 i7-8650, 512GB NVMe, 32GB RAM (Bought used on eBay)
    ✔ Panasonic LUMIX G7 4K Digital Camera: amzn.to/3IGEOcb
    ✔ Lenovo 4K Display: amzn.to/3nzuo5N
    ✔ Neewer Lights: amzn.to/3nZcoSX
    ✔ Light Power Supply:amzn.to/3Konpqf
    ✔ 55" Gaming Desk: amzn.to/3AkgHgw
    ✔ Sabrent USB-C Hub: amzn.to/3qFcwbV
    ✔ Das Keyboard 4 Professional: amzn.to/3G9rPxM
    ✔ Eutuxia Type-S Black Tempered Glass Monitor Stand: amzn.to/33VgyEg
    ✔ Fuqido Big and Tall Gaming Chair: amzn.to/3IGegrq
    /=========================================/
    ✨Find all my social accounts here:
    ✅ dbte.ch/
    ✨Ways to support DB Tech:
    ✅ / dbtech
    ✅ www.paypal.me/...
    ✅ ko-fi.com/dbtech
    ✅ Cashapp: cash.app/$dbte...
    ✅ Venmo: venmo.com/dbte...
    ✨Come chat in Discord:
    ✅ dbte.ch/discord
    ✨Join this channel to get access to perks:
    ✅ / @dbtechyt
    ✨Services (Affiliate Links):
    ✅ Linode: dbte.ch/linode
    ✅ PrivadoVPN: dbte.ch/privad...
    ✅ Digital Ocean: dbte.ch/do
    ✅ Bunny CDN: dbte.ch/bunnycdn
    ✅ Private Internet Access (PIA) VPN: dbte.ch/piavpn
    ✅ Amazon: dbte.ch/amazon...
    ✨Hardware (Affiliate Links):
    ✅ TinyPilot KVM: dbte.ch/tpkvm
    ✅ LattePanda Delta 432: dbte.ch/dfrobot
    ✅ Lotmaxx SC-10 Shark: dbte.ch/sc10shark
    ✅ EchoGear 10U Rack: dbte.ch/echoge...
    The hardware in my current home servers:
    ✔ Synology DS1621xs+ (provided by Synology): amzn.to/2ZwTMgl
    ✔ 6x8TB Seagate Exos Enterprise HDDs (provided by Synology): amzn.to/3auLdcb
    ✔ 16GB DDR4 ECC RAM (provided by Synology): amzn.to/3do7avd
    ✔ 2TB NVMe Caching Drive (provided by Sabrent): amzn.to/3dwPCxj
    ✔ TerraMaster F5-221 (provided by TerraMaster)
    ✔ 5x6TB WD Red Plus NAS: amzn.to/3LnbPvC
    ✔ 8GB DDR3: amzn.to/3kfLTX3
    ✔ TerraMaster F4-423 (provided by TerraMaster): amzn.to/3kjUms5
    ✔ 16GB TEAMGROUP Elite DDR4: amzn.to/3MzzFV9
    ✔ 512GB Silicon Power NVMe Caching Drive: amzn.to/3MzkBae
    All amzn.to links are affiliate links.
    /=========================================/
    Remember to leave a like on this video and subscribe if you want to see more!
    /=========================================/
    Like what I do? Want to be generous and help support my channel? Here are some ways to support:
    ✅ Patreon: dbte.ch/patreon
    ✅ PayPal: dbte.ch/paypal
    ✅ Ko-fi: dbte.ch/kofi
    /=========================================/
    Here's my Amazon Influencer Shop Link:
    ✅ dbte.ch/amazon...
  • НаукаНаука

Комментарии • 513

  • @DBTechYT
    @DBTechYT  2 года назад +27

    With regards to routing streaming services like Plex, Emby, Jellyfin, etc., here is the portion of CloudFlare's TOS that covers it:
    www.cloudflare.com/terms/#:~:text=2.8%20Limitation%20on%20Serving%20Non%2DHTML%20Content
    I'm trying to get more information about what service(s) need to be purchased as to not break TOS with CloudFlare.

    • @accelmr5926
      @accelmr5926 2 года назад +2

      Someone already knows this? I'm a bit paranoid of getting banned.

    • @zlatizlatev8632
      @zlatizlatev8632 2 года назад

      Hey again,
      Do you have any updates here? Thank you in advance!

    • @DBTechYT
      @DBTechYT  2 года назад

      @@zlatizlatev8632 unfortunately nothing more than is on their website

    • @zlatizlatev8632
      @zlatizlatev8632 2 года назад

      @@DBTechYT I guess that means we shouldn't use this for Plex or Emby, right?

    • @DBTechYT
      @DBTechYT  2 года назад +1

      @@zlatizlatev8632 Based on their terms, that's correct

  • @astronemir
    @astronemir 2 года назад +14

    A note for those doing this fresh, cloudflare takes up to 24 hours (or more) to verify new domain names, and during this time you will NOT be able to set up a self-hosted application. However you can do the rest of the instructions.
    Also if you use portainer the docker run command will show up if you run it in the host machine of portainer, so just do that. Trying to make a docker compose for this that exposed the right network correctly was a nightmare for me :D

    • @ankitk3487
      @ankitk3487 Год назад

      I directly run docker run command in my machine. I have portainer setup. Should I go thorough that? Also, cloudflare is taking more than 24 hours. Is it expected?

  • @claudiopgjr
    @claudiopgjr 2 года назад

    Great Video! Thank you for sharing!

  • @francisbins
    @francisbins 2 года назад

    I like to know how use a path like db3tech/path, i tried simple put in public hostname setup but gives me 404 error

  • @FlashWreck8888
    @FlashWreck8888 2 года назад

    Can I use cloudflare tunneling with plex media server?

    • @DBTechYT
      @DBTechYT  2 года назад

      Technically yes, but it goes against CloudFlare's TOS and they could terminate your CloudFlare account

    • @FlashWreck8888
      @FlashWreck8888 2 года назад

      @@DBTechYT ah darn, that's sad, my isp put me behind cg nat so there's no way to access plex remotely.

  • @dizaster777
    @dizaster777 Год назад +9

    I've been banging my head to overcome this with wireguard for days, then I reach this video and make it work within 5~10 minutes... Great job and THANK YOU!

  • @Squallyon
    @Squallyon 2 года назад +5

    Great video David, thanks
    Quick question: What to do with the services that need certificates to work, example adguardhome, since now that you have removed the cloudflare dns record, they cannot be requested by NPM.
    Thank you.

    • @jjaard
      @jjaard 2 года назад +1

      +1, also would like to know how to deal with certificates in this case.

  • @FuscusNox
    @FuscusNox 2 года назад +10

    Thank you very much! This is what I was looking for, as I was always a little uncomfortable opening ports in my router. Despite using NPM, Fail2Ban and other helpers. Thank you for your effort!

    • @DBTechYT
      @DBTechYT  2 года назад +3

      Glad I could help!

    • @trapOrdoom
      @trapOrdoom 2 года назад

      NPM? What exactly does the package manager do to boost security? What other helpers do you use? Other than UFW?

    • @FuscusNox
      @FuscusNox 2 года назад

      @@trapOrdoom „NPM“: Nginx Proxy Manager.

    • @latesthollywood3745
      @latesthollywood3745 Год назад

      By using this method opening port 80 is not necessary for making wp site available outside the LAN?

    • @Alex-lp6bg
      @Alex-lp6bg Год назад

      @@latesthollywood3745 was thinking the same question

  • @neonlights_12
    @neonlights_12 2 года назад +2

    Hey David! I got this working.. kind of. All my devices keep sending IPv6 addresses, so just putting my IPv4 in like you did at 13:10 doesn't work for me, it returns the access forbidden page. The tunnel works, but I have to keep adding new v6 addresses to the policy every time my PC or phone decides to change or add a new one. Any way to "prefer using IPv4"? My v4 hardly ever changes.

  • @BusterDoggyDogg
    @BusterDoggyDogg 2 года назад +4

    Excellent video. One question though - CloudFlare has a container that let's them know if your home ID has changed, so that they can always point the domain to the correct server IP.
    Is it possible to use that mechanism to restrict access to your sites to whatever is the current IP address that your ISP has given you?

    • @DBTechYT
      @DBTechYT  2 года назад +2

      There may be an API for that, but I've never looked into it.

  • @fwiler
    @fwiler Год назад +1

    I'm not sure about this under their tos.
    "you hereby grant us a non-exclusive, fully sublicensable, worldwide, royalty-free right to collect, use, copy, store, transmit, modify and create derivative works of Customer Content, in each case to the extent necessary to provide the Services."
    The problem with this, is they can claim all your content necessary to provide service.

    • @DBTechYT
      @DBTechYT  Год назад

      I've been using them for more than a decade and have never had an issue with them other than better security

  • @Hhbdjnkk
    @Hhbdjnkk 2 года назад +1

    I'm trying to configure cloudflare zero trust with traefik, and I can't manage. Did someone manage? If so, which address is pointing the tunnel to, as no ports are exposed? On the other hand, with nginx I have no problems.

    • @neonlights_12
      @neonlights_12 2 года назад

      Hey! So define "configure cloudflare zero trust with traefik". Are you trying to access a Traefik instance, or trying to use Traefik through a tunnel? What OS or environment are you using? If you mean you're trying to access your Traefik instance from another device, using a tunnel, you would just need to type in the internal IP address of whatever device is running Traefik like Dave does around the 6:00 mark. If you're trying to use Traefik as a reverse proxy to access other applications from outside your home network you don't need to, Cloudflare handles your proxy and the tunnel is the security from the outside world, see 14:12 for restricting access to only YOUR devices.

  • @naimroslann
    @naimroslann Год назад +1

    Hi sir, I'm building a TrueNAS right now. I'm not really good at this networking thingy. Right now, I do have NGINX Proxy Manager (for nextcloud) set up. So if I decided to use Cloudflare Tunnel, I don't need NPM anymore? I can just connect cloudflare to docker and point it to portainer which contains nextcloud, some web project? Thank you in advance

  • @gyzmoduck
    @gyzmoduck 2 года назад +1

    I'm trying to do this on unraid and everything gets set up but I keep getting a bad gateway error and the log says: "ERR Request failed error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: x509" Can't seem to figure this out.

  • @jpmiller25
    @jpmiller25 2 года назад +3

    I already had my domain on cloud flare and I’ve been dreading setting up a reverse proxy and integrating to the CF proxy for just a home assistant instance. This was the answer I didn’t know existed!! Thank you!!!!

    • @DBTechYT
      @DBTechYT  2 года назад

      I'm glad the video was helpful. It took me a bit to wrap my head around so I'm glad I was able to help others :)

    • @JustinLondagin
      @JustinLondagin Год назад

      It's even easier with Home Assistant. Use the Cloudflare Add-On, add a few lines of code in HAOS, and done.

  • @Gosydelix
    @Gosydelix 2 года назад +3

    Thank you for this awesome tutorial! I just have a question - does this eliminate the need for nginx proxy manager totally?

    • @DBTechYT
      @DBTechYT  2 года назад +4

      Yes it does

    • @Gosydelix
      @Gosydelix 2 года назад

      @@DBTechYT awesome! No more npm fiddeling

  • @gswhite
    @gswhite 2 года назад +1

    I have been using this solution for just over a month now, and it works perfectly. However, how do you update the docker containers to the latest cloudflared version?
    My containers are all complaingin they are running on an old version. How about a tuiturial on that :) ?

  • @GlenCavanaghNH
    @GlenCavanaghNH 2 года назад +1

    The amount of giddy I got when I accessed my self hosted stuff after disabling port forwarding... hoah yeah. HEH!
    THANK YOU!

  • @aaronplayzdagamer
    @aaronplayzdagamer 2 года назад +2

    This exactly the type of solution I have been looking for! Thanks!

  • @nharzallah
    @nharzallah 2 года назад +1

    how about dynamic ip ? with this method the ip will be autoupdated ?
    EDIT:
    Worked fine with dynamic ip, i suggest to install the cloudflared docker on vm or lxc that contain Portainer, it will automatically show on portainer dashboard and it's easy to stop & restart it

    • @DBTechYT
      @DBTechYT  2 года назад

      Glad you got it sorted!

  • @synacktime
    @synacktime 6 месяцев назад +1

    Hey DBTech, really appreciate all you do for our community! Your channel was one of the main reasons that inspired me to become a content provider. Thank you for everything!

  • @K1LLA_KING_KONG
    @K1LLA_KING_KONG Год назад

    Got this working for Unraid web GUI. But how to configure for nextcloud docker as its showing bad gateway?

  • @pevlabs
    @pevlabs Год назад +3

    This is a fantastic and thoughtful guide. I set out to do exactly this on a Raspberry Pi and your instructions worked flawlessly. Thank you for posting this!

  • @bonamin
    @bonamin Год назад

    "Once you've got your domain setup and ready to go"
    well I DON'T have it setup and ready to go, and I DON'T KNOW how to set it up.
    So the rest of this video is useless :(
    Thanks anyway.

    • @DBTechYT
      @DBTechYT  Год назад

      When you get your CloudFlare account set up and click "add a domain," CloudFlare gives you instructions on how to configure your domain.

    • @bonamin
      @bonamin Год назад

      @@DBTechYT I've read some guides online and found out the way to do it.
      Only to find more problems in the way. :D
      I've setup everything, and when I access the domain I've set, I get a "Bad Gateway" error.
      Anyway, this is far too complicated for me. I must do more research I guess.
      Thanks again.

  • @RUPAMMANDAL05
    @RUPAMMANDAL05 2 года назад +1

    Hi, I have followed this method. Hosting OMV on RPi 4. But only http tunnels are working. SMB is not working. SSH is working if it is browser rendered. Not working in SSH client. Please help. I have spent lots of hours but couldn't figure out. Please show how to tunnel SMB.

    • @animaniaTV
      @animaniaTV Год назад

      If I remember correctly, CF tunnel solution explained in this video only works with HTTP traffic, not for other TCP based services (SSH, SMB, etc.)

  • @JirkaHolas
    @JirkaHolas Год назад

    Cloudflare .... If you do not need video or photo thransfering from/to your site true it its ok but ... but there is limits and pretty Hard to find ind license agreements you must agree with ... so i prefer another more transparent services...

  • @kstehn
    @kstehn 2 года назад +1

    hey thanks for this awsome video
    i really like this setup a lot
    currently iam trying to setup some authorization method to secure my service/pages from others
    for my old setup i used in NPM http-basic (simple and quick)
    but this doesn't really work for cloudflare, so my idea was to use something like keycloak as Identity Provider which i can setup in cloudflare and keycloak itself is running as a docker container also
    but right now i am kinda stuck, i only get the auth selection screen shown from cloudflare and no keycloak login screen
    even tried SAML (guide from cloudflare itself) and OIDC
    maybe you or someone else has any idea how to get this setup working that would be awesome

    • @DBTechYT
      @DBTechYT  2 года назад +2

      I might have to make a video about adding authentication to apps via CloudFlare... :)

  • @eierund
    @eierund 2 года назад +1

    This is great! I can now access all of my HTTP services through Cloudflare tunnel, however, I am having issues with Wireguard. Is it possible to connect to my wireguard server through a Cloudflare tunnel? If so I haven't gotten it to work yet. :/

    • @DBTechYT
      @DBTechYT  2 года назад

      I'm glad you got most everything working. I haven't tried getting a wireguard server to work with tunnels, but I feel like they would actively work against each other

    • @neonlights_12
      @neonlights_12 2 года назад

      I'm not sure for your specific case, but I have Unraid's built-in wireguard going and followed David's tutorial here using the main terminal in Unraid, it set up a tunnel in the Docker, and everything works as intended. I have a Wireguard tunnel from my server to my phone, when I'm not on my home network with the VPN off I get the intended "Forbidden" page but as soon as I connect the VPN everything works. Not sure if that's what you meant but yeah.

  • @Tecactually
    @Tecactually 8 месяцев назад

    doesnt this break TOS? Is there a way to use this service without breaking TOS?

  • @mf_twisted
    @mf_twisted 2 года назад +8

    Things like this is exactly why I love cloudflare

  • @pikmok
    @pikmok 2 года назад +1

    is it free ? Becose it say it free and it ask for ccv or PayPal ?? Thx.

    • @DBTechYT
      @DBTechYT  2 года назад +1

      It is free and I've never had it ask me for billing information

    • @pikmok
      @pikmok 2 года назад +1

      @@DBTechYT in the zero luncher

    • @pikmok
      @pikmok 2 года назад

      @@DBTechYT and thx

  • @CHLEE-ou6ub
    @CHLEE-ou6ub 2 года назад +1

    Great video David, thanks
    Quick question: Does anyone have any issue when UFW is enabled ?
    (Digitalocean's Docker instance works flawlessly without UFW enabled, but cannot access with UFW enabled)
    Thank you.

  • @Gabo99
    @Gabo99 2 месяца назад

    I have followed this guide to share my Jellyfin server, but the download speed from the tunnel cap at 300KBps, streaming 1080p videos is always buffering every 1 sec

    • @DBTechYT
      @DBTechYT  2 месяца назад

      Because CloudFlare doesn't want people using their service for streaming media.

  • @khirhamzi1190
    @khirhamzi1190 2 года назад +1

    Hi can you make a tutorial how to connect ssh using cloudflare without opening ports?

    • @DBTechYT
      @DBTechYT  2 года назад

      this is a great idea!

  • @ryanjarvis3621
    @ryanjarvis3621 Месяц назад

    Greetings my fellow Canadian ! It seems that every time I restart my computer, I lose the the data. How could I make it "persistent." If that's the correct term?,

    • @DBTechYT
      @DBTechYT  Месяц назад

      I'm honored to be called Canadian, but I'm from the USA. As far as persistent storage (which is the correct term 😊), there is no persistent storage for Cloudflare Tunnels, but if you use the docker-run command they provide... well... it's not great. Try this docker-compose: dbt3ch.com/books/access-your-self-hosted-services-without-port-forwarding/page/cloudflare-tunnels-docker-compose
      Just be sure to replace the YOURTOKENHERE with the token that Cloudflare gives you in the docker run command for the setup process

  • @hynekdlouhy8121
    @hynekdlouhy8121 3 месяца назад

    When I want to install by the command from the Cloudflare, it says "docker: no matching manifest for linux/arm/v8 in the manifest list entries." :(

    • @DBTechYT
      @DBTechYT  3 месяца назад

      Because you're trying to install on a Raspberry Pi. It's not compatible with that.

  • @danielmuldoon5186
    @danielmuldoon5186 Год назад

    Could this be used to remotely view/access cctv nvr?

  • @imeverywhere4239
    @imeverywhere4239 6 месяцев назад

    Hey, this video is fantastic! Although, I’m just wanting to make sure, with this process, you can for a fact access your media from outside of your home network.
    For example, if my home server was located in California, and I went to New York, could I still access my media through the domain?
    Another question I have is, can this be used for Jellyfin? If not, what’s the reasoning?

    • @DBTechYT
      @DBTechYT  6 месяцев назад

      This method will allow you to remotely access your services from wherever you want that has an internet connection. Cloudflare used to have a section of their TOS that explicitly forbade hosting media services. They've removed that section, but I would still be careful.

  • @ChrisDePasqualeNJ
    @ChrisDePasqualeNJ 2 года назад

    I just installed a fresh install on my RPI 4 B 2022-04-04-raspios-bullseye-arm64.img.xz . But when I go to install cloudflare/cloudflared:latest I get docker: no matching manifest for linux/arm/v7. Can you help??

    • @DBTechYT
      @DBTechYT  2 года назад

      cloudflare/cloudflared:latest doesn't work with ARM processors.
      You need to go here: hub.docker.com/r/cloudflare/cloudflared/tags
      Find a tag that works with your setup. Then change cloudflare/cloudflared:latest to cloudflare/cloudflared:

  • @repairstudio4940
    @repairstudio4940 Год назад

    Nice Cloudfare 💙😎🤘
    However can I access not just the domain but my home computer without having to port forward...this seems like it's only for the domain itself and not your device...is it possible without port forwarding and SSHing ???

    • @DBTechYT
      @DBTechYT  Год назад +1

      Here's how I do it: ruclips.net/video/tg1CbMEzCsc/видео.html

  • @redstormsju777
    @redstormsju777 2 года назад +1

    Thank you for all of your work…your videos have been such a help in getting my home nas running well. This video is extremely welcomed as I’d like to not forward any ports if possible. Ill definitely be trying this out….Can i use a synology domain name?

    • @DBTechYT
      @DBTechYT  2 года назад +2

      You have to use a purchased domain that you've routed through cloudflare

  • @spiderman4604
    @spiderman4604 2 года назад +1

    So I learned to use nginx for nothing! Great find. Any benefits to using this method over nginx? Or is it just not needing any ports open?

    • @DBTechYT
      @DBTechYT  2 года назад +1

      No port forwarding. App restriction based on IP address, email address, etc. Firewall built in. SO many things you can do with CloudFlare tunnels that you can't easily do with NPM

    • @spiderman4604
      @spiderman4604 2 года назад

      @@DBTechYT I watched your video on NPM and Authelia but this seems similar and much easier. Great work!

  • @michaeldziegiel4954
    @michaeldziegiel4954 Год назад

    When trying to deploy I get Unable to find image 'cloudflare/cloudflared:latest' locally> Any thoughts or suggestions?

    • @DBTechYT
      @DBTechYT  Год назад +1

      It will always say that the first time you try to deploy a container. It has to download the assets to build the containers locally

  • @cyberbud
    @cyberbud Год назад

    Can you make a video to access Windows via RDP using cloudflare tunnel? I have installed it on Windows 10 but not able to RDP.

    • @DBTechYT
      @DBTechYT  Год назад

      You really only need to ask this one time. All new comments get posted in chronological order in the creator dashboard.

  • @rafwenger
    @rafwenger 2 года назад +1

    Great video, thanks! I am using DNS Made Easy as my name server. Do I need to switch to Cloudflare DNS for the tunnels to work or can keep my existing NS?

    • @DBTechYT
      @DBTechYT  2 года назад +1

      You'll have to switch your DNS to Cloudflare

    • @haidars
      @haidars 2 года назад

      You can also delegate a subdomain to cloudflare and keep the main domain at current name server...

  • @MetaSikander
    @MetaSikander Год назад

    do you know how to set it up with support for websocket?

  • @Sam-and-Sam
    @Sam-and-Sam Год назад

    is there any tuts for docker/portainer?

  • @_Jeremyxlewis
    @_Jeremyxlewis 2 года назад

    Ive followed this a few times yet always come to the same Error 502 bad gateway. Showing browser and cloudflare working but the host is not. Any thoughts on what the cause might be?

  • @kalitsiadischaritos4685
    @kalitsiadischaritos4685 2 года назад

    why returns " no matching manifest for linux/arm/v7 in the manifest list entries"
    What can I do to solve it. I am trying in a pi.

    • @DBTechYT
      @DBTechYT  2 года назад +1

      That error message means that it isn't compatible with Pi

  • @itdraak7531
    @itdraak7531 2 года назад

    I could not install Zero Trust because I don't have a craditcard (even though the option is free). does anyone have other options?

    • @DBTechYT
      @DBTechYT  2 года назад

      Then I think you did something wrong. I've been using it for months and have no issues. Same with lots of others, so It hink you missed something.

  • @JocelynLu-yj8ls
    @JocelynLu-yj8ls Год назад

    How can I check the url is running on tunnel?

  • @0xsh1v4
    @0xsh1v4 2 года назад

    does it automatically updates the IP address of home server, if internet provider uses dynamic IP address?

    • @DBTechYT
      @DBTechYT  2 года назад +2

      Yep. This works on dynamic IP addresses and CGNAT

  • @OldSeaDoggy
    @OldSeaDoggy Год назад

    I'm using a windows 11 box. You are showing container list but you don't show how to get there. I have no idea where to go from here.

    • @DBTechYT
      @DBTechYT  Год назад

      Windows 11 has NOTHING to do with your Docker setup unless you're running Docker ON Windows. To show the docker containers on your system, SSH into your docker server and type: docker ps

  • @Bradley-Thomsen
    @Bradley-Thomsen Год назад

    Would this work with the domain name provided by TPLink Deco?

    • @DBTechYT
      @DBTechYT  Год назад

      No. You don't have any control over the actual DNS for that domain name

  • @lucifer123ag
    @lucifer123ag Год назад

    Thank you for the video. I followed the instructions (have Ubuntu 20.04 with Portainer) but when I try to access the public URL I keep getting "Bad Request - Error code 502). Can you let me know how to debug this? I can access these locally and through NPM but accessing through tunnels is throwing up error.
    The page image depicts: You Browser (working) --> Newark Cloudfare (working) --> My domain Host (not working)

  • @sarnog
    @sarnog Год назад

    Hello DB Tech, I really hope you can help me out, since i'm struggeling for a week now to get it done.
    I'm running a proxmox server, where i have home assistant running in a VM (HAOS). In a LXC container i'm running nginx proxy manager, witch i'm trying to setup with a argo tunnel from cloudflare. I tried many ways, tried to setup docker swag, tried to setup a tunnel myself with all the info i could find on the web, but i don't get it to work. Everytime i get dnsprobe errors or to many redirections error. Anyway, i can't seem to make nginx proxy manager host my subdomains thru a argo tunnel. I really hope you can make a video on how to set it up, it would greatly help me out! Thanks in advance!

  • @alphenit
    @alphenit Год назад

    very cool @DBTechYT !!
    Do you (or anyone else) know is this also works with running your app inside Kubernetes? Would you need to expose the cloudflare agent or your app with a ClusterIP or NodePort?

  • @ChrisDePasqualeNJ
    @ChrisDePasqualeNJ Год назад

    First - Excellent RUclips Channel. Did you really quick your day job to do RUclips? Kudos to your vidio editor too. 🙂 My question is. I currently expose a random port on my firewall and then use Cloudflare Origin rule to rewrite 443 to the random rule that I have open on my firewall - then port Forward from random port to 443 to my Nginx proxy server. And now for the question. With CloudflarD Tunnels, do I still need Nginx? Cuz the last two times I installed this on my Docker it broke my RPI. Thank you and keep up the good work.
    Chris

  • @DrunkMonkeybom7
    @DrunkMonkeybom7 Год назад

    Can you make a video how to use cloudflare zero trust tunnel with nginx and authelia?

    • @DBTechYT
      @DBTechYT  Год назад +1

      They are very different systems. With CloudFlare, you don't use Nginx. CloudFlare Tunnels completely replaces Nginx

  • @BarbaraCalbert-h1y
    @BarbaraCalbert-h1y Месяц назад

    Hi sir
    I have an hp server installed windows server on it. I’m using some applications that users can connect to those through port forwarding. Im interesting to know whether I can use your method instead of port forwarding for my apps or this way is special for cloud based servers?

    • @DBTechYT
      @DBTechYT  Месяц назад +1

      You can use it just about anywhere. I use it in multiple devices in the server rack in my garage

    • @BarbaraCalbert-h1y
      @BarbaraCalbert-h1y Месяц назад

      So if an app like Output messenger uses server ip can i use this method?​​⁠@@DBTechYT

  • @royitoroy
    @royitoroy 2 года назад

    david your video is a blast bro thnaks! i have cgnat that's why I have contracted a vps with a wireguard vpn and a nginx to acces my (high videos traffic) wordpress´s and bitwarden and other stuffs... do you think this solution (free or paid) could be for me? or better than solution currently i got? or are there any kind of bandwidth limit or something bad for services of "high traffic"? hope your answer please

  • @GuItArFrEaK5112
    @GuItArFrEaK5112 Год назад

    QQ. After setting up the docker container and making the connection with cloudflare, how can maintain running? If I ctrl+c out of the 'docker run . . .' in the terminal, the connection servers and am unable to use the tunnel anymore

  • @truedezignstudio
    @truedezignstudio Год назад

    do i need to do https when the pad lock is working? pros cons? how to do it as https and disable TLS 1.0

    • @DBTechYT
      @DBTechYT  Год назад

      you only select the https option if the container has an SSL built into the container and then only if you're pointing your tunnel to that https port in the container. If there's no SSL built into the container, then you do NOT user the https option

  • @erhancevik3517
    @erhancevik3517 Год назад

    Hi There, if is possible use Cloudflared and TVHeadend Streams ?

    • @DBTechYT
      @DBTechYT  Год назад

      Check the pinned comment

  • @travisbrennan90
    @travisbrennan90 Год назад

    I successfully set up a tunnel. The only issue I have is that it redirects to my domain with the port number shown. I can't seem to find any information on this. Any ideas?

  • @ChrisDePasqualeNJ
    @ChrisDePasqualeNJ 2 года назад

    Great Stuff - I will try it on my Pi first then I want to add it to my contabo vps. For that I wonder if I added FW to block all trafic will it still let the Cloudflare access tunnel through?

  • @NovaCayn
    @NovaCayn 2 года назад

    wordpress worked like a charm but nextcloud was having issues. so I had to resort back to NGINX

  • @MRPtech
    @MRPtech 2 года назад

    Hi, Me again :)
    Do you know if i Cloudflare Tunnel will allow to set up subdomains for different local IPs instead of being one Docker IP.
    Example, i would like to have DOMAIN pointed to local_ip_1 but subdomain like plex (dot) domain or cloud (dot) domain to point to local_ip_2

    • @DBTechYT
      @DBTechYT  2 года назад +1

      I have one tunnel with agents on mutiple devices and I point to different IPs that way

    • @MRPtech
      @MRPtech 2 года назад

      @@DBTechYT Amazing. Thank you for quick example. RESPECT !

  • @zeusro163
    @zeusro163 2 года назад

    I'm sure I'm missing something obvious, but what do I need to do so that it will auto-start? I think I need to add the restart policy, but I'm not sure where I add it in the copy/paste I get from cloudflare. Any ideas? --restart unless-stopped

  • @jfmalygos
    @jfmalygos 2 года назад

    thanx for the Video! how can i tunnel "rustdesk" it needs a lot of Ports 21115-21119? any idea?

  • @B.4113n
    @B.4113n Год назад

    hey what's up dawg, your public ip is showing on the video.

    • @DBTechYT
      @DBTechYT  Год назад +1

      Not my IP any more. It's been changed a few times since then ;)

  • @itsathejoey
    @itsathejoey 2 года назад

    Will this work with Kasm?

  • @nolasaint638
    @nolasaint638 Год назад

    Great video, can you please show how to setup and use RDP with cloudflare zero trust. Thanks

  • @123saurabhnaik
    @123saurabhnaik 2 года назад

    is there any service can use for VPN ? like accessing HomeLab server using VPN without port forwading ?

    • @DBTechYT
      @DBTechYT  2 года назад

      that's what this is

    • @123saurabhnaik
      @123saurabhnaik 2 года назад

      @@DBTechYT but we are exposing as a website, i want VPN

  • @lobeliabaggins8782
    @lobeliabaggins8782 2 года назад

    I was about to deploy Cldflr tunneling for my services and specially that email authentication will come in handy. Thx.
    Ps. Is it just me that seeing monitors so high I hope your neck won't break😉

    • @DBTechYT
      @DBTechYT  2 года назад +1

      I've since adjusted my monitor setup and it's much better now :)

    • @lobeliabaggins8782
      @lobeliabaggins8782 2 года назад

      @@DBTechYT good 4 you! Keep it simple keep it safe👍

  • @jimdoss191
    @jimdoss191 2 года назад +1

    Are you still using Nginx-Proxy-Manager with this solution, or does this solution eliminate the need for that component? My other question is do you have a separate cloudflare tunnel for each server where you have services that are exposed to the internet?

    • @DBTechYT
      @DBTechYT  2 года назад +2

      This removes the need for NPM. You'll need to install the tunnel agent on each device you want to access, but you can have multiple devices attached to 1 tunnel if you want.

    • @cloud2050
      @cloud2050 2 года назад

      Great video as usual. I have a similar setup with cloudflare Argo tunnel and using NPM which ibracorp covered on his channel.

    • @nathanblieschke549
      @nathanblieschke549 2 года назад +1

      @@DBTechYT a question around this in that case... I have setup NPM with Authelia for my services as in one of your previous videos. Are you able to do a video around migrating authelia from NPM to using this cloudflare tunnel instead? I love the idea of this tunnel but I'm worries it will take away too much flexibility.

    • @thebrandonrussell
      @thebrandonrussell Год назад

      @@cloud2050 From what I read on Cloudflare's website, "Argo Tunnel" was changed to "Cloudflare Tunnel".

  • @ChiekoGamers
    @ChiekoGamers Год назад

    Port forwarding is an inconvenient mess. I still can't believe we are doing port forwarding in 2022.

  • @iamrage4753
    @iamrage4753 Год назад +2

    The only issue i can see using this is if you decide to use it for remote access to a plex/jelly server as from what I read it is against TOS they have

  • @mbradley50
    @mbradley50 2 года назад

    I’m on cgnat, can cloudflare tunnels allow hosting a vpn access? I can’t figure it out.

  • @fredzibulski3111
    @fredzibulski3111 2 года назад

    Got it to work. Wanted to know how I would get this working with Authelia?

    • @DBTechYT
      @DBTechYT  2 года назад

      I'm not sure that you can without a LOT of extra work

  • @gswhite
    @gswhite 2 года назад +5

    I love this tutorial. Absolutely brilliant!!
    I spent the afternoon moving from NGINX to this service and switched off my port forwarding, which should lower and decrease my attack vector.
    Thanks again!

    • @DBTechYT
      @DBTechYT  2 года назад +3

      I'm really glad it was helpful!

    • @Otomai
      @Otomai Год назад

      @@DBTechYT How is this different from NGINX with Cloudflare Dyndns with your own domain? (Honest Doubt)

    • @DBTechYT
      @DBTechYT  Год назад

      @@Otomai This removes the need for port forwarding. This removes the need for NGINX entirely. By switching to this, my network is more secure AND my internet-facing apps are more secure becasue I don't have to open ports and Cloudflare is actively monitoring the traffic to prevent bots and attacks.

    • @Otomai
      @Otomai Год назад

      @@DBTechYT Oh, I see, thanks!

  • @edgardoirizarry9997
    @edgardoirizarry9997 Год назад

    Hey buddy, I’m going back to this video to see if there was a hint on how to host all applications using one tunnel. I had to instal 6 different containers to host each one of my dockers without open ports. It’s possible that you can point me on what I have to do to just use one instead of a separate one per application. Thank you.

    • @DBTechYT
      @DBTechYT  Год назад +1

      I've had this come up a few times recently in comments. I'm going to make another video about Tunnels this week.

    • @edgardoirizarry9997
      @edgardoirizarry9997 Год назад

      @@DBTechYT I will really appreciate it. Thank you very much.

  • @mbradley50
    @mbradley50 2 года назад

    I’ve sent this to so many people since starlink became available in our area. Have you ever considered a video targeting CG-Nat especially Starlink and fixed wireless internet?

  • @bridgetrobertson7134
    @bridgetrobertson7134 2 года назад +1

    Most important video you've done in a while. Just wish Cloudflare didn't have a monopoly on literally everything like this.

    • @DBTechYT
      @DBTechYT  2 года назад

      There are other companies doing similar things, but CloudFlare really is a beast as far as their offerings :)

  • @sidneyking11
    @sidneyking11 2 года назад

    @DBTech if this feature is enable do you still use authelia?

    • @DBTechYT
      @DBTechYT  2 года назад

      Possibly, but I'm not sure what that process would look like

  • @lifeassuch6128
    @lifeassuch6128 2 года назад +1

    Great video David! Can you do a video with Jellyfin on OMV6 in a cloudflare tunnel with all the paths?

    • @DBTechYT
      @DBTechYT  2 года назад +1

      Possibly!

    • @lifeassuch6128
      @lifeassuch6128 2 года назад

      @@DBTechYT I can’t wait then. And thank you very much

    • @MarekPavelka
      @MarekPavelka 2 года назад

      If I understand correctly, video streaming is not allowed and your account may be banned.

    • @DBTechYT
      @DBTechYT  2 года назад

      That's interesting. I'm using it for Emby without issue.

  • @hazthematt
    @hazthematt 2 года назад

    Does this method still require SSL certificates being created? Im pretty new to this stuff.

    • @DBTechYT
      @DBTechYT  2 года назад +1

      Nope. This method takes care of all that automatically.

    • @hazthematt
      @hazthematt 2 года назад

      @@DBTechYT thank you for the reply!
      I’ve been trying to set up next cloud container via this way and it’s been a nightmare lol

  • @leebuckley4873
    @leebuckley4873 8 месяцев назад

    Hi do you have to put the couldflare into the directory folder as your docker for your website ?

  • @DavidBlankenship
    @DavidBlankenship 2 года назад +1

    I really enjoy your videos - always cover the things most relevant to my interests!

  • @Breeegz
    @Breeegz Год назад

    So.. with these tunnels, could you tunnel into an Nginx Proxy and maintain all the SSL Certificates?
    I am administrating a server at my Brother's house remotely (900 miles away), and he wants NextCloud. His internet is on Starlink, and they don't have any way to port forward. I tried to get SSL's to work over SSH tunnels maintained by the autossh docker image (which is how I remotely access his server), but I couldn't get it to work. If I could get reliable remote access for him, then I could open up a bunch of different services that he could use.

    • @DBTechYT
      @DBTechYT  Год назад

      This completely removes the need for Nginx Proxy Manager. It handles its own SSLs

    • @Breeegz
      @Breeegz Год назад

      @@DBTechYT Neato! So I'll need a separate tunnel for each app? I only plan on one at his house, just wondering for future possibilities.

    • @DBTechYT
      @DBTechYT  Год назад

      I've got 19 apps running on a single tunnel, so I think you'll be okay :)

  • @MarkConstable
    @MarkConstable 2 года назад

    I'm a bit late to the party, but what options (Cloudflare or not) are available to pass through IMAP and SMTP ports?

  • @shailesh.kharche
    @shailesh.kharche Год назад

    Wonderful ... So well explained 😀✌... Thanks a lot 🙏.

  • @DJ0ScHiMMeL
    @DJ0ScHiMMeL 2 года назад

    Would this work to access VMs? Either over noVNC or the Spice protocol?

    • @DBTechYT
      @DBTechYT  2 года назад

      As long as you set up the right connection type when configuring your hosts in CF, you should be able to

    • @DJ0ScHiMMeL
      @DJ0ScHiMMeL 2 года назад

      @@DBTechYT Thank you, I'll defo try it and let you know if it worked

  • @ricgondo
    @ricgondo 11 месяцев назад

    Great video! Can you also do this for a SQL Server?

  • @perfect.stealth
    @perfect.stealth Год назад

    Even with the help of this video, i still have trouble setting this up.
    I can only get the / path to work. Anytime i add a path after the domain it returns a 404.
    Also, i don't understand what the application is exactly. Why do we both add a Tunnel AND an application? Should applications just be considered a firewall, and tunnel considered an app?

    • @DBTechYT
      @DBTechYT  Год назад

      This video might be more helpful ruclips.net/video/Q5dG8g4-Sx0/видео.html

  • @GadingReno
    @GadingReno 6 месяцев назад

    rispek

  • @rkbest9783
    @rkbest9783 2 года назад

    quick question! you added the port 6999 for specific service on the same docker instance where cloudflare container is running. what if I want to use another VM with different IP and port (in my case homeassistant ip x.x.x.20:81234)?

    • @DBTechYT
      @DBTechYT  2 года назад

      You have to install the tunnel agent container on whatever device you want access to.

  • @cmcdonough2
    @cmcdonough2 Год назад

    Thank you for your content. Its really helpful and to the point no filler. I have a question for you. I was able to follow your tutorial on setting up the tunnel but I can make post requests to my url. I have tried to figure it out with no luck. Do you have a video or recommendation to fix this? Thank you.

  • @mrbarrington-smythe9033
    @mrbarrington-smythe9033 Год назад

    This is amazing. Will certainly be trying it out. Is there a way the allowed IP can automatically be updated, as I don't have a fixed IP with my ISP. Thanks

    • @DBTechYT
      @DBTechYT  Год назад

      I know there's a DDNS container that can be used to update regular A Records, but I'm not sure about updating allowed IPs. The one thing I've done for when I'm away from home is that I've got a PIA VPN account with a dedicated IP. That might be an idea until another method is available. If you want to try that, here's my PIA affiliate link: dbte.ch/piavpn

  • @glassman3333
    @glassman3333 Год назад

    For the sake of argument I’ll assume the port forwarding was for a reverse proxy. Assuming that, would this tunneling scenario take the place of a reverse proxy?

    • @DBTechYT
      @DBTechYT  Год назад

      Your assumptions are correct