3 ms·
Sorry, still a bit confused. > I don't have the root access or anything to the server but I have ssh access to it. So wait, this server isn't in your house be
by solardev 2y ago
Sorry, still a bit confused.
> I don't have the root access or anything to the server but I have ssh access to it.
So wait, this server isn't in your house behind your router, it's already on the internet? Is it publicly accessible by IP address?
> I am running ssh in a rootless machine (they have given me permissions) , I would like to run minecraft in it
Does the minecraft server daemon work as non-root? If so, doesn't it already expose a port that anyone can reach via the internet?
Is the issue that the server admin lets you run Minecraft, but firewall rules etc. don't open that port to incoming traffic? Are you sure they're ok with you running a game server on that machine (they typically tend to be pretty CPU-heavy)?
If so, you might just be able to open a standard SSH tunnel without any additional apps. But you still need to have some other publicly-accessible server that's reachable from the internet (the other end of the tunnel). Usually that's what costs money, because it requires an always-on server that will forward all the players' network activity through it to your real server.
Maybe you can use a free-tier EC2 server (or similar on GCP or Azure) to host that endpoint and forward that proxy. But I think it's a lot less work and cost to just rent a Minecraft server on a shared host (they're like <$10/mo).