How to setup my own home server and make it available to anyone?

khoi@slrpnk.net to Selfhosted@lemmy.world – 33 points –

I'd like to have my own server at home sorta like a home AWS.

How to set up one and make it available to anyone over the Internet? What tech specs should I buy (RAM, CPU, # of cores, operating system, etc.)?

How much does it cost to keep one running all the time?

41

You are viewing a single comment

If OP wants to expose it to the public, tailscale isn't an option. Cloudflare tunnels is the way to go.

Tailscale Funnels expose whatever service you have running to the public. I personally use this, so yes, it is an option.

Are these part of the official tailscale protocol? Do you have a link to documentation or something?

https://tailscale.com/kb/1223/tailscale-funnel/

It's like a reverse exit node. Tailscale sets up a DNS domain for you and directs TCP connections (encrypted) to your designated node.

The big downside is that they only offer the use of their own (sub)domains and you use their HTTPS certificates, you can't use your own domains/own certs.

Edit: it may be possible to forgo the use of their certs and instead set up a CNAME record in your DNS that points at the funnel node's address, and add your own certs (for your domain) in a reverse proxy running on the node. I haven't tried.

I'm personally using headscale, would be interesting to see if they have that. I guess I can also reverse proxy from my vps into my tailnet.

Thanks !