[Back]

You can expose self-hosted services

I was testing if I could host a minecraft server in my VPS, unfortunately, my VPS is too weak for that use-case.

I was reading a tutorial on landchad.net about ssh and you can expose services running in your local machine as if they were running in your VPS. (follow the link for instructions)

I opened a minecraft server on my laptop, started a ssh session with the -R option and managed to connect to the server using my domain. I can now host temporary game servers to play with my friends without having to rent a beefy VPS.

Picture of my game character in the server logs in the mc server server creating menu

I could also have used hamachi, but this method of using ssh tunnels does not require the client to use any third party software.

Anyway, I just wanted to share this shard of wisdom.