Hi,
I've come across this problem involving a linux and solaris machine
I'm a little stumped, I've 3 machines
Server A running Fedora -> Server B running Solaris -> Server C (no idea)
I've got root on server A and B but no access at all on server C.
A can connect to B and B can connect to C
They're all on different networks ..
A connects to B through its gateway and B through its gateway to C, there all on different ip ranges completely (like A 192.168.0.2, B 10.10.1.2 and C 4.5.6.7)
There's no direct route from A to C
I can setup a ssh tunnel and connect through a port on B that passes through to C with
ssh -L 2222:4.5.6.7:2222 me@10.10.1.2
but this isn't anyway permenant
Does anyone know how I can set everything up, so I can telnet from A and get to C? I tried using ipnat and ipf on the solaris server b, but I'm not sure what the problem is.. do I need to set something up for the return journey C -> A? are these socks? if I open a TCP connection, does C need to be able to ack back somehow to A? if so, does this happen on any port (possibly to setup some sort of routing?)?
Does all the setup need to be done on server A or server B?
As you can see, I'm clueless and could really use some help
nutshell: I need to get to tcp port 2222 on server C from server A
Kindest regards,
Bal