According to /etc/hosts.allow:
# Rpcbind is used for all RPC services; protect your NFS!
# Rpcbind should be running with -W option to support this.
So I added rpcbind_flags="-W" in /etc/rc.conf and restarted rpcbind(8).
I also added rpcbind : 192.168.0.0/255.255.0.0 : allow to /etc/hosts.allow.
After doing this, NFS exports promptly stopped working everywhere and I get the following errors:
Restoring everything to its previous state is failing (iow, removing rpcbind_flags).
What's going on?
FreeBSD luffy 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1
# Rpcbind is used for all RPC services; protect your NFS!
# Rpcbind should be running with -W option to support this.
So I added rpcbind_flags="-W" in /etc/rc.conf and restarted rpcbind(8).
I also added rpcbind : 192.168.0.0/255.255.0.0 : allow to /etc/hosts.allow.
After doing this, NFS exports promptly stopped working everywhere and I get the following errors:
Code:
root@luffy /etc# showmount -e localhost
RPC: Port mapper failure
showmount: can't do exports rpc
Code:
root@luffy /etc# rpcinfo -p localhost
rpcinfo: can't contact portmapper: RPC: Remote system error - Permission denied
Restoring everything to its previous state is failing (iow, removing rpcbind_flags).
What's going on?
FreeBSD luffy 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1