Difference between revisions of "Samba over SSH -- Opening Windows to UNIX safely and reliably"

From assela Pathirana
Jump to navigationJump to search
 
Line 1: Line 1:
[[wikipedia:Samba|Samba]] is a suite of programs that enables interoperability between Linux/Unix servers and Windows clients. See What Is Samba? for more. [[http://us1.samba.org/samba/]]. I use it to map some UNIX directories in a server at my workplace to several of my Windows desktops. Recently I had to put my server behind a firewall and close all the ports of communication except SSH (22). Now, Samba or any other windows  [[wikipedia:NetBIOS|NetBIOS]] communication (in plain language things like 'sharing' files and folders between windows computers.) needs port 139 to be open. My solution was to [[wikipedia:Tunneling protocol|tunnel]]
==Introduction==
[[wikipedia:Samba|Samba]] is a suite of programs that enables interoperability between Linux/Unix servers and Windows clients. See What Is Samba? for more. [http://us1.samba.org/samba/]. I use it to map some UNIX directories in a server at my workplace to several of my Windows desktops. Recently I had to put my server behind a firewall and close all the ports of communication except SSH (22). Now, Samba or any other windows  [[wikipedia:NetBIOS|NetBIOS]] communication (in plain language things like 'sharing' files and folders between windows computers.) needs port 139 to be open. My solution was to [[wikipedia:Tunneling protocol|tunnel]] NetBIOS (port 139) communication over SSH. This has added advantage of the entire communication between UNIX server and windows client being [[wikipedia:encryption|encrypted]].

Revision as of 18:02, 10 October 2007

Introduction

Samba is a suite of programs that enables interoperability between Linux/Unix servers and Windows clients. See What Is Samba? for more. [1]. I use it to map some UNIX directories in a server at my workplace to several of my Windows desktops. Recently I had to put my server behind a firewall and close all the ports of communication except SSH (22). Now, Samba or any other windows NetBIOS communication (in plain language things like 'sharing' files and folders between windows computers.) needs port 139 to be open. My solution was to tunnel NetBIOS (port 139) communication over SSH. This has added advantage of the entire communication between UNIX server and windows client being encrypted.