Is it possible for Minetest server to work as Tor hidden service?

Post Reply
Chrysolite Azalea
Member
Posts: 79
Joined: Sun May 03, 2020 05:38
GitHub: ChrysoliteAzalea

Is it possible for Minetest server to work as Tor hidden service?

by Chrysolite Azalea » Post

Hello, everyone!

I want to play with my friends on Minetest server, but I am behind NAT set by ISP. But I found out that I can start my server as Tor hidden service to let my friends connect. Can Minetest server work like that? Will the bandwidth be enough for it?

Or do I have to get a virtual private server?
cdb_JQUaRqvA1Vho

sfan5
Moderator
Posts: 4094
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

Re: Is it possible for Minetest server to work as Tor hidden service?

by sfan5 » Post

Minetest uses the UDP protocol which is incompatible with Tor.
Even if it was, the latency would be too terrible to play over it.

If you're looking to host a server from home there is software like Hamachi that makes this possible.
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

Chrysolite Azalea
Member
Posts: 79
Joined: Sun May 03, 2020 05:38
GitHub: ChrysoliteAzalea

Re: Is it possible for Minetest server to work as Tor hidden service?

by Chrysolite Azalea » Post

Thank you!

Also, is there any free software to build a VPN network? Is it possible to use OpenVPN or WireGuard? Since Hamachi is a proprietary and commercial software.
cdb_JQUaRqvA1Vho

sfan5
Moderator
Posts: 4094
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

Re: Is it possible for Minetest server to work as Tor hidden service?

by sfan5 » Post

I just mentioned Hamachi because it's a relatively easy solution I knew that worked.

Sure, you can also use OpenVPN or Wireguard, in which case it'd make sense to rent a cheap VPS which tunnels back to your home and portforward on there.
Your friends would then connect to the IP of your VPS and "arrive" at your server at home.
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

Peril
Member
Posts: 40
Joined: Sun Feb 10, 2019 14:11

Re: Is it possible for Minetest server to work as Tor hidden service?

by Peril » Post

This is going to be a bit of a necro post. I've been looking around hosting Minetest on hidden services for some time and this comes up pretty prominently in the search engine, so adding my recent discoveries for anyone that might be interested.

sfan5 is correct that Tor won't support it, neither will i2p (java). i2pd however which uses the same i2p protocol can be configured to support a UDP connection.

Quite how you would set it up I don't know, but the tunnel setting for clients is something like:

Code: Select all

[minetest]
type = udpclient
address = 127.0.0.1
port = 30000
destination = Sramcceu2kgz54wi7r5jatgmx2mqtsh3knxhiy4m5shescuqtqfa.b32.i2p
destinationport = 30000
keys = minetest.dat
inbound.length = 1
outbound.length = 1
So if you find a server hosted on i2p then you can replace the destination with the new addr. I'm unclear whether i2p will need to be restarted or not.
Forgot my old username/email, it's been a number of years please bear with.
Stats: OS: Manjaro Linux; Using minetest-git via AUR

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest