this post was submitted on 24 Oct 2023
36 points (92.9% liked)

Selfhosted

40198 readers
625 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Hi, I moved this year to another city, because my internet provider didn't give me a dedicated ipv4 address I can't use a dyndns like duckdns. Another thing to mention is, that I have a dslite tunnel. So I can't set up dyndns...

So my recent setup is a truenas server sitting under my desk. This is connected via cloudflared to the cloudflare tunnel. There I have my services like seafile or nextcloud configured. They are all pointing to a traefik instance that routes the traffic to the right container.

So to summarize what I have:

  • Truenas server
    • multiple services
  • dslite tunnel
  • own domain
  • Cloudflare tunnel
  • v-server
    • Nginx
    • docker

To visualize the route the traffic is going

Internet - cloudflare tunnel - cloudfared docker - traefik docker - service (nextcloud) docker

So I want to setup something on my v-server that routes the traffic to my homeserver (truenas)

Internet - DNS (cloudflare) - v-server - (magic docker service on truenas) - traefik docker - service (nextcloud) docker

Does someone have an idea how to solve this?

you are viewing a single comment's thread
view the rest of the comments
[–] Apollo2323@lemmy.dbzer0.com 2 points 1 year ago (3 children)

This question is not related to the question you ask but where did you learn to configure traefik? When I try it out I didn't understand how to route traffic through that.

[–] Dave811@lemmy.today 1 points 1 year ago (2 children)

So I use traefik on my truenas server from the truecharts catalogue. If you need help there I can send you the corresponding links from the truecharts website later, I am not at the computer right now.

[–] Apollo2323@lemmy.dbzer0.com 1 points 1 year ago (1 children)

I will really appreciate if you send me the links! The image is broken and not loading :(

[–] Dave811@lemmy.today 1 points 1 year ago

So here is the setup for truecharts with traefik and the things needed for proper truecharts setup: https://truecharts.org/manual/SCALE/guides/getting-started

Do you also use cloudflare tunnel?