我们已在ubuntu 18.04服务器上安装了samba4,但出现DNS错误
请找到/etc/resolv.conf文件
请找到/etc/samba/smb.conf
请帮助我解决问题
谢谢
答案 0 :(得分:0)
我认为您应该使用以下方法允许防火墙中的流量通过:
iptables -A INPUT -p tcp --dport 135 -j ACCEPT
iptables -A OUTPUT -p tcp --dport 135 -j ACCEPT
iptables -A INPUT -p udp --dport 135 -j ACCEPT
iptables -A OUTPUT -p udp --dport 135 -j ACCEPT
如果不添加
browseable = yes
您可能看不到共享文件