Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
tunneling tcp over ssh (solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
RikBlankestijn
Guru
Guru


Joined: 01 May 2003
Posts: 315
Location: Arnhem the Netherlands

PostPosted: Sat Oct 25, 2003 12:16 pm    Post subject: tunneling tcp over ssh (solved) Reply with quote

I need to set up an SSH tunnel from my work to my home so I can get in
over the weekend. I know that I have to ssh -R port:host:port user@home from my officepc. But then what do I have to do on my home pc to go over this connection?
For example, I like to go with my browser to the intranet of the office.


Last edited by RikBlankestijn on Sat Oct 25, 2003 1:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
RikBlankestijn
Guru
Guru


Joined: 01 May 2003
Posts: 315
Location: Arnhem the Netherlands

PostPosted: Sat Oct 25, 2003 12:43 pm    Post subject: Reply with quote

Here is what I have done

on office pc:
Code:
ssh -R 8080:officepcip:80 user@homeip


then set my proxy here at home to localhost:8080
when I type an url in the browser then it waits very long and then nothing happens.

when the ssh connection is closed then it doesn't wait anymore, so I suppose the connection doesn't know what to do on the end of 8080:officepcip:80. Atleast I don't ;). Does anyone know how I can make this work?
Back to top
View user's profile Send private message
RikBlankestijn
Guru
Guru


Joined: 01 May 2003
Posts: 315
Location: Arnhem the Netherlands

PostPosted: Sat Oct 25, 2003 1:14 pm    Post subject: Solved Reply with quote

For future reference by other, I'll my solution here:

Ok, where I put officepc ip, I had to put the proxyip. I did that. And now it works flawless!! :lol:

Thx for the people that might have had the intention to help! ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum