Journaling on estrip is easy and free. sign up here

Paul's Journal

paul
My Podcast Link

05/29/2009 20:40 #48790

Socks Proxy Magic - Using SSH for proxy
Category: computers
If this makes no sense to you, then you don't need it - I don't plan on helping anyone with it. However, if it does make sense it might be very useful.

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.
image

Then set up the proxy settings to point to localhost 127.0.0.1 and the LOCAL_PORT port you choose above.
image

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.
image

05/29/2009 18:31 #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.
image
imk2 - 05/29/09 19:47
you look like a vampire from twilight. yes, i watched twilight.

their skin sparkles in the sunlight.
metalpeter - 05/29/09 19:14
When I saw where you right hand was I got worried for a second about what kind of picture it was going to be, HA. Hope everyone had a great time.

05/29/2009 15:45 #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.
image
image
image
image
image
image
southernyankee - 05/29/09 19:15
Thanks (e:Tinypliny)! That is very kind of you to say :-)
metalpeter - 05/29/09 19:12
Nice Pictures. You all are all braver then I. on a side note why do I have a feeling (e:southeryankee) got to the top 1st
southernyankee - 05/29/09 19:08
:::link:::
tinypliny - 05/29/09 17:14
(e:southernyankee) has the most perfect smile on the planet! :)

05/27/2009 22:14 #48771

Staycations?
Category: words
Seriously, news channel 4 just did a special report about the "growing
trend of staycations."

There is a wikipedia page explaining staycation.

image
deeglam - 05/29/09 14:42
wow. depressing. for sure.
metalpeter - 05/28/09 18:36
They are a great idea actually.
1) Staying in NYC or some other city for 5 days is costly enough with Just the hotel plus you have to eat

2) Yes doing all kinds of things is fun, but I've none people who are so busy they come back more worn out then they where before they left

3) Traveling is a pain. If you have a car you have to drive it to the airport, then park it and pay for it then take your heavy stuff with you. I won't even get into all the airport security and if you have a long enough lay over to make the next flight. Then after you get off the plane you have to find your lugage and rent another car, ARGH........

I didn't even get into what happens when there are kids.

So I say stay at home and do stuff that you want to do around where you live that working gets in the way of.
paul - 05/28/09 10:21
I just read the definition from my previous comment:

Monica: John looks like shit.
Matt: What do you expect? He just got back from his gaycation.
Sandi: You know what that means. Four days of sex, drugs and no last names.
paul - 05/28/09 10:20
Its like adding cation to stay makes it fabulous. Gaycation exits too :::link:::
james - 05/28/09 10:17
Nothing is more depressing.

Too overworked to go into the office.
Too poor to drive to Toronto.
jim - 05/28/09 09:07
"holistay" - Hodgman
tinypliny - 05/27/09 22:19
Stay Cation. For the Anion broke my cathode ray tube.

05/27/2009 17:14 #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.
image
image
tinypliny - 05/27/09 21:17
Hmmm Pear Babies as opposed to Baby Pears...