billybob Posted January 8, 2008 Share Posted January 8, 2008 i need to force a ip address to point to a different one on my windows box. more specifically, i need x.x.x.x:z to connect to 127.0.0.1:z 127.0.0.1:z is port forwarded to x.x.x.x:z though ssh im doing this becuase i am inside a VERY restricted firewall, the university i go to has almost all ports blocked. i have a ssh sever set up at my parents house and i dont need help with seting up ssh portwarding. i just can not figure out how to make all traffic headed towards a certain ip go through my tunnel Quote Link to comment Share on other sites More sharing options...
Sparda Posted January 8, 2008 Share Posted January 8, 2008 Can't you tell the software you are using to connect to localhost? Quote Link to comment Share on other sites More sharing options...
billybob Posted January 8, 2008 Author Share Posted January 8, 2008 nope, that would be too easy :-? Quote Link to comment Share on other sites More sharing options...
Sparda Posted January 8, 2008 Share Posted January 8, 2008 It seems like the way around this would be to run some kind of gateway software on the local computer that conditionally forwards traffic. Problem been that such software would likely brake ssh's port tunneling. What software is is that you want to tunnel? Quote Link to comment Share on other sites More sharing options...
SomeoneE1se Posted January 8, 2008 Share Posted January 8, 2008 SSH is not the solution you want... you want a VPN with redirect-gateway http://openvpn.net/howto.html#redirect Quote Link to comment Share on other sites More sharing options...
Sparda Posted January 8, 2008 Share Posted January 8, 2008 ssh works if you want to connect to a single port. If you want to use some thing like NFS over a untrusted network then a VPN it is. It really depends on what you want to do. Quote Link to comment Share on other sites More sharing options...
Mr_Mischif Posted January 8, 2008 Share Posted January 8, 2008 could he edit the hosts file? Quote Link to comment Share on other sites More sharing options...
Sparda Posted January 8, 2008 Share Posted January 8, 2008 /etc/hosts is for DNS resolution Quote Link to comment Share on other sites More sharing options...
billybob Posted January 8, 2008 Author Share Posted January 8, 2008 it is not a single port i need to forward, but the protocol is able to be tunneled. i thought that host files mapped domain name to ip , not the other way around. I need a ip adress redirected to another one, not a domain name forwarded to a different ip Quote Link to comment Share on other sites More sharing options...
Sparda Posted January 8, 2008 Share Posted January 8, 2008 What program is it exactly? Perhaps we can help given more information Quote Link to comment Share on other sites More sharing options...
billybob Posted January 8, 2008 Author Share Posted January 8, 2008 actually is is a game that I wish to play, a private verison of a mmo called knight online. i have sniffed out the traffic and i know that it aways uses the same 10 ports for all traffic, i have confirmed the port list with the admin of the sever. Quote Link to comment Share on other sites More sharing options...
digip Posted January 8, 2008 Share Posted January 8, 2008 I thought there was a proxy service for games or a program that could tunnel all your game traffic for you. Couldn't you use putty to forward or tunnel all the traffic of the game program as well? Quote Link to comment Share on other sites More sharing options...
billybob Posted January 8, 2008 Author Share Posted January 8, 2008 it is not a problem with the tunneling, it is a problem with making the traffic go in to the tunnel Quote Link to comment Share on other sites More sharing options...
SomeoneE1se Posted January 8, 2008 Share Posted January 8, 2008 vpn Quote Link to comment Share on other sites More sharing options...
Sparda Posted January 8, 2008 Share Posted January 8, 2008 vpn Agreed Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.