Skip to main content

Jeff MacKinnon reshared this.


I guess with the influx of new users to the Fediverse, we're doing introductions now, so here's mine:

I'm a # and # enthusiast and developer. I'm also an # who's trying to create safe spaces for those who are recovering from high-demand control groups.

#

Jonathan Lamothe reshared this.


So this whole # # experiment has been a smashing success. This will be the last post I boost from my legacy accounts, and I'll be checking them with less frequency. If you've not followed the new account, now would be a good time.

I want to extend a special thanks to opencube and fosstodon for giving me my first taste of the #.

Jonathan Lamothe reshared this.


M. Grégoire reshared this.


I have a #minetest server on my LAN, but the machine it's running on is behind a #NAT. I'd like to make it accessible to friends and family remotely. I know I can set up port forwarding through my router, but I don't have a static IP, and I'm not keen on setting up dynamic DNS.

What I do have is a cheap VPS connected to my LAN via a #wireguard #VPN. My normal MO here is to set up port forwarding via an #SSH tunnel, but minetest uses UDP traffic.

1/

Bob Jonkman reshared this.

I recently tried forwarding the UDP traffic using #socat, but I don't get a response from the server when I try to connect. The command I'm using on the VPS is:

socat udp-recvfrom:300000,reuseaddr,fork udp4-sendto:<ip>:30000

where <ip> is the IP address of the minetest server on the VPN. I have confirmed that it is receiving the forwarded UDP packets.

2/

Bob Jonkman reshared this.

I suspect that the problem is that since the packets appear to be originating from the VPS (despite the reuseaddr option) the minetest server is not sending the responses back to the right address.

Any thoughts on how I could solve this?

3/3

Bob Jonkman reshared this.

could you set up wireguard on your lan to reverse tunnel to the other wireguard node, then route minecraft traffic through it?
@ϟт℮ ♥ε Ḻ ☺ґḓ Does wireguard have that capability?

Perhaps I could do it with iptables, though?
in theory your wireguard peers should be able to route through each other with iptables. I did something similar years ago with openvpn so i'd be shocked if wireguard couldnt do it.
@ϟт℮ ♥ε Ḻ ☺ґḓ I think there's a way to do this. Got a headache when I first read up on it, and I didn't have an immediate use for it, so I abandoned the idea.

Guess I'll have another look at it.
How about setting up a Dynamic DNS name? It'll update the IP address as it changes, and all you have to do is ordinary NAT on the firewall.
Mpht. Just read the part where you're not keen on DDNS. I don't blame you.

I use reverse ssh tunnels to connect to family's computers, but I have no idea how that would work with UDP.

This website uses cookies. If you continue browsing this website, you agree to the usage of cookies.