LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   SSH - Forwarding only select ports, make 1 passthrough (https://www.linuxquestions.org/questions/linux-newbie-8/ssh-forwarding-only-select-ports-make-1-passthrough-848060/)

Zoner 12-02-2010 09:40 PM

SSH - Forwarding only select ports, make 1 passthrough
 
Hey guys.

Right now I have a VPS that I tunnel through using SSH/Putty/Proxycap. I use it for a certain program which uses a certain port X for authentication, and a different port Y for its data.

However, due to certain security protocols I need port X to be somewhat "transparent" so that the IP from the originator will be shown - whilst tunneling data through port Y. The conditions though, are that I cannot just change the X/Y port values in the application itself, these are company specific.

How would I go about doing this? Because right now, my understanding is that if Putty calls for a certain application to go through a socks server, ALL its ports will be directed at that. I want a certain port to be passthrough.

Thanks!

acid_kewpie 12-03-2010 04:51 PM

Well as I read the question, the issue is actually with the client program you're using, and not putty at all. You want one type of traffic flow to use putty as a socks proxy and another type to not? If so then putty has no way to influence what uses it, only what it does when something does use it. Note that traffic passing througha put tunnel must always take the ssh servers ip when leaving at the other end as otherwise there it's no way to establish a tcp connection due to the asymmetric writing that would result.


All times are GMT -5. The time now is 06:47 PM.