netbird and traefik
i have a traefik instance running currently with ports 80 and 443 forwarded. now i want to close those ports and only be able to access it while on my netbird network (while still keeping the domain with ssl) so in short i want it only to be accessable when i use netbird but not using its netbird domain (traefik.netbird.cloud) but traefik.example.com. is this possible? i am using the could version right now. for more info about my infrastructure.
Its a proxmox server with lxc-containers. all containers have access to the traefik container (every container has the ip 10.10.10.(lxc-id)) and traefik has a netbird client running. my idea is to have traefik listen on the netbird id. and somehow tell traefik to route *.example.com to the traefik netbird ip
2 Replies
host
header to see the domain being used to connect.I just told cloudflare dns to resolve to netbirds ip. Aint pretty but it works. Next i want to try with a private dns but that will be later.