{"id":22,"date":"2011-05-21T05:01:24","date_gmt":"2011-05-20T21:01:24","guid":{"rendered":"http:\/\/lihua.me\/weblog\/?p=22"},"modified":"2014-11-09T22:12:28","modified_gmt":"2014-11-09T14:12:28","slug":"shared-ssh-tunnel-proxy-with-other-pc","status":"publish","type":"post","link":"https:\/\/lihua.me\/weblog\/shared-ssh-tunnel-proxy-with-other-pc\/","title":{"rendered":"Shared ssh tunnel proxy with other PC"},"content":{"rendered":"<p>My former company uses Google Apps as their mail. The situation become terrible in China,\u00a0 and Google Apps mail \/ Gmail become not stable and hard to access. The network administrator ask me for my consultation.<\/p>\n<p>We can connect server A in the company to some server outside China via SSH Tunnel, and the PCs can use server A as proxy.<\/p>\n<p>Firstly, we should install Tunnel apps on server A. I recommend Bitvise Tunnelier. After the installation, fill in the SSH account information, generate the .tlp and .md5 files.<\/p>\n<p>Secondly, register Bitvise Tunnelier as the Windows system services using <a href=\"http:\/\/iain.cx\/src\/nssm\/\">NSSM<\/a>.<\/p>\n<p>Key point: <code>nssm install Tunnelied \"X:\\XXX\\Tunnelier.exe\" -loginOnStartup -profile=\"X:\\XXX\\X.tlp\" -hostKeyFile=\"X:\\XXX\\X.md5\"<\/code><\/p>\n<p>Then, making the PAC file, including the websites we can to browser via the proxy. And Base 64 would be better. Then let they know the address of the PAC file, fill the PAC file address in the browser proxy setting.<\/p>\n<p>detail, mail(at)lihua.me<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My former company uses Google Apps as their mail. The situation become terrible in China,\u00a0 and Google Apps mail \/ Gmail become not stable and hard to access. The network administrator ask me for my consultation. We can connect server A in the company to some server outside China via SSH Tunnel, and the PCs [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":1,"footnotes":""},"categories":[5],"tags":[],"class_list":["post-22","post","type-post","status-publish","format-standard","hentry","category-software-internet"],"_links":{"self":[{"href":"https:\/\/lihua.me\/weblog\/wp-json\/wp\/v2\/posts\/22","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lihua.me\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lihua.me\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lihua.me\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lihua.me\/weblog\/wp-json\/wp\/v2\/comments?post=22"}],"version-history":[{"count":0,"href":"https:\/\/lihua.me\/weblog\/wp-json\/wp\/v2\/posts\/22\/revisions"}],"wp:attachment":[{"href":"https:\/\/lihua.me\/weblog\/wp-json\/wp\/v2\/media?parent=22"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lihua.me\/weblog\/wp-json\/wp\/v2\/categories?post=22"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lihua.me\/weblog\/wp-json\/wp\/v2\/tags?post=22"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}