Windows .exe FTB through SSH tunnel?

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord
Status
Not open for further replies.

Gmoff01

New Member
Jul 29, 2019
54
0
1
Hey folks, I'm trying to get FTB running through an SSH tunnel and I'm having issues. This is my first time messing with SSH, so forgive me for any obvious mistakes.

I've installed freeSSHd on the MC server, and set up an account. After some rigamarole, I am able to connect to the SSH server from inside the offending firewall using PuTTY.

In putty, I have local port 25565 being sent to the server's 25565. I also have 8080 being forwarded for testing, and I CAN use this to access localhost:8080 and reach the dynmap that is being hosted on the server.

In the FTB launcher settings, I'm using the java options: -DsocksProxyHost=127.0.0.1 -DsocksProxyPort=22
where 22 is the port of the SSH server.

When I try loading FTB, the log shows a number of errors along these lines:

2013-06-21 13:26:43 [WARNING] [Buildcraft] java.net.SocketException: Can't connect to SOCKS proxy:Connection refused: connect

I tried changing the proxy port in the FTB launcher to 25565, but the error then says something about malformed response.

Any ideas on what I need to do to make this work? Thanks in advance!
 

Gmoff01

New Member
Jul 29, 2019
54
0
1
Nevermind, apparently the setup above works just fine. The key step was to enter the server address as localhost rather than the usual address.

The java arguments in the FTB client arent even necessary. Hope this helps someone in the future!
 
Status
Not open for further replies.