Results 1 to 4 of 4
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 ...
- 01-27-2009 #1Just Joined!
- Join Date
- Jan 2009
- Location
- Ottawa
- Posts
- 1
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
- 01-27-2009 #2Just Joined!
- Join Date
- Jan 2009
- Posts
- 3
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?
- 01-28-2009 #3
check again Joseph
- 01-28-2009 #4Linux Enthusiast
- Join Date
- Apr 2004
- Location
- UK
- Posts
- 658
Off the top of my head, you could try:
Then on serverA ssh to localhost port 2052. ServerC should then see the traffic as coming from serverB.Code:ssh -l pmutton -N -f -R 2052:serverC:22 serverA
Let us know how you get on,
Chris...To be good, you must first be bad. "Newbie" is a rank, not a slight.


Reply With Quote
