일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- MYSQL
- 앱리소스
- 애플
- SSL
- appres
- apple
- FIDO2
- SSH
- kmip
- css
- OSX
- MSYS2
- Android
- MFA
- 2FA
- WebAuthn
- albumbook
- Xcode
- OTP
- otpkey
- SWIFT
- git
- 앱스토어
- Nodejs
- openssl
- SwiftUI
- fido
- 인증
- 앨범북
- 안드로이드
Archives
- Today
- Total
인디노트
Redhat 7 nfs 서버의 포트 고정 본문
8.7.3. Running NFS Behind a Firewall
NFS requires
rpcbind
, which dynamically assigns ports for RPC services and can cause problems for configuring firewall rules. To allow clients to access NFS shares behind a firewall, edit the /etc/sysconfig/nfs
file to set which ports the RPC services run on.The
/etc/sysconfig/nfs
file does not exist by default on all systems. If /etc/sysconfig/nfs
does not exist, create it and specify the following:- RPCMOUNTDOPTS="-p port"
- This adds "-p port" to the rpc.mount command line:
rpc.mount -p port
.
To specify the ports to be used by the
nlockmgr
service, set the port number for the nlm_tcpport
and nlm_udpport
options in the /etc/modprobe.d/lockd.conf
file.If NFS fails to start, check
/var/log/messages
. Commonly, NFS fails to start if you specify a port number that is already in use. After editing /etc/sysconfig/nfs
, you need to restart the nfs-config
service for the new values to take effect in Red Hat Enterprise Linux 7.2 and prior by running:# systemctl restart nfs-configThen, restart the NFS server:
# systemctl restart nfs-serverRun
rpcinfo -p
to confirm the changes have taken effect.반응형
'개발 플랫폼 및 언어' 카테고리의 다른 글
Mount NFS shares under Windows 7 (0) | 2018.04.25 |
---|---|
Redhat 7 NFS Server Port Iptables (0) | 2018.04.24 |
Redhat 7 에 epel-release-latest 7 설치 (0) | 2018.04.24 |
CentOS7 yum repo epel-release (0) | 2018.04.23 |
무료 DNS 서비스 모음 (Free DNS List) (0) | 2018.04.04 |
Comments