Linux firewall nfs probleme

Posted on 2014-11-12
Last Modified: 2014-11-13
my system Fedora 20

I do not know why but I deactivate my firewall and my server nfs works but impossible with the firewall to activate...
I nevertheless added ports to the firewall

firewall-cmd --add-port=2049/udp
firewall-cmd --add-port=2049/tcp
firewall-cmd --add-port=111/udp  
firewall-cmd --add-port=111/tcp

Open in new window

and not works ....

Question by:hexo dark
  • 2
  • 2
LVL 61

Accepted Solution

gheist earned 500 total points
ID: 40439309
You need another port (look with rpcinfo -p) for mountd

Author Comment

by:hexo dark
ID: 40439313
    100005    1   udp  20048  mountd
    100005    1   tcp  20048  mountd
    100005    2   udp  20048  mountd
    100005    2   tcp  20048  mountd
    100005    3   udp  20048  mountd
    100005    3   tcp  20048  mountd

Open in new window

it works the port is 20048 not 2049 ... lol tx men

Author Closing Comment

by:hexo dark
ID: 40439344
LVL 61

Expert Comment

ID: 40439371
/etc/(sysconfig|default)/nfs(d) contains ways to fix those ports.

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now