Category: computers
05/29/09 08:40 - 58ºF - ID#48790
Socks Proxy Magic - Using SSH for proxy
What I am going to demonstrate allows you to secure you internet connection on your laptop when you are a coffee shop or when you are somewhere where they are blocking your favorite site and you want to get around that by piping all your laptop traffic through you home computer or external server, encrypted over SSH.
This assumes both machines have SSH and are *nix flavor (mac,unix,linux). If you are using windows I think you can still do this somehow but I don't care and you can figure it out yourself.
Its really just a few simple steps. The first step is to connect to your server/home computer from from the laptop:
ssh -p SSH_PORT -D LOCAL_PORT USERNAME@SERVER
SSH_PORT = The addres you communicate over ssh with. You can leave off the -p SSH_PORT if you are using ssh on the vanilla port 22.
LOCAL_PORT - The local port you want to use for the SOCKS proxy. I would suggest something like 8080 but it really doesn't matter. Just make sure its one you are not using.
USERNAME@SERVER - The normal username@server you use to connect to your home machine or server over ssh. e.g. myuser@mysite.com. It can also be the IP address if you don't have a domain name.
Once you have connected open up a SOCKS proxy complaint app. A common one is Firefox and great because its a web browser, so that is the kind of traffic you want to secure when surfing somewhere sketchy.
In your firefox prefs, choose the network tab.
Then set up the proxy settings to point to localhost 127.0.0.1 and the LOCAL_PORT port you choose above.
You should be set to go. To test and make sure open you /etc/hosts files and add an entry for:
0.0.0.0 google.com
Now open up another browser. When you go to google it should be site not found as you are redirecting google to 0.0.0.0 for your comp. However, when you use firefox with the SOCKS proxy it should still work when you go to google.com because the traffic is being piped through SSH to your server or home machine.
Once you are done with this test remember to take the google.com entry out of /etc/hosts and also remember all you traffic is only encrypted and piped via firefox.
Another simple test is to check your IP from your browser. Visit in firefox. The IP should be the same as your home computer/server.
To shut down the proxy just kill the process for the ssh connection to the server.
You can also set you entire system to use the proxy but that is for another day. Well here is a clue on a mac. This is in the system network preferences. Safari should be proxied afterwards.
Permalink: Socks_Proxy_Magic_Using_SSH_for_proxy.html
Words: 518
Location: Buffalo, NY
05/29/09 06:31 - ID#48788
One more pic from zoar
(E:southernyankee) sent me this pic she took of me at zoar. I wish I
could have got this pic a month ago when I was much buffer but it's
better than no pic.
Permalink: One_more_pic_from_zoar.html
Words: 38
Location: Buffalo, NY
05/29/09 03:45 - ID#48784
Not heeding warnings
Despite (e:jon)'s tale of friend gone dead on rocks I decided to go climbing today and brought (e:southernyakee) with me.
It's done and I survived this time.
Permalink: Not_heeding_warnings.html
Words: 59
Location: Buffalo, NY
Category: words
05/27/09 10:14 - ID#48771
Staycations?
trend of staycations."
There is a wikipedia page explaining staycation.
Permalink: Staycations_.html
Words: 32
Location: Buffalo, NY
05/27/09 05:14 - ID#48768
The pear tree
Despite the wind throwing lots of pear babies on the ground, it looks like we might have the most pears ever. This year I am just doing pots of juice and a pear themed party.
Permalink: The_pear_tree.html
Words: 44
Location: Buffalo, NY
05/26/09 10:34 - ID#48757
The cutest sidewalkkill
This one kicks the squirrel face's butt.
Permalink: The_cutest_sidewalkkill.html
Words: 13
Location: Buffalo, NY
05/25/09 06:34 - ID#48753
Mike rocking it at the BBQ
Permalink: Mike_rocking_it_at_the_BBQ.html
Words: 24
Location: Buffalo, NY
Category: sports
05/25/09 01:48 - 68ºF - ID#48750
The Cornish Game Hen
So for the first time in a long itme, I fired up illustrator and here is what I came up with.
Permalink: The_Cornish_Game_Hen.html
Words: 52
Location: Buffalo, NY
Last Modified: 06/03/11 03:11
Category: holidays
05/25/09 11:47 - 65ºF - ID#48747
The estrip memorial day BBQ
(e:southernyankee) arrived with an amazing fruit basket complete with mini-bananas, we had a bunch of cakes. Robert and James made delicious salads and some testy orange jello marshmallow suspension. (E:tinypliny) made that cake from (e:tinypliny,48738) which I thought tasted great although I suggested she add bananas next time.
After the BBQ (e:sounthernyanke)e, (e:mike) and I went to Pure to go see Junkie XL The place is set up pretty nice with a large main dance floor bar, a catwalk on a second level overlooking that. There were also some side room VIP style bars.
I don't go out much downtown so maybe its normal but to me it was the most ethnically mixed buffalo moment I ever had. On the dance floor there was seriously every kind of person and they all appeared to be getting along. Arabs, indians (lots of them) asians, white, blacks. The even had a dance off competition that I thought was going to be a fight but ended up being them each taking turns and cheering each other on.
Permalink: The_estrip_memorial_day_BBQ.html
Words: 250
Location: Buffalo, NY
Category: food
05/25/09 11:35 - ID#48746
The love boat
Permalink: The_love_boat.html
Words: 112
Location: Buffalo, NY
Author Info
Date Cloud
- 03/24
- 11/23
- 02/23
- 01/23
- 12/22
- 01/22
- 12/21
- 11/21
- 12/20
- 11/20
- 01/19
- 12/18
- 08/18
- 04/18
- 03/18
- 02/17
- 01/17
- 12/16
- 11/16
- 09/16
- 08/16
- 07/16
- 06/16
- 05/16
- 04/16
- 03/16
- 02/16
- 01/16
- 12/15
- 11/15
- 10/15
- 09/15
- 08/15
- 07/15
- 06/15
- 05/15
- 04/15
- 03/15
- 02/15
- 01/15
- 12/14
- 11/14
- 10/14
- 09/14
- 08/14
- 07/14
- 06/14
- 05/14
- 04/14
- 03/14
- 02/14
- 01/14
- 12/13
- 11/13
- 10/13
- 09/13
- 08/13
- 07/13
- 06/13
- 05/13
- 04/13
- 03/13
- 02/13
- 01/13
- 12/12
- 11/12
- 10/12
- 09/12
- 08/12
- 07/12
- 06/12
- 05/12
- 04/12
- 03/12
- 02/12
- 01/12
- 12/11
- 11/11
- 10/11
- 09/11
- 08/11
- 07/11
- 06/11
- 05/11
- 04/11
- 03/11
- 02/11
- 01/11
- 12/10
- 11/10
- 10/10
- 09/10
- 08/10
- 07/10
- 06/10
- 05/10
- 04/10
- 03/10
- 02/10
- 01/10
- 12/09
- 11/09
- 10/09
- 09/09
- 08/09
- 07/09
- 06/09
- 05/09
- 04/09
- 03/09
- 02/09
- 01/09
- 12/08
- 11/08
- 10/08
- 09/08
- 08/08
- 07/08
- 06/08
- 05/08
- 04/08
- 03/08
- 02/08
- 01/08
- 12/07
- 11/07
- 10/07
- 09/07
- 08/07
- 07/07
- 06/07
- 05/07
- 04/07
- 03/07
- 02/07
- 01/07
- 12/06
- 11/06
- 10/06
- 09/06
- 08/06
- 07/06
- 06/06
- 05/06
- 04/06
- 03/06
- 02/06
- 01/06
- 12/05
- 11/05
- 10/05
- 09/05
- 08/05
- 07/05
- 06/05
- 05/05
- 04/05
- 03/05
- 02/05
- 01/05
- 12/04
- 11/04
- 10/04
- 09/04
- 08/04
- 07/04
- 06/04
- 05/04
- 04/04
- 03/04
- 02/04
- 01/04
- 12/03
- 11/03
- 10/03
- 09/03
- 08/03
- 07/03
Category Cloud
- 24 linwood
- animals
- art
- basra
- bathroom
- biking
- birthdays
- body
- botanical gardens
- brushwood
- buffalo
- camping
- cars
- clothes
- clothing
- computers
- dancing
- food
- furniture
- games
- haircut
- haircuts
- halloween
- hiking
- holidays
- house
- key west
- mobile
- music
- nature
- pets
- provincetown
- rochester
- swimming
- toronto
- toys
- travel
- vacation
- weather
- wedding
- weddings
- work
- accidents
- allentown
- android
- animals
- apple
- architecture
- art
- artvoice
- bars
- bathroom
- beach
- bikes
- biking
- birthdays
- body
- books
- brushwood
- buffalo
- buffalo rising
- bugs
- buildings
- camping
- cancer
- cars
- cats
- central terminal
- childhood
- church of the ascension
- clothes
- clothing
- computer
- computers
- conference
- crohns
- dance
- dancing
- dentist
- design
- downtown
- drugs
- electronics
- elmwood
- energy
- environment
- estrip
- events
- exercise
- family
- festivals
- firecracker
- food
- friends
- furniture
- gadgets
- games
- garden
- gay
- government
- gym
- hair
- haircut
- haircuts
- halloween
- hardware
- health
- hiking
- history
- holiday
- holidays
- house
- housing
- jewlery
- kenmore
- key west
- life
- linux
- linwood
- love
- marriage
- media
- mobile
- mobl
- movies
- music
- mustache
- nature
- nikon
- opinion
- orange tongue
- party
- peeptalk
- people
- pets
- photos
- poetry
- politics
- portland
- pride
- programming
- property
- protest
- random
- recycling
- religion
- rememberbuffalo
- renting
- school
- shoes
- shopping
- sports
- stress
- stuff
- swimming
- technology
- television
- thesis
- thursday
- thursdays
- toys
- transportation
- travel
- vacation
- vegas
- war
- water
- weather
- web
- wedding
- weddings
- weekend
- windows
- winter
- work
- world
- youtube
- zooey