Thanks for the example! I've had a busy evening last night mastering the technique and it works well enough. I have also come across an idea of using "hole punching" and UDP but it seems to be more complex. Nevertheless a third host is essential, luckily I had one. Cheers, On 11/01/2008, Sylvester Lykkehus <zly@solidonline.dk> wrote:
There would probably by easier ways, but if you want to follow the tunneling approach, and you both are behind nat/firewall rules that you can not change, you need a third (trusted) hosted which you both have ssh access to.
Then the target (your friend) could open a reverse port forward on that host, and you could either connect to him on that host, or setup a local port forward so that you could connect to him by reaching localhost on that port.
I'm not sure if that made any sense, heres an example: friend@hispc> ssh -R 5555:localhost:22 3rd_host you@yourpc> ssh -L 6666:localhost:5555 3rd_host
Then you can reach your friends machine by connecting to localhost on port 6666.
As a said, there is probably easier ways, but my guess is they all require a third host if both of you are completely cut off from configuring nat and firewall.
Best regards Sylvester Lykkehus
-- Marcin Floryan http://marcin.floryan.pl/ Please consider the environment before printing this email. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org