Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] How do i tunnel my browser via ssh
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
mtascii
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jan 2006
Posts: 87

PostPosted: Thu Aug 17, 2006 9:21 pm    Post subject: [Solved] How do i tunnel my browser via ssh Reply with quote

Hello

i was wondering if it is possible to tunnel my browser via ssh.

i have a root server and want so surf over it.

and is it possible to implement an exeption somehow?
for the local network.


Last edited by mtascii on Thu Aug 17, 2006 9:40 pm; edited 1 time in total
Back to top
View user's profile Send private message
jk3us
Apprentice
Apprentice


Joined: 14 Mar 2005
Posts: 201
Location: Memphis, TN

PostPosted: Thu Aug 17, 2006 9:27 pm    Post subject: Reply with quote

ssh to the remote host specifying a "Gateway" port, this creates a secure Socks4 interface to the other end of the ssh connection.

Code:
ssh -D 9999 remote.host


And tell your browser to use a socks4 proxy of localhost:9999. For firefox, this is in edit -> preferences -> General -> Connection Settings. You can specify exceptions to the proxy there.
Back to top
View user's profile Send private message
mtascii
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jan 2006
Posts: 87

PostPosted: Thu Aug 17, 2006 9:40 pm    Post subject: Reply with quote

thx
Back to top
View user's profile Send private message
gustafson
Guru
Guru


Joined: 12 Aug 2004
Posts: 430

PostPosted: Wed Aug 23, 2006 2:30 pm    Post subject: Reply with quote

Is there a way I can automatically set the firefox proxy via script or text file? When browsing over wireless, I want to go through my wired machine as proxy... but not otherwise. It is a drag to have to click around in firefox to set the proxy... it would be better if firefox would check the connection and set the proxy automatically.

Thanks,
Back to top
View user's profile Send private message
jk3us
Apprentice
Apprentice


Joined: 14 Mar 2005
Posts: 201
Location: Memphis, TN

PostPosted: Wed Aug 23, 2006 3:49 pm    Post subject: Reply with quote

gustafson wrote:
Is there a way I can automatically set the firefox proxy via script or text file? When browsing over wireless, I want to go through my wired machine as proxy... but not otherwise. It is a drag to have to click around in firefox to set the proxy... it would be better if firefox would check the connection and set the proxy automatically.

Thanks,


Maybe this will do what you want: https://addons.mozilla.org/firefox/125/
Back to top
View user's profile Send private message
gustafson
Guru
Guru


Joined: 12 Aug 2004
Posts: 430

PostPosted: Wed Aug 23, 2006 4:32 pm    Post subject: Reply with quote

Thanks
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