This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
it:uloziste:nfs [2021/03/24 16:54] matt |
it:uloziste:nfs [2021/03/25 12:32] (current) matt |
||
---|---|---|---|
Line 39: | Line 39: | ||
Centos | Centos | ||
- | <code>vim /etc/sysconfig/nfs</code> | + | <code>vim /etc/sysconfig/nfs |
LOCKD_TCPPORT=32803 | LOCKD_TCPPORT=32803 | ||
LOCKD_UDPPORT=32769 | LOCKD_UDPPORT=32769 | ||
Line 73: | Line 73: | ||
-A INPUT -p udp -m state --state NEW -m udp --dport 662 -j ACCEPT | -A INPUT -p udp -m state --state NEW -m udp --dport 662 -j ACCEPT | ||
</code> | </code> | ||
+ | |||
+ | Debian | ||
+ | <code> | ||
+ | -A INPUT -p tcp -m state --state NEW -m tcp --dport 2049 -j ACCEPT | ||
+ | -A INPUT -p udp -m state --state NEW -m udp --dport 2049 -j ACCEPT | ||
+ | -A INPUT -p tcp -m state --state NEW -m tcp --dport 111 -j ACCEPT | ||
+ | -A INPUT -p udp -m state --state NEW -m udp --dport 111 -j ACCEPT | ||
+ | -A INPUT -p tcp -m state --state NEW -m tcp --dport 32764:32769 -j ACCEPT | ||
+ | -A INPUT -p udp -m state --state NEW -m udp --dport 32764:32769 -j ACCEPT | ||
+ | </code> | ||
+ | |||
+ | |||