2018 Sep. 02.
# apt install nfs-kernel-server
/etc/exports設定
/DIR 192.168.1.0/24(rw,sync,no_root_squash,no_subtree_check)
ファイアウォール設定
portmapper: 111/tcp, 111/udp
nfs: 2049/tcp, 2049/udp
# ufw allow proto tcp from 192.168.1.0/255.255.255.0 to any port 111
# ufw allow proto udp from 192.168.1.0/255.255.255.0 to any port 111
# ufw allow proto tcp from 192.168.1.0/255.255.255.0 to any port2049
# ufw allow proto udp from 192.168.1.0/255.255.255.0 to any port2049
# ufw reload
# apt install nfs-kernel-server
/etc/exports設定
/DIR 192.168.1.0/24(rw,sync,no_root_squash,no_subtree_check)
ファイアウォール設定
portmapper: 111/tcp, 111/udp
nfs: 2049/tcp, 2049/udp
# ufw allow proto tcp from 192.168.1.0/255.255.255.0 to any port 111
# ufw allow proto udp from 192.168.1.0/255.255.255.0 to any port 111
# ufw allow proto tcp from 192.168.1.0/255.255.255.0 to any port2049
# ufw allow proto udp from 192.168.1.0/255.255.255.0 to any port2049
# ufw reload
0 件のコメント:
コメントを投稿