2

I'm pretty new to traefik, but I have a basic understanding and got everything setup. Setting up Netbootxyz, is it bit more complicated. It has 3 ports 3000, 69 (UDP), and 80.

I added routers rule , entrypoints, and tls.certresolver for both 3000 and 80, and set 80 to be web instead of websecure for entrypoint. I also added services loadblancer for each to so it knows which port since there is more than one. (I usually don't add load balancer as there is only one exposed port).

I haven't tested this yet, as I don't know what to do about 69/udp. If I leave it at 69:69/udp, I don't think it will work as it won't resolve the URL and proxy through traefik, but not sure how I should set up Traefik for it.

I would like all ports to respond on the FQDN.

So far my traefik labels look like this.

```

ports:

- 3000

- 69:69/udp

- 80
labels:

traefik.http.routers.netbootxyz.rule: Host(``)

traefik.http.routers.netbootxyz.entrypoints: websecure

traefik.http.routers.netbootxyz.tls.certresolver: myresolver

traefik.http.services.netbootxyz.loadbalancer.server.port: 3000

traefik.http.routers.netbootxyzassets.rule: Host(``)

traefik.http.routers.netbootxyzassets.entrypoints: web

traefik.http.routers.netbootxyzassets.tls.certresolver: myresolver

traefik.http.services.netbootxyzassets.loadbalancer.server.port: 80

```

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here
this post was submitted on 12 Nov 2023
2 points (100.0% liked)

Self-Hosted Main

504 readers
1 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.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS