Solved

Linux firewall nfs probleme

Posted on 2014-11-12
4
136 Views
Last Modified: 2014-11-13
Hello
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 ....

TIA!
0
Comment
Question by:hexo dark
  • 2
  • 2
4 Comments
 
LVL 62

Accepted Solution

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

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
0
 
LVL 2

Author Closing Comment

by:hexo dark
ID: 40439344
nikel
0
 
LVL 62

Expert Comment

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

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

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. …
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …

821 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