{"id":114,"date":"2009-03-19T14:20:05","date_gmt":"2009-03-19T19:20:05","guid":{"rendered":"http:\/\/www.1oc.com\/blog\/?p=114"},"modified":"2011-07-14T22:06:09","modified_gmt":"2011-07-15T02:06:09","slug":"use-ssh-as-a-proxy-server","status":"publish","type":"post","link":"http:\/\/blog.1oc.com\/?p=114","title":{"rendered":"Use ssh as a proxy server"},"content":{"rendered":"<p>Using ssh as a proxy or encrypted tunnel to browse the web can sometimes be necessary:<\/p>\n<ol>\n<li>When you\u2019re at a conference but need to login securely to your blog.<\/li>\n<li>When local access restrictions make life really difficult.<\/li>\n<li>If you have a server in another country and want to see what Google Adsense adverts people see in that country.<\/li>\n<\/ol>\n<p><em>ssh -D 8181 -Nf \u00a0example.com<\/em><\/p>\n<p><em>ssh -D 8181 -Nf \u00a0yourlogin@example.com<br \/>\n<\/em><\/p>\n<p>Where example.com is the name of the site you are connecting to (ssh) and 8181 is the port you&#8217;ll use in your\u00a0browser.<\/p>\n<p>You&#8217;ll use the first option if you have set up your\u00a0<a href=\"http:\/\/blog.1oc.com\/?p=75\">connection\u00a0without password<\/a>,\u00a0otherwise\u00a0use the second option<\/p>\n<p>Then configure your browser to user Proxy at: localhost:8181 (or 127.0.0.0:8181)<\/p>\n<p>Here&#8217;s an example of how to configure the proxy on Mac<\/p>\n<p><a href=\"http:\/\/blog.1oc.com\/?attachment_id=117\" rel=\"attachment wp-att-117\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-117\" title=\"Mac's Proxy setup\" src=\"http:\/\/blog.1oc.com\/wp-content\/uploads\/2009\/03\/picture-10-150x150.png\" alt=\"Mac's Proxy setup\" width=\"150\" height=\"150\" \/><\/a><\/p>\n<p>Enjoy.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Using ssh as a proxy or encrypted tunnel to browse the web can sometimes be necessary: When you\u2019re at a conference but need to login securely to your blog. When local access restrictions make life really difficult. If you have &hellip; <a href=\"http:\/\/blog.1oc.com\/?p=114\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,8,9],"tags":[],"class_list":["post-114","post","type-post","status-publish","format-standard","hentry","category-mac-server","category-servers","category-unix"],"_links":{"self":[{"href":"http:\/\/blog.1oc.com\/index.php?rest_route=\/wp\/v2\/posts\/114","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.1oc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.1oc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.1oc.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.1oc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=114"}],"version-history":[{"count":2,"href":"http:\/\/blog.1oc.com\/index.php?rest_route=\/wp\/v2\/posts\/114\/revisions"}],"predecessor-version":[{"id":392,"href":"http:\/\/blog.1oc.com\/index.php?rest_route=\/wp\/v2\/posts\/114\/revisions\/392"}],"wp:attachment":[{"href":"http:\/\/blog.1oc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=114"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.1oc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=114"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.1oc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}