Score:0

How to allow NFS through firewall?

nl flag

I allowed ports 2049 and 111 but can't understand why NFS traffic still not allowed. I opened ports 46779, 52575 and 40901 and nfs was permited, however when box rebooted the ports changed and I have to allow nfs through new ports. Can I allow rpc.mountd through UFW? Thanks!

tcp        0      0 0.0.0.0:46779           0.0.0.0:*               LISTEN      5965/rpc.mountd     
tcp        0      0 0.0.0.0:52575           0.0.0.0:*               LISTEN      5965/rpc.mountd     
tcp        0      0 0.0.0.0:40901           0.0.0.0:*               LISTEN      5965/rpc.mountd     
tcp6       0      0 :::34605                :::*                    LISTEN      5965/rpc.mountd     
tcp6       0      0 :::33873                :::*                    LISTEN      5965/rpc.mountd     
tcp6       0      0 :::55989                :::*                    LISTEN      5965/rpc.mountd

tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      1/init              
tcp6       0      0 :::111                  :::*                    LISTEN      1/init 
  
tcp        0      0 0.0.0.0:2049            0.0.0.0:*               LISTEN      -                   
tcp6       0      0 :::2049                 :::*                    LISTEN      -  
lu flag
is this going over a safe network or an unsafe network? for the former, why not just allow every port? for the latter, i suggest an encrypted tunnel like OpenVPN and route everything but the tunnel itself through the tunnel.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.