Июн 052011
 

На сервере

rc.conf
rpcbind_enable=»YES»
nfs_server_enable=»YES»
nfs_server_flags=»-u -t -n 4″
mountd_enable=»YES»
mountd_flags=»-r -p 3333″
ipfw правила
net=»10.7.20.0/24″
ip=»10.7.20.253″
$cmd 00730 pass tcp from ${net} to ${ip} nfsd in setup
$cmd 00731 pass udp from ${net} to ${ip} nfsd in keep-state
$cmd 00732 pass tcp from ${net} to ${ip} sunrpc in setup
$cmd 00733 pass udp from ${net} to ${ip} sunrpc in keep-state
$cmd 00734 pass tcp from ${net} to ${ip} 3333 in setup
$cmd 00735 pass udp from ${net} to ${ip} 3333 in keep-state

На клиенте

rc.conf
nfs_client_enable=»YES»
ipfw правила
ip=»10.7.20.210″
ipnfs=»10.7.20.253″
# NFS
$cmd 00730 pass tcp from $ip to ${ipnfs} nfsd out setup
$cmd 00731 pass udp from $ip to ${ipnfs} nfsd out keep-state
$cmd 00732 pass tcp from $ip to ${ipnfs} sunrpc out setup
$cmd 00733 pass udp from $ip to ${ipnfs} sunrpc out keep-state
$cmd 00734 pass tcp from $ip to ${ipnfs} 3333 out setup
$cmd 00735 pass udp from $ip to ${ipnfs} 3333 out keep-state

 Leave a Reply

(required)

(required)

36 Запросов к базе. 0,406 Генерации страницы, 36MB Использование памяти.
Вы зашли с IP: 54.225.16.10