Comment on tailscale vs cloudflare tunnel? which is better a homelab
lud@lemm.ee 1 year agoWireGuard wouldn’t work with CGNAT. The two servers can’t connect. I can’t get it to work anyways.
If it weren’t for CGNAT, are you saying that OP could connect all their servers to the VPS using WireGuard and then OP could connect to the VPS? In that case it seems easier to just host a wireguard on one of the servers at home and I highly recommend doing that if you don’t need to deal with CGNAT.
I think you could host your own Tailscale server on a VPS and then use tailscale on the servers and your client computers/mobile to bypass CGNAT. That’s basically what I am doing right now, except I haven’t hosted my own Tailscale server.
Raisinbrand@lemmy.dbzer0.com 1 year ago
I think you have a misunderstanding about wireguard clients.
As long as the server isn’t behind a cgnat, a connection from the client to the server can be made. It does not matter if the client is behind a cgnat or not. If that were true, privacy vpns like proton and mullvad would not work.
That said, tailscale is easy to setup compared to a wireguard tunnel, but wireguard has potentially more performance because tailscale uses wireguard-go rather than wireguard kernel.
lud@lemm.ee 1 year ago
I haven’t tried reversing it like that, but I was under the impression that there were no specific servers or clients in WireGuard land and that both devices had to connect to each other and authenticate.
I have never really thought about how the servers of VPN providers are supposed to work if this was the case.
I guess I just got confused when I tried setting it up someday.
I haven’t benchmarked it personally but apparently tailscale and WireGuard are very similar in performance due to optimization done by tailscale. I think they wanted to push the improvements upstream but I am not sure if that happened or if it’s still waiting.
Raisinbrand@lemmy.dbzer0.com 1 year ago
I believe performance is situationally dependent, so it may or may not be faster, but it theoretically is. I personally choose wireguard over tailscale because it’s one less 3rd party involved, not for potential performance increases.
lud@lemm.ee 1 year ago
That’s fair. I use Wireguard somewhere else for the same reason.