Explore top 10 tips to secure your open-source projects now. Read More

×
Alerts This Week
Warning Icon 1 510
Alerts This Week
Warning Icon 1 510

Setting Up IPTABLES for NFS Service on Linux Operating Systems

General Esm H446
When setting up IPTABLES firewalling for Linux systems running the NFS service (network file system), you hit the problem that some of the TCP/IP and UDP ports used by components of the service are randomly generated as part of the "SunRPC" mechanism. . . When setting up IPTABLES firewalling for Linux systems running the NFS service (network file system), you hit the problem that some of the TCP/IP and UDP ports used by components of the service are randomly generated as part of the "SunRPC" mechanism.

This HOWTO document is part of the LinWiz tool kit, and describes how to set up NFS on your server in such a way that meaningful IPTABLES firewall rules can be applied to the system.

On a system that is up and running with the NFS service active, the ports used by the components of the service can be listed using the command "rpcinfo -p". The output will look something like this...

The link for this article located at Chris Lowth is no longer available.