...
Panel | ||||
---|---|---|---|---|
| ||||
Option 1: Uninstall NFS server, NFS client, and Portmapper (RPCbind) Open a command-line terminal and then type the following command: $ sudo apt-get --purge remove nfs-kernel-server nfs-common rpcbind
Option 2: Portmap lockdown via TCP Wrapper **Note** Solaris system TCP Wrappers not are enabled by default. Open a command-line terminal and enter the following commands to enable rpcbind TCP Wrappers:
# svcadm refresh rpc/bind (Continue following the instructions below) For all other Linux systems: Open a command-line terminal and then type the following command: $ sudo nano /etc/hosts.allowAdd the following lines: rpcbind: 146.6.101.0/255.255.255.0 rpcbind: 10.157.26.0/255.255.255.128 rpcbind: 10.157.27.0/255.255.255.0 rpcbind: 10.157.31.0/255.255.255.128 rpcbind: 10.157.29.0/255.255.255.128 rpcbind: 10.157.29.128/255.255.255.128 rpcbind: 10.157.30.0/255.255.255.192 Save the changes made to the file. Type the following command: $ sudo nano /etc/hosts.deny Add the following lines: rpcbind: ALL Save the changes made to the file. |
...