February 17, 2006

SSH TCP FORWARDING

有些公司或機關會試著用一些防火牆和監控設備,來對公司內部同仁上網作加以控管。最常見的例子就是對 IM (MSN/Yahoo!)等作記錄或限制。如果防火牆有開放 ssh 連線,或是沒有對 HTTP Protocol 作查核,那就可以試著用 ssh 的 tcp-forwarding 來建立加密連線(secure tunnel)。

(公司外部 Server: proxy.nosuchserver.org)
1. 先架好 Proxy,例如可以 bind 在 3128 Port.
2. 設好 Firewall 規則,只開放 localhost 連線:
iptables -A INPUT -p tcp -s ! 127.0.0.1 --dport 3128 -j DROP
3. 加個帳號叫 tunnel

(公司內部 Linux: 192.168.1.10)
1. 用 ssh 登入 proxy.nosuchserver.org
ssh -L 8080:127.0.0.1:3128 tunnel@proxy.nosuchserver.org
2. 此時可以將 MSN 或 WWW-Browser 的 proxy 設定指向 127.0.0.1:8080
3. 利用此 tunnel 即可對外加密連線

如果你想讓公司內其它同事共享此 proxy,則可以利用新版 ssh 的功能:

ssh -L 192.168.1.10:8080:127.0.0.1:3128 tunnel@proxy.nosuchserver.org

那麼大夥通通把 proxy 設定指向 192.168.1.10:8080 即可。

如果對外沒開放 port 22,那就只好試著讓 Server 上的 sshd 聽 port 80 或其它開放的 port 囉。

由 發表於 February 17, 2006 07:48 PM
迴響

http://hagen.milan.jp/ http://hroft.milan.jp/ http://hedin.milan.jp/ http://hervard.milan.jp/ http://rakot.milan.jp/ http://merlin.milan.jp/ http://hagen.milan.jp/ http://hroft.milan.jp/ http://hedin.milan.jp/ http://hervard.milan.jp/ http://rakot.milan.jp/ http://merlin.milan.jp/

Posted by: hagen 發表於 July 27, 2006 10:48 AM

csLook this http://creamonpussy.donnatos.net/just-fucked-pussy-cum-filled-pussy.html
dog creampies
free full length creampie videos
http://creamonpussy.donnatos.net/mf-creampie-eating.html
http://creamonpussy.donnatos.net/banana-cream-pie-2.html
anime cream pie
http://creamonpussy.donnatos.net/creampie-clips-video.html
sexual cream pies free pictures
http://creamonpussy.donnatos.net/creampie-eat-wife-after-sex.html
http://creamonpussy.donnatos.net/men-eating-cum-filled-pussy.html

Posted by: juju 發表於 October 6, 2006 02:14 PM

csHello. I am new here. It is very interesting. amateur chubby sex|http://amateurpics.takegirls.com/amateur-chubby-sex.html
adult amateur pictures|http://amateurpics.takegirls.com/adult-amateur-pictures.html
amateur orgasm porn video|http://amateurpics.takegirls.com/amateur-orgasm-porn-video.html
asian amateur models|http://amateurpics.takegirls.com/asian-amateur-models.html
amatuer wife photographs|http://amateurpics.takegirls.com/amatuer-wife-photographs.html
amatuer fiction|http://amateurpics.takegirls.com/amatuer-fiction.html
amateur nude wives|http://amateurpics.takegirls.com/amateur-nud3-wives.html
angel wife lovers amatuer pics and wifelover movies|http://amateurpics.takegirls.com/angel-wife-lovers-amatuer-pics-and-wifelover-movies.html
british amatuer nude wife photo web sites|http://amateurpics.takegirls.com/british-amatuer-nude-wife-photo-web-sites.html
amatuer teen blog|http://amateurpics.takegirls.com/amatuer-teen-blog.html

Posted by: mary 發表於 October 6, 2006 10:11 PM

csIt is there - http://onewomzoo.uppar.org/horse-sex-trailers.html
http://onewomzoo.uppar.org/dog-sex-1.html
bestiality thumbs
http://onewomzoo.uppar.org/beastiality-male.html
http://onewomzoo.uppar.org/forced-dog-sex.html
http://onewomzoo.uppar.org/girl-having-sex-with-animal.html
beastiality websites
horse beastiality movies
http://onewomzoo.uppar.org/dog-bestiality-cartoons.html
http://onewomzoo.uppar.org/free-bestiality-mpegs-samples.html

Posted by: irgy 發表於 October 7, 2006 06:01 PM

csHi. May be this is BAD, but is something different: miniskirt pantyhose
http://antyhose.uplyn.net/panty-upskirt.html
http://antyhose.uplyn.net/pantyhose-forums.html
http://antyhose.uplyn.net/free-sex-galleries-porn.html
stockings fetish
catfight in pantyhose
pantyhose pee
xxx stockings
pantyhose lovers
free porn picture galleries

Posted by: jon 發表於 October 9, 2006 04:58 PM

csHello. I am new here. It is very interesting. http://fet.uppar.org/exotic-panties.html
http://fet.uppar.org/panty-scat.html
http://fet.uppar.org/cum-on-stockings.html
http://fet.uppar.org/panty-drawer.html
pissing in panty
wet pantys
girls wearing no panties
celebrity panties
http://fet.uppar.org/upskirt-panty-shots.html
http://fet.uppar.org/

Posted by: boris 發表於 October 11, 2006 11:08 AM

csHi. May be this is BAD, but is something different: kids panties|http://usedpanties.madloads.com/kids-panties.html
pussy panties|http://usedpanties.madloads.com/pussy-panties.html
granny pantyhose|http://usedpanties.madloads.com/granny-pantyhose.html
panties teen|http://usedpanties.madloads.com/panties-teen.html
girls in fishnet stockings girls in fishnets|http://usedpanties.madloads.com/girls-in-fishnet-stockings-girls-in-fishnets.html
panty model|http://usedpanties.madloads.com/panty-model.html
girls wearing panties|http://usedpanties.madloads.com/girls-wearing-panties.html
panties pulled down|http://usedpanties.madloads.com/panties-pulled-down.html
cummy pantyhose|http://usedpanties.madloads.com/cummy-pantyhose.html
pantyhose teens|http://usedpanties.madloads.com/pantyhose-teens.html

Posted by: den 發表於 October 15, 2006 12:03 PM
發表迴響









記住我的資訊?