Wireguard is blocked in my country, so I no longer can use Tailscale or other Wireguard-based solutions. My home server is behind a NAT. What other ways of secure private connection can I use?

  • alienghic@slrpnk.net
    link
    fedilink
    English
    arrow-up
    7
    ·
    6 days ago

    Can you set your NAT to port forward a port to your ssh host?

    I’m currently using yggdrasil to deal with this problem, though I’ve also used tor hidden services.

  • sandwichsaregood@lemmy.world
    link
    fedilink
    English
    arrow-up
    14
    ·
    7 days ago

    Sing-box is a VPN tool built to evade censorship https://github.com/SagerNet/sing-box . It is extremely resilient and stealthy.

    See also, xray and v2ray, which are similar, but in my experience sing-box is a bit better documented (at least in English) and has better maintained client apps.

    Setting any of these up can be complicated, but LLMs can get you pretty far if you have safe access.

  • Evil_Incarnate@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    5
    ·
    6 days ago

    Zerotier. They have their own protocol, and there’s a free tier that lets you connect up to ten machines to make a network.

    Also possible to selfhost, although I haven’t done it.

  • ohshit604@lemmy.halstead.host
    link
    fedilink
    English
    arrow-up
    5
    ·
    6 days ago

    Out of curiosity, how is WireGuard blocked in your country? I would assume you cellular provider and or ISP sniffs for the default port (51820) - can’t you just put it on another port?

  • iocase@lemmy.zip
    link
    fedilink
    English
    arrow-up
    5
    ·
    6 days ago

    I haven’t tried it myself but I’ve been looking at NetBird.

    Elevator pitch page

    Maybe others who’ve used it or know more can chime in on if this is a good idea or not?

    • myszka@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 days ago

      Yes, I’ve tried that, but it’s not robust enough. This is what I’ll eventually resort to, if I don’t find a better solution.

  • q7mJI7tk1@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    7 days ago

    So this has been interesting to me as I’m travelling at the moment and wireguard has been blocked on the guest wifi I’ve been on across the hotels, I’ve had to rely on cellular instead.

    I’ve just tried Teleport on my Unifi router and that works. I believe it uses wireguard, and it is taking up to 20secs to connect, but I’m now curious as to what it’s doing to bypass the VPN restrictions that are blocking plain wireguard.

    • kalpol@lemmy.ca
      link
      fedilink
      English
      arrow-up
      2
      ·
      7 days ago

      How is this even a thing? Businesses can’t just have open network connections.

      You could set up wireguard via stunnel maybe to port 22

  • measureyoucanpleasure@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    3
    ·
    6 days ago

    Tor Hidden Services, easy to set up on the server side, can be annoying on the client side but HTTP and SSH are fine. Can be a bit slow but IMHO still usable.

  • hendrik@palaver.p3x.de
    link
    fedilink
    English
    arrow-up
    41
    ·
    edit-2
    8 days ago

    https://github.com/erebe/wstunnel seems like the obvious solution.

    Or maybe OpenVPN over normal TLS on port 443.

    You could try to run Wireguard on a different port which would be otherwise used by some very common service, maybe there’s some general exemption for port 21, 22, 53, 80, 443…

    • myszka@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 days ago

      Wow, wstunnel seems to be a very elegant solution, thanks! However I still need to figure out how to get to my server behind a NAT

    • shininghero@pawb.social
      link
      fedilink
      English
      arrow-up
      12
      ·
      7 days ago

      OpenVPN is my current method. Got it running on port 443 with user certificate authentication, and tls-crypt on top of that to completely mask the protocol from VPN detectors.

      Also technically prevents DoS attacks, but that wasn’t my primary goal.