this post was submitted on 13 Nov 2024
190 points (96.6% liked)

Selfhosted

40697 readers
316 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 2 years ago
MODERATORS
 

I never could get Nix working but maybe someone will

you are viewing a single comment's thread
view the rest of the comments
[–] infeeeee@lemm.ee 10 points 1 month ago* (last edited 1 month ago) (1 children)

Or port forwarding. You have to open a udp port for wireguard

[–] offspec 2 points 1 month ago (1 children)

Technically you can nat punch with wire guard

[–] possiblylinux127@lemmy.zip 6 points 1 month ago (1 children)

How do I learn this power? Don't you still need at least one server exposed?

[–] tehfishman 3 points 1 month ago

Afaik you need some external resource to coordinate the punch. The STUN protocol is purpose built for this, and both clients need to be able to reach a STUN server to coordinate which port and public IP they'll try to connect to each other on. I assume this does something similar but with p2p network tech instead of a STUN server.