View Single Post
Old 06-07-2004, 10:29 AM   #13 (permalink)
ssh_agent
Upright
 
excuse if im going over something you already know...but anyway...

basically with ssh you can forward ports over the ssh connection. so in my example i have a squid running on my home linux box listenin on port 1080.

i then from work

ssh -p 23 -L 1080:127.0.0.1:1080 userid@home

this makes your ssh connectoin as usual, too the telnet port...and forwards any traffic heading to your 127.0.0.1 port 1080 to "home".

i then point mozilla to my proxy of http://127.0.0.1 port 1080.

And then i can surf and view whatever i like. The socks server is something i've added later...so i can run trillian or just about whatever will accept a socks server in its settin.
ssh_agent is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73