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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 62

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 62

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

In order for businesses to be compliant with certain information security laws in some countries, you need to be able to prove that a user (which user it was becomes important to the business to take action against the user after an event has occurr…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

691 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