Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am running Slack 10.0 and have set everything up the way I wanted with much ease. Although when I implemented the iptables firewall, NFS gave me some problems due to portmapper using random assigned ports. I used fwbuilder on another machine to build and install the iptables script and I now need to know how get NFS to work with iptables. As it is now, TCP/UDP ports 2049 and 111 are open for NFS, they are for nfsd and sunrpc (or portmapd). I have read about assigning ports for statd, lockd, and mountd but do not know if this is the best and only way. If this is the only way o get things working, then I need to learn where and how to point them, mainly lockd (nfslockmgr in rpcinfo) to use a set port.
Do you have specific hosts that would be accessing the NFS shares, and are they on your same LAN? If so, I would just permit any traffic from those hosts. If this isn't a secured network or the hosts coming in via NFS aren't secured, you mght be better off looking into SSH, SCP, SFTP, etc.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.