ssh forwarding - how to setup for DB access ?
Hey,
I need to access a DB from my computer. The DB can be accessed over the network, but that particular ip is blocked by a firewall. I have ssh access to another comp B, which has unbriddled access to the DB's ip. I don't have root access on comp B.
I know I should be able to access the DB through B by setting some sort of tunnel or port forwarding rule, but I don't know what to do exactly ... maybe you could help me out ?
My main aim :
(comp A) ------ XX --- > DB (blocked by firewall )
but (comp A) ----->(comp B) (via ssh)
and (comp B) -------> DB (no firewall )
I want to get (comp A) ---- [ssh magic] ----> DB
any help would be appreciated !
thanks
|