利用 SSH Tunnel 穿透防火牆

| | 迴響 (28) | 引用 (0)


真心人問到,

「上班的地方不給抓 FTP、上 MSN、騎 eMule、種 BT 等等等等諸如此類者,何解?」


很簡單,請照下列處方服用:


先備條件:
  • 你必須有一台額外的電腦能夠提供 SSH Server 的服務,並且這台電腦是處於你目前所受到限制的網路之外。更精確的說,如果你在公司裡,那你就要有一台可以從外面連線進去的電腦在家裡/學校/網咖/比爾蓋茲的辦公室等等隨便。如果沒有也沒關係,只要有任何在公司外部的人願意幫你就行了。

打造 SSH Server:
  • 這裡的 SSH Server 請安裝在上述所提到的不受限制的網路中的電腦,也就是公司之外的那台。而鑑於大多數的人都使用暈倒死的環境,這裡簡單推薦一款免費的 SSH Server 軟體:copSSH。安裝沒有什麼技巧,但是裝完之後記得到程式集中找到「COPSSH」,然後選擇「Activate a user」,接著在左邊的「User name」選擇目前的暈倒死登入帳號,按「Next」,並輸入一個新的自定密碼兩次就搞定了。如果是 *nix 系列的作業系統,則請自行參考 OpenSSH 的資料安裝 SSH Daemon 並啟動之。

啟動 SSH Tunnel:
  1. 以下步驟開始,場景換到公司裡的電腦進行,也就是說,上班的時候這麼做就對啦。請先到 PuTTY Download Page 找到適合你系統版本的 putty.exe 下載,或是使用國人開發的替代中文版本 PieTTY 亦無妨。

  2. 執行 putty.exe(或 pietty0327.exe),在左欄的一堆設定中找到「Connection」→「SSH」→「Tunnels」,然後在右側的「Source port」中填入一個 1024~65536 之間的值,例如「5678」,下方的「Local」圈選鈕則改成圈選「Dynamic」,接著按下「Add」的按鈕。

  3. 在左欄的設定中找到「Session」,會回到一開始進入的畫面,然後在「Host Name (or IP address)」中填入先前安裝 copSSH(或 OpenSSH)的電腦網址或 IP,然後按下「Open」按鈕即會開始連線。如果不想每次都要重覆設定的話,可以在「Saved Sessions」下方打入一個名字,在此以「Host Name」為例,並按下「Save」按鈕就可以存下設定值,下次只要點兩下此設定檔便可直接連線。

  4. 接下來的視窗中,會跳出警告視窗,選擇是或否都無所謂,並請使用你在設定 SSH Server 時所提供的帳號及密碼登入,然後就可以把視窗縮小不理它。

開始穿透防火牆:
  • 不管是 FTP 軟體還是 MSN,甚至 eMule、BT 等下載軟體都好,基本上它們都可以設定透過代理伺服器連線。只要在適當的地方填入主機位址為「localhost」,連接埠號為「5678」的資訊,並選擇 SOCKS5,就可以儘情的幹壞事了。

寫在最後:
  • 基本上 SSH 走的是加密通訊協定,會比較慢一些是正常的。而公司一般來說不會去防此類連線,因為傳遞重要機密資料就靠這些加密協定了,再防下去乾脆公司都不要上網比較快。然而或許有些公司的網管政策嚴格到只有經理級的電腦才能使用加密協定,那這招可能也就無用武之地了。除此之外,這應該算是目前我所知道最好的偷渡方案吧...


這篇屁話被收在分類:

0 則引用

本篇屁話的引用連結 : http://thecrap.org/mt-tb.cgi/312

引用 利用 SSH Tunnel 穿透防火牆 的文章如下 :

28 則迴響

I have found it to exist as a thing that truly doesn't have any importance to the present topic taking place. It is merely plain odd to allow for such thing that occur alas it takes place anyway even if you dont wish it to but thats exactly the way it truly is.

Pirates Of The Caribbean Magical Light-up Lantern AWESOME! BRAND NEW WITH TAGS!DISNEY PIRATES OF THE CARIBBEAN MAGICAL LIGHT-UP LANTERN! THIS LANTERN IS SO CUTE AND MEASURES APROXIMATELY 5 INCHES TALL AND 2 1/2 INCHES WIDE. IT RUNS ON AAA BATTERIES AND THEY ARE INCLUDED IN THE LANTERN. THIS WILL .

