Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'We have a GUI for this too.' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
We have a GUI for this too.
Authored by: legacyb4 on Jun 19, '02 10:53:25PM

Agreed on the two port issue for Vapor. Until Joel has time to further enhance that fine app, you can take a cue from his tip sheet and do a double port forward through Terminal and it should work (I believe); at least it works fine for apps like Carracho which run on dual ports.

ssh [servername or IP] -l username -L 10240:127.0.0.1:8080 -L 10241:127.0.0.1:8081

and connect using 127.0.0.1:10240.

Cheers.



[ Reply to This | # ]
We have a GUI for this too.
Authored by: legacyb4 on Jun 19, '02 11:43:03PM

Correction on that dual port forwarding for FTP... after reading up and testing it out, it doesn't work.

Still, it does work for other apps like Carracho.

Cheers.



[ Reply to This | # ]
We have a GUI for this too.
Authored by: Embro on Jun 20, '02 08:54:26AM

The problem is that I don't think you can know the other port beforehand. When you issue the ftp PASV (passive) command I think it returns the ports it's going to use. There is an SSH command -D that sets up dynamic forwarding. The man pages aren't very clear as to what it's used for except for SOCKS. This seems like it would be the kind of thing necessary as it would recognize that it is ftp and forward the ports accordingly.

Any other suggestions?



[ Reply to This | # ]