본문으로 바로가기

NFS port ranges

category OS/AIX 2019. 7. 15. 11:06

 

NFS 포트범위 설정을 통하여 접속포트를 관리할수 있다. 

 

 

The NFS_PORT_RANGE environment variable can be used to limit the source port of network calls the client makes to the server.

If used, this environment variable must be added to the /etc/environment file. The format of the environment variable is as follows: 

 

 NFS_PORT_RANGE=udp[4000-5000]:tcp[7000-8000]

 

In this example, UDP packets sent by the client have a source port in the range 4000 - 5000, and TCP connections have a source port in the range 7000 - 8000. To avoid port reuse problems, the port numbers that are specified in this range must not be used as fixed port numbers for any of the Network File System (NFS) daemons in the /etc/services file.

 

https://www.ibm.com/support/knowledgecenter/en/ssw_aix_71/com.ibm.aix.networkcomm/nfs_portranges.htm