美文网首页
【NFS】NFS 安全加固

【NFS】NFS 安全加固

作者: Bogon | 来源:发表于2022-04-16 07:04 被阅读0次

nfs 服务器角色

nfsServer   10.1.2.40
nfsClient   10.1.2.41

nfs服务端

# cat /etc/exports

/opt/test01      10.1.2.40(rw) 10.1.2.41(rw) 
/opt/test02      10.1.2.40(rw) 10.1.2.41(rw) 


# cat /etc/hosts.allow

# NFS
portmap: 10.1.2.40, 10.1.2.41
lockd: 10.1.2.40, 10.1.2.41
rquotad: 10.1.2.40, 10.1.2.41
mountd: 10.1.2.40, 10.1.2.41
statd: 10.1.2.40, 10.1.2.41

# cat /etc/hosts.deny

# NFS
portmap:ALL
lockd:ALL
mountd:ALL
rquotad:ALL
statd:ALL

# exportfs  -avr 

nfs 客户端

# yum -y install nfs-utils  rpcbind 
# showmount  -e  10.1.2.40

其他机器

# showmount  -e 10.1.2.40

rpc mount export: RPC: Authentication error; why = Failed (unspecified error)


参考

NFS 安全加固
Network File Systems: NFS and /etc/exports
http://litux.nl/Reference/books/7213/ddu0272.html

Network File Systems: NFS and /etc/exports
http://litux.nl/Reference/books/7213/ddu0272.html

NFS 服务安全加固
https://help.aliyun.com/document_detail/51143.html

欧拉服务器操作系统/保障NFS安全
https://support.huawei.com/enterprise/zh/doc/EDOC1000099507/409ecd53
https://support.huawei.com/enterprise/zh/doc/EDOC1000099507/cb53c88c

Linux NFS-HOWTO
http://nfs.sourceforge.net/nfs-howto/

How to configure secure Kerberized NFS Server ( RHEL / CentOS 7)
https://www.golinuxcloud.com/configure-secure-kerberized-nfs-share-linux

10 practical examples to export NFS shares in Linux
https://www.golinuxcloud.com/nfs-exports-options-examples

Beginners guide to mount NFS share in Linux with examples
https://www.golinuxcloud.com/linux-mount-nfs

Network File System
https://www.oxxus.net/wiki/Network_File_System

相关文章

网友评论

      本文标题:【NFS】NFS 安全加固

      本文链接:https://www.haomeiwen.com/subject/kcobsrtx.html