小编0x8*_*00D的帖子

无法访问 samba 服务器

我无法连接到运行 CentOS 6.4(最小安装)的 samba 服务器,该服务器不在我的网络内。

当我尝试连接 Windows 7 客户端时,连接失败,并显示默认的“无法访问”对话框。

到目前为止我尝试过的:

  • 在我的 samba 服务器上打开端口 137、138、139、445
  • 使用 nmap(在 samba 服务器上)验证端口是否打开
  • 尝试从我的客户端远程登录上述端口,但连接也失败
  • 重新安装samba并重新配置服务
  • 暂时关闭 SELinux

iptables

# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
ACCEPT     icmp --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:ssh
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:http
ACCEPT     tcp  -- …
Run Code Online (Sandbox Code Playgroud)

linux centos samba

0
推荐指数
1
解决办法
1817
查看次数

标签 统计

centos ×1

linux ×1

samba ×1