桑巴-远程连接
我有一个 samba 服务器。可以毫无问题地从我的本地网络连接到它。
可以看到139和445端口都打开了。网站“speed-tester.info”还告诉我这些端口已打开。
但是当我扫描我的服务器时,nmap 没有显示这些端口!
在 smb.conf 中有这个字符串,所以 samba 应该监听外部接口:
interfaces = lo0 msk*
我尝试将“\\89.179.246.174\disk_1”添加到 Windows 7 中的网络,但失败了。
请帮忙。怎么了?
I have a samba-server. Can connect to it from my local network with no problem.
Can see that 139 and 445 port are opened. Site "speed-tester.info" also tells me that these ports are opened.
BUT when I scan my server nmap doesnt show me these ports!
have this string in smb.conf, so samba should listen external interface:
interfaces = lo0 msk*
I tried to add "\\89.179.246.174\disk_1" to my network in windows 7 but it failed.
Please help. What is wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我厌倦了尝试将我的 samba 共享远程连接到我的电脑。
所以我自己找到了另外两个解决方案:
pipitas,无论如何,谢谢!
I was tired trying to connect my samba shares to my pc remotely.
So I found for myself 2 other solutions:
pipitas, thanks anyway!
首先,您的行
interfaces = lo0 msk*
对我来说看起来不正确。我从未遇到过使用“msk*”约定命名其 NIC 设备的操作系统。其次,了解 smb.conf 中
interfaces = ...
语句的正确语法。这是我的总结:...
可能包含一个或多个网络接口名称...
可能包含一个或多个 IP 地址... 可以保存一个或多个主机名
...
可以保存一个或多个 IP 地址/网络掩码对...
可以保存一个或多个广播/网络掩码对。 ..
可能包含上述所有内容的混合物。更多详细信息可在
man smb.conf
中找到。假设 89.179.246.174 是您的 Samba 服务器的地址,则以下内容应满足您的要求:interfaces = lo0 89.170.246.174
First, your line
interfaces = lo0 msk*
does not look right to me. I've never come across an OS that names its NIC devices with a 'msk*' convention.Second, get aware of the correct syntax for the
interfaces = ...
statement in smb.conf. Here is my summary of it:...
may hold one or several network interface names...
may hold one or several IP addresses...
may hold one or several hostnames...
may hold one or several IPaddress/netmask pairs...
may hold one or several broadcast/netmask pairs...
may hold a mixture of all of the aboveMore details to be found in
man smb.conf
. Assuming that 89.179.246.174 is the address of your Samba server, the following should do what you want:interfaces = lo0 89.170.246.174