When the Padres built their huge new stadium with its enormous field they dumped Bochey like a hot potato. They realized he didnt have the right mind set. (How did they reach that conclusion? Theyd watched his entire career, thats how. I pray Sabean chokes on his next bite.) Even with twice the payroll Bochey cannot do what the Padres are doing. He doesnt know how, and he doesnt want to learn.

NBA ref book 說:

When Joe Bloggs watches the sport, all they see is a bunch of Africans in the distance races, a load of Americans and Caribbean athletes competing in the sprints, and a group of East Europeans taking part in the field events. The more you can do to ensure you don't become a faceless athlete among the stereotypes, the better.

Pearle Maclay 說:

Should they refuse to negotiate with you and won't offer what you deserve, it'll likely have to go into litigation. That doesn't mean it WON'T settle, but it might give the defense a push in the direction toward negotiating since that is less costly.. . Don't keep an attorney you don't trust. While the majority of them are looking out for your best interest, there are many bad apples (and that's why lawyers are so hated, due to the bad examples). ~ Personal Injury Attorney Atlanta

as for the states they should so the same as the federal government.

Interesting to note the comments. nearly all positive, s few quibblers, and some in the same river (the Nile) as Bush and Cheney, who think they really did something good, by making incompetence a high art. We need good, high quality government.

Do tidbits such as the above interest you, enough so that we should continue to post them? Or would you rather we hold and post other, more definitive things?

Old Love 說:

Although it doesnt matter, because Massachuettes [sic] Dems will change the rules anyway so that they dont lose the seat.

facebook page 說:

Yes, it can get worse. Check out history. How many times over the years has the oppression started so quietly, so for the people, the Country, and get to where Hitler and Mussolini became monsters, murderers of their own people. We can become those people. Look how the Hate is being manufactured by this Administration against Corporate America. Acorn and Teamsters show up at these peoples homes in a threatening manner. That could be you and me next.

Phoebe Frames 說:

I think it was been greatly balanced. Fair I mean.

Manuela Galer 說:

Thumbs up for that meaning yes. It gives the whole information.

Nos entreprise de serrurerie se révéler basée au centre de Paris , nos maître ouvrier serruriers restent à la charité les sociétés et par la même occasion certains singuliers .

uggs 說:

un grande abbraccio dalle montagne croate...sei sempre nei nostri pensieri..anche le pecore ti salutano....beeeeee

Hi! I can’t thank you sufficiently. I was working hard on a document for school and was wholly out of ideas. So I made the decision to waste some time reading several articles. Now I've got lots of thoughts because of your blog post, I don’t even know where to start. Thanks again!

Marco Booton 說:

Greetings presently there, simply turned aware of your websites through Bing, and located that it is genuinely interesting. I’m probably be wary of belgium's capital. I'm going to be pleased if you ever maintain this approach later on. A variety of people will often be benefited from an individual's composing. Regards!

Corrie Alawdi 說:

Hey great review I wonder if Twitter is going to pass this along I am going to cast at least one like for it

Anton Glawson 說:

Outstanding websites you've got right here but I used to be interested in once you realized of any communication boards that cover identical subjects mentioned right here? I would extremely absolutely adore for being a component of group wherever I could get thoughts from other experienced people that share the exact same fascination. Should you have any suggestions, remember to permit me know. Plenty of many thanks!

It’s not that I wish to identical your internet site, however i enjoy the fashion. Would you tell me which concept do you think you're using? Or even was the idea particularly developed?

Bev Ville 說:

Yes, i am glad that your asking us to know our opinion.

Its excellent since your other articles : D, regards for posting .

Tyler Tabb 說:

A great blog post makes you think and you've certainly given me a few tid bits to consider.

604 Republic coupon code:

I may really like to guest post against your blog

給我一點 tempo

About

這篇屁話是由 Alvin Wu 發表於 December 23, 2006 3:31 AM

上一篇是 阿星阿星接力接力

下一篇是 哦耶

首頁 可以找到最近的屁話,或是到 彙整 去看全部的屁話紀綠

Powered by Movable Type 4.34-en