NFS and UFW in Ubuntu Linux

If you have UFW in your NFS server, bind a port to the NFS server:

edit /etc/default/nfs-kernel-server

RPCMOUNTDOPTS=”-p 33333″

Allow these ports:
ufw allow from IP_CLIENT to IP_SERVER port 111
ufw allow from IP_CLIENT to IP_SERVER port 2049
ufw allow from IP_CLIENT to IP_SERVER port 4002
ufw allow from IP_CLIENT to IP_SERVER port 33333

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s