nfs mount问题

weixin_38049216 weixin_38049216 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
请教各位一个问题: 服务器IP 192.168.1.5 客户端IP 192.168.1.11, 192.168.2.101(多张网卡),前提只允许使用192.168.1.11 由于安全性问题我在服务器/etc/exports写入的内容: /test/abc  192.168.1.11(no_subtree_check,rw,async) 然后执行 sudo exportfs -r 然后在客户端执行: sudo mount -t nfs -o rw,bg,hard,vers=3,nointr,timeo=600 192.168.1.5:/test/abc  /tmp/abc 出现错误:access denied bu server while mounting 192.168.1.5:/test/abc; 通过查看服务器/var/log/messages,内容提示: refused mount request from 192.168.2.101 for /test/abc (/test/abc): unmatched host 日志内容明显提示的IP是不允许的,但是mount options的有clientaddr选项,但是没有作用,请教一下各位怎么处理。
...全文
评论
收藏 已收藏
分享
返回顶部