Differences
This shows you the differences between two versions of the page.
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 | + | systemctl status |
</ | </ | ||
* 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 | + | systemctl enable |
</ | </ | ||
Line 58: | Line 58: | ||
Enable and Start the service | Enable and Start the service | ||
<code bash> | <code bash> | ||
- | systemctl enable | + | systemctl enable |
- | systemctl start <service-name> | + | systemctl start nfs-server |
</ | </ | ||
Line 68: | Line 68: | ||
===== Firewall ===== | ===== Firewall ===== | ||
- | Allow access through the firewall | + | Allow access through the firewall |
<code bash> | <code bash> | ||
firewall-cmd --permanent --add-service=nfs | firewall-cmd --permanent --add-service=nfs | ||
+ | firewall-cmd --reload | ||
+ | </ | ||
+ | |||
+ | \\ | ||
+ | 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 | ||
</ | </ | ||
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: | ||
---- | ---- | ||