this post was submitted on 25 Oct 2023
33 points (76.2% liked)

Selfhosted

39964 readers
284 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 9 points 1 year ago (1 children)

Tailscale is your friend, and stupid simple!

[–] [email protected] 4 points 1 year ago (1 children)

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

[–] [email protected] 4 points 1 year ago (1 children)

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

[–] [email protected] 2 points 1 year ago (1 children)

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

[–] [email protected] 8 points 1 year ago* (last edited 1 year ago) (2 children)

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.

[–] [email protected] 2 points 1 year ago

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 !

[–] [email protected] 2 points 1 year ago

Awesome. I didn't know about this. Thank you