Hacker News new | ask | show | jobs
by tra3 1507 days ago
This is really cool. So I just exposed an instance of next cloud, but it requires an email verification before being accessible. Super cool.

Is the cloudflared smart enough to route connections locally? Hm, not sure how that would work.

I'm sitting at home, but accessing my nextcloud through the cloud flare. Is there a way to get it to talk to nextcloud locally or is it going through the net?

1 comments

> Is the cloudflared smart enough to route connections locally? Hm, not sure how that would work.

Do you mean have cloudflared expose your local server locally? No. It's just a reverse proxy of sorts between cloudflare's network and your local server.

What you want can be achieved with local DNS, so that nc.tra3.com resolves to <cloudflare-ip> from outside and to 192.168.1.2 from inside. But you should probably also have a local certificate for this to be fully transparent.