[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] SSH/HTTP Proxying
- Subject: [ale] SSH/HTTP Proxying
- From: jasonday at worldnet.att.net (Jason Day)
- Date: Thu Dec 2 14:09:41 2004
- In-reply-to: <[email protected]>
- References: <[email protected]>
On Thu, Dec 02, 2004 at 01:51:59PM -0500, attriel wrote:
> I'm trying to figure out how to set up my system to allow me to proxy my
> firefox sessions through an SSH tunnel.
Easy. You need to use the DynamicForward option of ssh. With an
OpenSSH client, just do
ssh -D 1080 hostname
and login. You now have a SOCKS 4/5 server on localhost. Then
configure firefox to use localhost:1080 as a SOCKS proxy. Presto!
You can, of course, substitue port 1080 with another port if you wish.
And by default, the SOCKS server will only accept connections from
localhost, unless the GatewayPorts option is enabled in ssh_config (it's
not by default), or if you specify -g on the command line.
Jason
--
Jason Day jasonday at
http://jasonday.home.att.net worldnet dot att dot net
"Of course I'm paranoid, everyone is trying to kill me."
-- Weyoun-6, Star Trek: Deep Space 9