I am running traefik v2 on my qnap and I would like to limit access to only a few containers to be available from the outside (internet) - the rest of the containers (or services) should only be available from my internal IPs and should ideally throw an error when accessed from somewhere else.
Sorry I havne't been able to look into this earlier, but a quick question on this middleware, as I couldn't find the information.
Wouldn't I have to make changes to my internal DNS in order to be able to reach traefik from my internal network?
Like I currently have all of Cloudflares IPs whitelisted + my local lan IPs. I guess because I am hosting the domain on cloudflare the dns would always go out unless I tell my DNS server to look for that particular host locally and not go out to the internet?
That is certainly what I would do on the local network. It is possible to do it via internet, but why would you want to? QNAP would generally mean a file server / media server. You don't want to be going all the way out and back for these things when they are on your local network.