On Sat, May 11, 2002 at 10:50:47AM -0400, Fred Richards wrote: > Hey folks, > > I have successfully port forwarded a vnc session from my linux > workstation at work, to a Windows 2000 laptop sitting on my desk. Now I > wanted to get a little more fancy and encrypt the vnc session over a ssh > tunnel. I know I must change the way netfilter is forwarding the > port... but I'm not sure... here's my original statement:
You shouldn't have to use netfilter for this as ssh can do it all by itself, look at the -L option. If I remember correctly: ssh -L 12000:clown:5907 my.nat.box.com will let you set your local VNC session to connect to localhost:12000 and ssh will forward it along to the box that you're ssh'ed into and then over to the clown computer. Chris
