linux_wiki:network_services_overview_nfs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
linux_wiki:network_services_overview_nfs [2016/10/01 22:57]
billdozor [Host Based]
linux_wiki:network_services_overview_nfs [2016/10/01 23:18]
billdozor [Firewall]
Line 42: Line 42:
 Check Current Service Status Check Current Service Status
 <code bash> <code bash>
-systemctl status <service-name>+systemctl status nfs-server
 </code> </code>
   * Also displays if the service is enabled or disabled   * Also displays if the service is enabled or disabled
Line 49: Line 49:
 Enabling a service to start on boot Enabling a service to start on boot
 <code bash> <code bash>
-systemctl enable <service-name>+systemctl enable nfs-server
 </code> </code>
  
Line 58: Line 58:
 Enable and Start the service Enable and Start the service
 <code bash> <code bash>
-systemctl enable <service-name> +systemctl enable nfs-server 
-systemctl start <service-name>+systemctl start nfs-server
 </code> </code>
  
Line 68: Line 68:
 ===== Firewall ===== ===== Firewall =====
  
-Allow access through the firewall+Allow access through the firewall to the NFS service
 <code bash> <code bash>
 firewall-cmd --permanent --add-service=nfs firewall-cmd --permanent --add-service=nfs
 +firewall-cmd --reload
 +</code>
 +
 +\\
 +Allow access through the firewall to allow the showmount command from clients to work
 +<code bash>
 +firewall-cmd --permanent --add-service=rpc-bind
 +firewall-cmd --permanent --add-service=mountd
 firewall-cmd --reload firewall-cmd --reload
 </code> </code>
Line 85: Line 93:
   * Others refused   * Others refused
 ===== User Based ===== ===== User Based =====
 +
 +Default NFS security (sec=sys) is via IP addresses or hostname.
 +
 +[[linux_wiki:use_kerberos_to_control_access_to_nfs_network_shares|Kerberos can be used to provide user authentication to NFS services]].
  
 ---- ----
  
  • linux_wiki/network_services_overview_nfs.txt
  • Last modified: 2019/05/25 23:50
  • (external edit)