this post was submitted on 13 Nov 2024
187 points (96.5% liked)

Selfhosted

40296 readers
344 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 never could get Nix working but maybe someone will

you are viewing a single comment's thread
view the rest of the comments
[–] tatterdemalion@programming.dev 42 points 1 week ago* (last edited 1 week ago) (4 children)

Wireguard is p2p.

EDIT: I guess the point is it's doing peer discovery without static public IPs or DNS. Pretty cool!

[–] infeeeee@lemm.ee 10 points 1 week ago* (last edited 1 week ago) (1 children)

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

[–] offspec@lemmy.world 2 points 6 days ago (1 children)

Technically you can nat punch with wire guard

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

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

[–] tehfishman@lemmy.world 3 points 6 days 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.

load more comments (2 replies)