this post was submitted on 26 Apr 2024
15 points (94.1% liked)

Selfhosted

40201 readers
720 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
 

Does anyone know of any alternatives to hoppy.network? I can't seem to find any other services that do what Hoppy does. (Hoppy uses wireguard to assign publicly-accessible static IPv4 and IPv6 addresses to devices)

you are viewing a single comment's thread
view the rest of the comments
[–] h3ndrik@feddit.de 5 points 6 months ago* (last edited 6 months ago) (2 children)

Hmm. It's kind of just a VPN. It tunnels your traffic and terminates it at some server with those IPs. It's just that NordVPN etc make you share an IP with other users and don't offer port forwarding. But the rest of Hoppy isn't necessarily unique, it's just a specific configuration of a VPN.

I rented a VPS and installed wireguard myself. And created the firewall rules to forward (some) incoming traffic to my home server. That's the same thing Hoppy does. Just that Hoppy does the setup of the firewall and Wireguard for you.

But I'm not aware of any similar services that do it automatically. Maybe something like pagekite.net comes close.

So I don't know if that's the correct solution to what you're doing but I'd say one alternative would be to rent any small server, install Wireguard both there and on the RasPi, connect them and configure Wireguard on the RasPi so all outgoing traffic goes through the tunnel. And then configure the like 3 firewall rules on the VPS to make it forward incoming traffic on all ports to the RasPi.

[–] AbidanYre@lemmy.world 2 points 6 months ago

Based on your description, it kind of just sounds like tailscale.

[–] solberg@lemmy.blahaj.zone 2 points 6 months ago (1 children)

Thank you.

And created the firewall rules to forward (some) incoming traffic to my home server.

I guess this is the missing piece for me. I’ve already got all of my devices and VPSes setup with Tailscale, I’m just not sure which software to use that can do this forwarding.

I know Tailscale Funnels, Cloudflare Tunnels, and Caddy could be solutions for some, but in my experience they only do TCP or restrict what sort of traffic can be forwarded.

[–] h3ndrik@feddit.de 2 points 6 months ago

iptables or nftables. Or firewalld depending on the Linux distro and version you use.

Sometimes the Arch Wiki has some good info on specific configurations. I mean it's not that easy to write firewall rules on the command line. But it's no rocket science either.