Having XP VM use my host OSX ssh tunnel to connect to a remote site?

Posted by Manachi on Server Fault See other posts from Server Fault or by Manachi
Published on 2012-10-25T04:53:22Z Indexed on 2012/10/25 5:05 UTC
Read the original article Hit count: 468

I am using Mac OSX and have Windows XP running on VMWare Fusion. I'm creating an ssh tunnel from OSX to a remote server, and then trying to have Windows XP use that tunnel (I actually use a program called Proxifier on XP to filter my XP MS SQL Server traffic through that tunnel)

Note that I can successfully create an ssh tunnel (on port 9333) from the XP putty to the remote host, and have SQL Server Proxify through that tunnel and it all works correctly.

However when I try to set up the tunnel in OSX, and have Proxifier in XP point to the OSX tunnel instead of localhost, it doesn't seem to connect. Here is the OSX command i'm using to create the tunnel:

ssh -i /my/key -p 9001 -D 9333 -g me@remotehostname

Then I set my XP proxifier to point to macosxhostname:9333 (instead of the previous localhost:9333 which worked corrently when using putty)

Any suggestions on what I may have missed? My XP firewall is turned off while setting this up.

© Server Fault or respective owner

Related posts about Windows

Related posts about ssh