{"id":718,"date":"2013-01-29T14:11:00","date_gmt":"2013-01-29T14:11:00","guid":{"rendered":"http:\/\/blogs.silicontechnix.com\/?p=718"},"modified":"2013-01-29T14:11:00","modified_gmt":"2013-01-29T14:11:00","slug":"secure-browsing-how-to-use-ssh-encrypted-tunnel-for-browsing","status":"publish","type":"post","link":"https:\/\/blogs.silicontechnix.com\/?p=718","title":{"rendered":"Secure browsing, How to use SSH (encrypted tunnel) for browsing"},"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 some public place but need to login securely to your work place.<\/li>\n<li>When local access restrictions make life really difficult.<\/li>\n<\/ol>\n<p>I use SSH for the security reasons. I want to make sure that my security and login information will remain secure:<\/p>\n<pre class=\"brush:bash\">ssh -D 12345 myuser@remote_ssh_server<\/pre>\n<p>Replace myuser with your user account and remote_ssh_server with the IP or Hostname of your server.<\/p>\n<p>The above command will do all, but if you want to add more options, you can add other options like:-<\/p>\n<pre class=\"brush:java\">\r\n-D 12345: This does the dynamic stuff and makes it behave as a SOCKS server.\r\n-f : This will fork the process into the background after you type your password (for Linux only, on windows skip that).\r\n-C : Turns on compression.\r\n-q : Quiet mode. Since this is just a tunnel we can make it quiet (for Linux only, on windows skip that).\r\n-N : Tells it no commands will be sent. (the -f will complain if we don\u2019t specify this)\r\n<\/pre>\n<p>Next, set up your browser to use the proxy server. Most browsers include proxy support. For Firefox, go to Edit\u2192Preferences\u2192Advanced\u2192Network\u2192Settings, and specify that you want to use a Manual Proxy, localhost, port <strong>12345<\/strong> and SOCKS v5 (although OpenSSH supports both versions 4 and 5).<\/p>\n<p>HTTP Proxy (The first input). Must be left blank and add this config to SOCKS only.<\/p>\n<p>Now your browser is using a secure tunnel to your remote SSH server, 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 some public place but need to login securely to your work place. When local access restrictions make life really difficult. I use SSH for the security reasons. I want to make sure that my security and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_s2mail":"no","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[164,17,95,127],"tags":[19,320,480,323,322,170,321],"class_list":["post-718","post","type-post","status-publish","format-standard","hentry","category-internet","category-security","category-system-administration","category-tips","tag-linux","tag-secure-browsing","tag-security","tag-sock5","tag-socks","tag-ssh","tag-tunnel"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p12j6H-bA","_links":{"self":[{"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=\/wp\/v2\/posts\/718","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=718"}],"version-history":[{"count":4,"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=\/wp\/v2\/posts\/718\/revisions"}],"predecessor-version":[{"id":722,"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=\/wp\/v2\/posts\/718\/revisions\/722"}],"wp:attachment":[{"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=718"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=718"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=718"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}