{"id":83,"date":"2014-08-11T19:30:54","date_gmt":"2014-08-11T19:30:54","guid":{"rendered":"http:\/\/zewwy.ca\/?p=83"},"modified":"2019-02-27T23:40:36","modified_gmt":"2019-02-28T05:40:36","slug":"windows-shares-over-ssh-tunnel","status":"publish","type":"post","link":"https:\/\/zewwy.ca\/index.php\/2014\/08\/11\/windows-shares-over-ssh-tunnel\/","title":{"rendered":"Windows Shares over SSH tunnel"},"content":{"rendered":"<p>I am the worst at writing blogs. I seldem get excited enough to write anything. But today&#8230;. TODAY! I feel like this is going to be a good blog.<\/p>\n<p>A fanastic blog&#8230; anyway, so I moved into a new place, but have my server still running at my old place I run a very lightwheight server from there.<br \/>\npssssst, it&#8217;s really just a router but perfect for hosting a network shares, torrents, web servers (<del>cough this page<\/del>), ssh and smb (<del>cough this as well<\/del>)<\/p>\n<p>If you haven&#8217;t heard about DDWRT, I&#8217;d suggest you check it out <a href=\"https:\/\/dd-wrt.com\/\">here<\/a><\/p>\n<p>Anyway, while i use SSH tunnel to manage this router via CLI, I can always tunnel its web management interface port, to my local machine and manage it that way too.<br \/>\nYes most changes does cause it do it a soft reboot and breaks the connnection, a simple reconnect after a couple minutes useally all it takes.<br \/>\nI figured I&#8217;d just forward the servers SMB port just like I do most of my other ports&#8230; to my dismay it didn&#8217;t work&#8230; so I decided to GOOGLE!<\/p>\n<p>As it turns out, there is more tweaking required to do this that I first thought, like disabling the SMB service at start-up, and using a loopback interface..<br \/>\nIf you have a Windows share server (SMB) at home and happened to have SSH for management also available, then check <a href=\"http:\/\/www.nikhef.nl\/~janjust\/CifsOverSSH\/Win7Loopback.html\">this link<\/a> out!<\/p>\n<p>Bye for now&#8230;.<\/p>\n<p><em><strong>Jan 2018 Update<\/strong><\/em><\/p>\n<p>These are always neat tricks to keep in the back of your head, even if your playing around just for fun. I wouldn&#8217;t see the real world use for this type of hack today as everything is pretty much OpenVPN or some other VPN solution. Still love my SSH though.<\/p>\n<p>Lucky the link is still active otherwise this post would be as useless as tits on a bull.<\/p>\n<p><em><strong>Feb 2019 Update<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/www.nikhef.nl\/en\/\">Mind Blow<\/a><\/p>\n<p>This is a blog post from someone at the Dutch National Institute for Subatomic Physics&#8230; dude, that&#8217;s awesome!!!!!!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am the worst at writing blogs. I seldem get excited enough to write anything. But today&#8230;. TODAY! I feel like this is going to be a good blog. A fanastic blog&#8230; anyway, so I moved into a new place, but have my server still running at my old place I run a very lightwheight &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/zewwy.ca\/index.php\/2014\/08\/11\/windows-shares-over-ssh-tunnel\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Windows Shares over SSH tunnel&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"sfsi_plus_gutenberg_text_before_share":"","sfsi_plus_gutenberg_show_text_before_share":"","sfsi_plus_gutenberg_icon_type":"","sfsi_plus_gutenberg_icon_alignemt":"","sfsi_plus_gutenburg_max_per_row":"","footnotes":""},"categories":[6,8],"tags":[],"class_list":["post-83","post","type-post","status-publish","format-standard","hentry","category-networking","category-server-administration"],"_links":{"self":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/83","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/comments?post=83"}],"version-history":[{"count":4,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/83\/revisions"}],"predecessor-version":[{"id":568,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/83\/revisions\/568"}],"wp:attachment":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/media?parent=83"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/categories?post=83"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/tags?post=83"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}