Comment on Need help with port forwarding and Cloudflare DNS records
chiisana@lemmy.chiisana.net 1 year ago
You’d need more than their DNS, as DNS cannot forward ports for you (and before anyone mention SRV records, no, it just tells supported applications which port to use; it does not and cannot externally reassign the port used).
I believe the tool for the job here is the Zero Trust Tunnel; in the Dashboard, on the left, look for Zero Trust, and then on the new dashboard, go Access > Tunnels to setup the tunnel. Documentations are here: developers.cloudflare.com/…/connect-networks/
Tywele@lemmy.dbzer0.com 1 year ago
Currently I am using Cloudflare Tunnel to access my server remotely. But with this I’m always accessing my server through the tunnel even when I’m at home.
chiisana@lemmy.chiisana.net 1 year ago
If that is a concern (I don’t see much of an issue, but everyone’s got different requirements, so no judgment here at all), then you’d probably want to setup a recursive DNS server inside your network, configure that DNS server to resolve those internal services to your intranet IP address, when it cannot resolve, it recurses to a public one (ie ISP, CloudFlare, quad 9, Google etc). Then, change your network’s DNS to that internal one, so when you’re on your network, you get internal IP address while off network you get CloudFlare tunnel routing.
Tywele@lemmy.dbzer0.com 1 year ago
I think I got it working now. The last time I tried I couldn’t get it to work.
uninvitedguest@lemmy.ca 1 year ago
I don’t have your specific port issue, but it sounds like the setup I have would get around your ISP port restrictions as use CloudFlare tunnels externally, LAN internally, and no ports open.
lemmy.ca/post/2804502