Samba - Windows client cannot connect to Linux Server.
I'm having a problem connecting from a Windows client to my home Samba server.
Code:
> testparm /etc/samba/smb.conf My Router has the following ports forwarding to the Samba server: Code:
Port 135/TCP So since I'm able to connect to the remote server, and it prompts me for authentication, I would assume I'd be able to check the logs for this particular connection. But when I check the logs for this host they do not exist: Code:
root@dev:/var/log# ls -l /var/log/ | grep samba |
Is it valid to have a partial IP ("192.168.1.") in the hosts allow config?
|
Appears to be. As I said I can connect from home, and it works fine, using that subnet. As a matter of fact it was included in the default smb.cnf file.
The problem is with the connection from the external IP. |
Does you work firewall let the necessary ports access?
|
two issues
I think you should check two issues: external connectivity and sitting of the PC in your work.
1- check the connectivity from work to home. You may enable pinging (ICMP forwarding) in you router or use any other simple services such as apache (port 80). in apache, just add the routing record in your router and try to access it from your work, of course, after testing the apache in your home network. Do you have a firewall at work? Usually, YES. Do the connectivity (tcp ports 139, 445 …etc) to a share folder is allowed? Usually, NO. Is your work connectivity to the internet through proxy or routing? Usually, via proxy. In proxy case, you should check the restriction of the proxy! 2- are you using ms windows active directory in your work? if yes, there are a sitting in the active directory security policy which will prevent some type of connectivity (e.g. file sharing) between the your domain and other domain or even stand alone machine. if your are the admin in your work, i may guide you how to check this sitting. I highly suggest to try to access your samba from another network rather than your work like internet café. Usually, the PCs there are not part of a domain, there is no firewall, no proxy (routed connection). Hope that I did not confuse you :p. I will check your replay to proceed in solving your problem. Regards, |
Yeah I need to speak with my Network Operations team to see if they can open up those ports to our headquarters from my home IP. I've got an Apache Server running already on my home box everything is fine with that.
But fundamentally you guys are right the problem most likely lies with my work's network ACLs. Thanks for the input. |
Anytime, nathacof.
but please, inform me if the problem is solved... regards |
All times are GMT -5. The time now is 02:19 AM. |