Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Samba server say at ""

I'm fairly new to Samba as I usually use SFTP for file transfers but I wanted something more Windows Native.

I used the samba config from but changing the directory and the share name.

I'm trying to map the network drive. I try using // but with no avail.

What I'm asking is how to setup the server (or client) so that I can connect to it remotely.

Edit: For some clarification I'm trying to access it remotely. over the internets.

share|improve this question
You kind of have to describe the problem. Just saying it didn't work isn't very helpful. Are you trying to access a Samba server over a WAN? If so, that's a terrible idea. The SMB protocol is only designed for file sharing over a LAN. (It can be used over a VPN, though performance tends to be awful.) – David Schwartz Dec 31 '12 at 8:43
edited the question. – Quinton M. Dec 31 '12 at 8:48
Windows uses backslashes in UNC paths. – Ignacio Vazquez-Abrams Dec 31 '12 at 9:15
Note that many ISPs block the Windows file sharing ports, so you're likely to have problems trying to do it that way. – Cry Havok Dec 31 '12 at 10:43
@qmarchi: Just don't do that. It's the wrong tool for the job. Samba is a LAN thing, not a WAN thing. If you have no choice, you can get it to work over a VPN, but performance will be terrible. Whatever your outer problem is, there are better solutions. – David Schwartz Dec 31 '12 at 18:44
up vote 0 down vote accepted

As @David noted this is not simple to use samba from wan. In local net deamon swat provides the tools to confugure samba server over http://localhost:901 but this is not directly accessible as wan web host. You rather look for webdav WebDav DavenPort or ssh with portforwarding use. Found similiar question on ServerFault

share|improve this answer

Using Samba/Windows file sharing over public networks is very insecure and inefficient. Don't do that.

If you want something more "windows native" - just use ftp support built in every Windows operating system. It's called "network locations".

Tutorial is here: Work with files on an FTP site (

On server side - you can use Microsoft IIS FTP server which is built in Windows (XP, 7, 8).

Tutorial is here: Set Up FTP in IIS 7 (

You can go even further and use free FtpUSE tool. It is not built in windows, but allows you to map ftp locations like windows network drives and after you configure it - you see your ftp like disk. It may be helpful for scripting.

share|improve this answer

Setup Tinc VPN on both the machine and watch magic happend

Tinc will create a virtual private network over wan (the internet) and if you have a fast outbound bandwidth it will stream video/audio just fine, i have tried it a few times and it plays pretty reliably inside tinc tunnel (windows share)

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .