Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
$ vi /etc/modprobe.d/options.conf
...
options lockd nlm_udpport=4001 nlm_tcpport=4001

...

  • 서버 재시작

방화벽 설정

  • 고정한 Port에 대한 방화벽 오픈

Code Block
languagebash
$ firewall-cmd --zone=public --permanent --add-port=111/tcp
$ firewall-cmd --zone=public --permanent --add-port=111/udp
$ firewall-cmd --zone=public --permanent --add-port=2049/tcp
$ firewall-cmd --zone=public --permanent --add-port=2049/udp
$ firewall-cmd --zone=public --permanent --add-port=4000/tcp
$ firewall-cmd --zone=public --permanent --add-port=4001/tcp
$ firewall-cmd --zone=public --permanent --add-port=4002/tcp
$ firewall-cmd --zone=public --permanent --add-port=4002/udp
$ firewall-cmd --zone=public --permanent --add-port=4001/udp
$ firewall-cmd --zone=public --permanent --add-port=4000/udp
$ firewall-cmd --reload