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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Creating a Samba server for a small office. Ubuntu Linux and Samba can breathe new life into a retired PC and save an office money on new hardware/software. Our example server will have two hard disks, one exclusively for storing shared data. …
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…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

746 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

11 Experts available now in Live!

Get 1:1 Help Now