-
ssh tunnels
Hi,
I have an OpenSSH tunneling problem, any guru's available (I'm a Golum) ??
The problem is this:
serverA <-- firewall <-- serverB --> firewall/NAT --> serverC
The firewalls only allow serverB to ssh to servers A and C, they can't ssh to each other or to serverB
So on serverB I'm trying to establish tunnels from A to B and B to C, it's so an isql session on serverA can access the Sybase database on serverC
The following looks as if it should work, but doesn't - the only sniffer I have is snoop, which can't see loopback traffic. 'netstat -a' shows listeners on the ports on A and B
ServerB:
ssh -l pmutton -N -g -f -R 2052:localhost:2099 serverA
ssh -l pmutton -N -g -f -L 2099:localhost:2052 serverC
I've googled & found examples of just one of the tunnels, but no examples of what I'm trying to do
Am I trying the impossible ??
Peter
-
hello¬I m Joseph..Mu as well lol
i think here is The Coffee Lounge where all the members trying to introduce ourselve and say hi to others.
why not try some other discussion board?
-
-
Off the top of my head, you could try:
Code:
ssh -l pmutton -N -f -R 2052:serverC:22 serverA
Then on serverA ssh to localhost port 2052. ServerC should then see the traffic as coming from serverB.
Let us know how you get on,
Chris...