Link to home
Start Free TrialLog in
Avatar of Diepafu
Diepafu

asked on

Need step by step to Tunnel to an Oracle DB using Putty

Hi to all.
I appreciate that you can provide me detailed instructions to perform the following:
From home, I use the SafeNet Secure VPN Client to access my work.
Once connected, I have to ssh to a box (let's call it 192.168.2.29), and once connected to that box, I have to ssh to another box that has the DB Server (192.168.1.28).
There is any way to use my LOCAL sqlplus on my PC to access directly to the DB Server using Putty Tunnel option?
So basically I'd like to access the DB Server directly from my PC (if possible).

Any help is appreciated
Avatar of Haris Dulic
Haris Dulic
Flag of Austria image

here is the link which gives you the step by step...

http://www.macan.com/Putty/Tunneling_with_PuTTy.html

you just need to enter you remote host (DB server IP and oracle port 1521) and your local port example 51521 or any you like...

after that you need to edit you oracle tnsnames file and instead of ip adres of your database put localhost and the port you chose for your local port..

after that after putty connects to the DB server you can use you loacl sqlplus...

if you need additional explanation let me know...
ASKER CERTIFIED SOLUTION
Avatar of Diepafu
Diepafu

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial