I need to vnc over ssh to a machine behind a firewall. I can run:

ssh -R 5900:ipaddressoftargetPC:5900 [EMAIL PROTECTED]

on the target machine and it successfully causes myhomefirewall to listen on
port 5900 and forward that traffic to ipaddressoftargetPC behind the target
PC's firewall.

I know this because I can ssh to myhomefirewall and do:

telnet localhost 5900

and I get back traffic from the vnc server running on the target PC.

However, what I want to do is run a vnc client on a machine behind
myhomefirewall and connect to the target PC. How would I do this? The
machine myhomefirewall is an OpenBSD box, so I'm suspecting I need to change
pf.conf, though one the other hand, it seems I should be able to connect via
ssh to myhomefirewall and some how get to port 5900 on the target PC. ???

I tried a number of different methods on the third machine but now my brain
is a little fuzzy. Can anybody hit me with a cluebat?

Thanks,
John Hebert

Reply via email to