How would I do this?

CrazyDaisy
Member
 
Posts: 12
Joined: Fri Oct 31, 2014 22:25

How would I do this?

by CrazyDaisy » Fri Oct 31, 2014 22:35

I am trying to do the following:
* Install a minetest server on a LAN computer (done)
* Install a minetest client on my current computer (done)
* Create an ssh tunnel from client computer to server computer (done)
* Use the tunnel to connect to the minetest server (??)

First off, I do not want to open the firewall on the server to connect over the LAN normally. I want to use an ssh tunnel to connect to the server machine and tunnel the game over it.

So far all is working except when trying to connect to 127.0.0.1:30000 it will never connect. Maybe my ssh forward isn't correct? I was able to run minetestserver locally and connect to it locally but seems I can't get it to connect over the ssh tunnel.

The SSH command I'm using is:
ssh -L 30000:127.0.0.1:30000 username@serverip

Any help with this would be great. Thank you.
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

Re: How would I do this?

by sfan5 » Sat Nov 01, 2014 07:47

SSH only forwards TCP, Minetest uses UDP.
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

Baggypants
Member
 
Posts: 30
Joined: Mon Aug 25, 2014 17:42
GitHub: Baggypants

Re: How would I do this?

by Baggypants » Sun Nov 02, 2014 18:26

If it's a Linux box I use openvpn. Works a treat.
 


Return to Minetest General

Who is online

Users browsing this forum: No registered users and 5 guests

cron