I plan to selfhost nextcloud, for now just for bookmark sync. is there a point to installing a vpn on the computer running the instance? it shouldnt matter as long as i have https right? what about if i dont have a domain? i cant have https without a domain (ill buy one later just want everything to work first). or maybe use one of those free domain providers for now to get https? what do you guys think?

milkytoast
creator
link
fedilink
210M

i would need to open a port even if i were to use a domain name correct? would hiding the ip behind a reverse proxy be enough? is nextclouds brute force protection not enough?

@BearOfaTime@lemm.ee
link
fedilink
English
010M

A reverse proxy helps, a LOT, like practically eliminating the issue because authentication happens at the proxy, not your port. I’ve never set one up, but I think your local system makes an outbound connection to the proxy, creating the tunnel. In this way no one ever knows what they’re really connecting to - the proxy appears to be the endpoint.

Which is essentially what Tailscale Funnel does - they expose an interface, then encrypt a tunnel between your Tailscale network and that “proxy”.

Same concept, just all rolled in to one thing, a check box and a little config info. TS Funnel will create the url to access your service. I suppose you could create another domain/url and have it redirect (or use a link shortener) to make it easier to share. I think by default it uses your Tailscale network name as the domain, and adds to it to define the service.

https://tailscale.dev/blog/funnel-serve-demo

milkytoast
creator
link
fedilink
210M

first I have to find out if my ISP will even let me open a port lol

thanks tho :)

@BearOfaTime@lemm.ee
link
fedilink
English
-110M

When you do something like Reverse Proxy or Tailscale, your devices make an outbound connection to the Reverse proxy (or with Tailscale it goes to their auth/directory service) using UPnP.

UPnP is standard protocol these days, and how pretty much any communication or gaming app works. The port opening is performed dynamically by the router, the port number is different every time an outbound connection is made, and it’s ephemeral (both in the range and that the port closes after the session is complete). This isn’t something that’s typically blocked or disabled, as it would break all sorts of things.

https://en.m.wikipedia.org/wiki/Universal_Plug_and_Play

I may have misstated exactly how it works - I studied it when it was released, it became ubiquitous and always works, so I haven’t stayed current or reread anything for a while. It just works (and man has it saved me a ton of manual port config).

MaggiWuerze
link
fedilink
English
110M

The fact, that I have to enable it on a device by device basis on my router speaks to the opposite. You shouldn’t let some app open random ports on your router and you didn’t need to do so for years

MaggiWuerze
link
fedilink
English
110M

Where do you live and whats your router?

milkytoast
creator
link
fedilink
110M

Illinois, USA, the one xfinity gave me

milkytoast
creator
link
fedilink
110M

ugh so I gotta use the app? ew

MaggiWuerze
link
fedilink
English
110M

Does the thing not have a web interface? Usually 192.168.178.1 should get you there

milkytoast
creator
link
fedilink
210M

yea it does, couldn’t log in tho, idk. maybe I messed up user or something

I’ll try some stuff when i get home

Create a post

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!

  • 1 user online
  • 136 users / day
  • 427 users / week
  • 1.16K users / month
  • 3.85K users / 6 months
  • 1 subscriber
  • 3.68K Posts
  • 74.2K Comments
  • Modlog