Selfhosted
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:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
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.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
view the rest of the comments
If Wireguard loses its connection, it doesn't automatically requery the host and reconnect AFAIK. So if name resolution fails, or you're on dynamic DNS and the IP changes, it's not going to fix itself.
@[email protected] the name resolution is not the issue, the ip hasn't changed
Could it be that the domain name has both IPv4 and IPv6 and depending on the network you try to reach one or another? Wireguard can work on both protocols, but from my experience it doesn't try both to see which one works (like browsers do). So if at the first try the dns resolves the "wrong" IP version, wireguard cannot connect and doesn't fallback trying the alternative.
Then try setting PersistentKeepalive on the client
@[email protected] no, the issue is not keepalive, since it cannot connect in the first place... moving to another wifi (instead of celullar) works fine, so it is not a problem with my configuration.
You might want to put these pertinent details in your post.
If you're on a cellular network that has CGNAT, Wireguard may not be able to work. Same deal if it's an IPv6 network.
@[email protected] Thanks, but I did
I guess tailscale will have to do
Tailscale is Wireguard. If it works, then something is wrong with your Wireguard configs.
@[email protected] Tailscale is way more than WireGuard but ok
Friend...Tailscale uses the same Wireguard protocol as everything else. If Tailscale is working, but your solo configs aren't, it's not a Wireguard problem, it's a config problem. Guaranteed.
@[email protected]
I never said my config is not working, I said sometimes (some cellular connections, but not all) it is not working, that is a huge difference.
I highly recommend you educate yourself a bit https://tailscale.com/compare/wireguard
https://tailscale.com/blog/how-tailscale-works#DERP
TLDR
Tailscale is built on TOP of Wireguard, but has a few goodies that Wireguard doesn't provide.
Lol. You just don't get it.
@[email protected] OK 🤷♂️