nfs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
nfs [2011/11/12 14:55] – [NFS Ports] k2patel | nfs [2020/08/10 02:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 22: | Line 22: | ||
Now change following settings.\\ | Now change following settings.\\ | ||
If any of the variable not exists please add as new line.\\ | If any of the variable not exists please add as new line.\\ | ||
+ | These disables legacy version and NFS v3 Support.\\ | ||
+ | As keeping NFSv3 Support lead you to open many port in firewall and might cause issue on permission.\\ | ||
<code bash | / | <code bash | / | ||
Line 34: | Line 36: | ||
<code bash | / | <code bash | / | ||
- | -A INPUT -m state --state NEW -m tcp -p tcp --dport 2049 -j ACCEPT | + | -A INPUT -s 192.168.1.4 |
- | -A INPUT -m state --state NEW -m tcp -p tcp --dport 111 -j ACCEPT | + | |
- | -A INPUT -m state --state NEW -m udp -p udp --dport 2049 -j ACCEPT | + | |
- | -A INPUT -m state --state NEW -m udp -p udp --dport 111 -j ACCEPT | + | |
- | -A INPUT -m state --state NEW -m tcp -p tcp --dport 59620 -j ACCEPT | + | |
- | -A INPUT -m state --state NEW -m tcp -p tcp --dport 59621 -j ACCEPT | + | |
- | -A INPUT -m state --state NEW -m tcp -p tcp --dport 59622 -j ACCEPT | + | |
- | -A INPUT -m state --state NEW -m udp -p udp --dport 59620 -j ACCEPT | + | |
- | -A INPUT -m state --state NEW -m udp -p udp --dport 59621 -j ACCEPT | + | |
- | -A INPUT -m state --state NEW -m udp -p udp --dport 59622 -j ACCEPT | + | |
</ | </ | ||
Line 55: | Line 48: | ||
* systemctl restart iptables.service | * systemctl restart iptables.service | ||
* systemctl restart nfs-idmap.service | * systemctl restart nfs-idmap.service | ||
- | * systemctl resteart nfs-lock.service | ||
* systemctl restart nfs-server.service | * systemctl restart nfs-server.service | ||
nfs.1321109723.txt.gz · Last modified: 2020/08/10 02:30 (external edit)