{"id":87,"date":"2014-10-08T11:17:59","date_gmt":"2014-10-08T09:17:59","guid":{"rendered":"http:\/\/itso.dk\/?p=87"},"modified":"2014-12-26T01:51:43","modified_gmt":"2014-12-26T00:51:43","slug":"use-ssh-server-as-socks-proxy","status":"publish","type":"post","link":"https:\/\/blog.itso.dk\/?p=87","title":{"rendered":"Use SSH-server as Socks Proxy"},"content":{"rendered":"<p>It is fairly easy to use SSH-server as a secure proxy server, this means you can connect securely to email and other services on a unencrypted wifi network.<\/p>\n<p>Requirements:<br \/>\nA server with a internet facing SSH server, IE: testserver.com with SSH on port 22. On the server the port forwarding has to be enabled.<br \/>\nA client with internet access able to connect to SSH. An application like a webbrowser og IRC client to connect to proxy.<\/p>\n<p>Here I am connecting with my user: thor and running starting a localhost proxy which only I can access:<br \/>\nssh -D \u00a0localhost:1080 thor@testserver.com<\/p>\n<p>If I wanted, I could also make the proxy server accessable to other users, binding it to my local LAN IP, IE: 10.0.0.25<br \/>\nssh -D \u00a010.0.0.25:1080 thor@testserver.com<\/p>\n<p>I can now access my proxy server with the webbrowser to connect to either localhost or the local lan ip, \u00a0IE: localhost, 127.0.0.1, or 10.0.0.25<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It is fairly easy to use SSH-server as a secure proxy server, this means you can connect securely to email and other services on a unencrypted wifi network. Requirements: A server with a internet facing SSH server, IE: testserver.com with SSH on port 22. On the server the port forwarding has to be enabled. A &#8230;<\/p>\n<p><a href=\"https:\/\/blog.itso.dk\/?p=87\" class=\"more-link\">Continue reading &lsquo;Use SSH-server as Socks Proxy&rsquo; &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":158,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,1],"tags":[13,14,12],"class_list":["post-87","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux-tip","category-uncategorized","tag-proxy","tag-socks","tag-ssh"],"_links":{"self":[{"href":"https:\/\/blog.itso.dk\/index.php?rest_route=\/wp\/v2\/posts\/87","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.itso.dk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.itso.dk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.itso.dk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.itso.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=87"}],"version-history":[{"count":1,"href":"https:\/\/blog.itso.dk\/index.php?rest_route=\/wp\/v2\/posts\/87\/revisions"}],"predecessor-version":[{"id":88,"href":"https:\/\/blog.itso.dk\/index.php?rest_route=\/wp\/v2\/posts\/87\/revisions\/88"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.itso.dk\/index.php?rest_route=\/wp\/v2\/media\/158"}],"wp:attachment":[{"href":"https:\/\/blog.itso.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=87"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.itso.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=87"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.itso.dk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=87"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}