i am shipping a truenas scale server to a very non-technical person which i plan on managing remotely. what i want him to do is simply unpack it and plug it into the router. thats it. thats all he is capable of. so i need to be able to access the webgui without any router modifications. enter cloudflare tunnels, which do exactly this.
the problem is, i dont know what ip the router will give the server (i cant use a static IP for the server bc i dont know what address range is being given out by the router and which addresses have already been allocated). now, i know i can use container names in the tunnel for apps. for example, for wireguard, i can use wg-easy.ix-wg-easy.svc.cluster.local:51821 as generated by https://truecharts.org/manual/guides/linking-apps <- this guide and it works! the issue is the webgui isnt an app.
[[also i know the external-services app exists, and ive tried that and it works, but it wants me to specify the ip and port of the service it wants to expose, and i dont know the ip the router will give it]]
how do i point the cloudflare tunnel at port 80 without specifying the private IP?
thanks all.
the problem is, i dont know what ip the router will give the server (i cant use a static IP for the server bc i dont know what address range is being given out by the router and which addresses have already been allocated). now, i know i can use container names in the tunnel for apps. for example, for wireguard, i can use wg-easy.ix-wg-easy.svc.cluster.local:51821 as generated by https://truecharts.org/manual/guides/linking-apps <- this guide and it works! the issue is the webgui isnt an app.
[[also i know the external-services app exists, and ive tried that and it works, but it wants me to specify the ip and port of the service it wants to expose, and i dont know the ip the router will give it]]
how do i point the cloudflare tunnel at port 80 without specifying the private IP?
thanks all.