hi, i am trying to tunnel SMB over the SSH tunnel. but it does not work for me :-( could you advice me please? my setup is: - laptop with windows xp connected somewhere to internet; - gateway-firewall (ubuntu with shorewall) with public and local network address; - windows server (with local network address); i enabled tcp connections in shorewall (firewall) from gateway to windows server on port 139. i did try to do all the steps that are described in documents like http://www.security-hacks.com/2007/05/18/tunneling-smb-over-ssh-secure-file-sharing i also did other option by trying to uninstall 'file and printer sharing for ms networks' and i try to connect to map \\localhost\folder_name directly and tunnel local port 139 to the windows server port 139. it all does not work. i get either 'no path' message or i am asked about the user and password while 'maping the network drive' but whatever user & password i provide the user/password window come back on and on. what can i try to make it work? please advice... best regards, Wojtek
I think, you have to enable the following UDP ports on your firewall to use Samba: - 137/udp - 138/udp Also, you have to use WINS or DNS to resolve computer names, if you need to. You don't have to enable any other ports to use WINS. DNS runs on ports 53/tcp and 53/udp. Enable these ports on your firewall, and try to connect to your share from the remote machine. This worked for me through a VPN connection, I hope it will work for you, too.