2

I hope it's simple. I'm tied to the following situation:

  1. A tight VPN that allows me to access only port 22 of my server, and has to be via IP address (no DNS)

  2. My happy PuTTY tunnels that gives me access to all other ports in that server. For this example let's connect to oracle on 1521. So my PuTTY has: L1521 to 127.0.0.1:1521. Grand, toad wroks.

  3. An annoying Windows XP application which I really need and there's no other option. It connects via port 57001, so I have another PuTTY map and it works fine.

When does trouble happen:

This application connects to the server and fetches some other connection data. Actually, it fetches the database connection for itself, something like 10.222.12.13:1521. But as I said, that server will only accept on port 22, thus my PuTTY tunnels.

It's worth mentioning that I cannot change the connection data it fetches.

I reckon if I could tell my Windows installation "hey when something asks you 10.222.12.13 send it to 127.0.0.1 instead", would do it. I just don't know how. The hosts file does it for host names, what about concrete IP addresses?

2 Answers 2

1

Have you tried adding a route to 10.222.12.13 via the command prompt?

Here are the instructions

0

The hosts file does it for host names, what about concrete IPs addresses?

It works for concrete IP addresses too.

2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .